Skip to content

Commit 774d605

Browse files
authored
Merge pull request #3220 from OctopusDeploy/luke/polling-connection-count-troubleshooting
Add polling connection count troubleshooting section
2 parents 1d99283 + fb120c1 commit 774d605

1 file changed

Lines changed: 36 additions & 2 deletions

File tree

src/pages/docs/infrastructure/deployment-targets/tentacle/troubleshooting/troubleshooting-polling.mdx

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Octopus Cloud instances have HSTS enabled so it will be impossible to bypass the
3737
The page shown should look like the one below.
3838

3939
:::figure
40-
![](/docs/img/infrastructure/deployment-targets/tentacle/images/3277906.png)
40+
![Octopus Server configured successfully page](/docs/img/infrastructure/deployment-targets/tentacle/images/3277906.png)
4141
:::
4242

4343
If you've made it this far, good news! Your Octopus Server is running and ready to accept inbound connections from Polling Tentacles.
@@ -103,7 +103,41 @@ If the command help is not displayed immediately (< 1s) you may need to consider
103103
To do this open **Control Panel ➜ Internet Options ➜ Advanced**, and uncheck the *Check for publisher's certificate revocation* option as shown below.
104104

105105
:::figure
106-
![](/docs/img/infrastructure/deployment-targets/tentacle/images/5865771.png)
106+
![uncheck of the Check for publisher’s certificate revocation control panel option](/docs/img/infrastructure/deployment-targets/tentacle/images/5865771.png)
107107
:::
108108

109+
## Requests timing out during Deployments/Runbooks while the Tentacle is online
110+
111+
If a Polling Tentacle is online but you occasionally see timeout errors during concurrent deployments or runbooks, the Tentacle may be hitting its connection limit.
112+
113+
**The Error:**
114+
115+
```text
116+
A request was sent to a polling endpoint, but the polling endpoint did not collect the request within the allowed time (00:02:00), so the request timed out.
117+
```
118+
119+
**The Cause:**
120+
121+
This issue occurs when a Polling Tentacle cannot process requests quickly enough, even if the host CPU and RAM utilization are low. By default, Polling Tentacle Deployment Targets are configured with a polling connection count of `1`.
122+
123+
While newly configured Polling Workers automatically scale to `max(5, Tentacle Core Count)`, previously configured Tentacles and standard Deployment Targets default to `1` and only process one request at a time.
124+
125+
**The Solution:**
126+
127+
Increase the polling connection count to allow concurrent request processing. The recommended value for targets and workers is `max(5, Tentacle Core Count)`.
128+
129+
Set it from the Tentacle command line:
130+
131+
```bash
132+
Tentacle set-polling-connection-count --instance=MyInstance --pollingConnectionCount=5
133+
```
134+
135+
Or set it directly in the Tentacle configuration file:
136+
137+
```xml
138+
<set key="Tentacle.Communication.PollingConnectionCount">5</set>
139+
```
140+
141+
Restart the Tentacle for the change to take effect.
142+
109143
<TentacleUninstall />

0 commit comments

Comments
 (0)