I’ve been struggling with Getting 2.0 tentacles to work consistently… It seems after some time the tentacle service becomes more and latent in transferring nuget packages to the tentacle. Currently running 2.0.10.1066.
We upload some large (1.5 GB) nuget packages to our tentacles. When things are running good, the upload takes about 12 minutes… After time passes however, the same upload can still be running 4 hours later. and really never finish.
It appears restarting the tentacle service resolves the problem. Could this be a memory leak or something else?
The images attached show the detail:
Healthy_Tentacle_Upload - This shows what my network utilization looks like shortly after a reboot of the tentacle.
Unheathly_tentacle - This shows what my network utilization looks like after the tentacle has been running for a day.
Tentacle_ServiceRestart - This shows that immediately after restarting the tenctacle service, the upload speed improves dramatically.
I also had the need to download large data sets as part of a deployment, but decided that the octopus package itself was not the best solution for delivering the data. Instead I use the PostDeploy.ps1 powershell script convention to download the large data set from a secure server. Another advantage to this approach is that the script could contain logic to only download updated data.
I created a scheduled task that restarts the tentacle service every hour… Works very well in fixing this problem, but is obviously not a long term solution.
When a machine is uploading slowly, could anyone go to the machine details in Octopus web portal, and go to the Connectivity tab, and send me a screenshot?
This is proving hard to reproduce. Could you add me to Skype (paulstovell) and contact me when the problem occurs, so that we can do a screen sharing session (or send me an invite to any other screen sharing tool you prefer to use) to try and debug this?
When the upload is happening, can you go to the Environments tab, click the machine, and go to the Connectivity tab?
Every few seconds that page should refresh and tell you when it next expects to contact the remote machine. During an upload, it should always say “Connected. The connection is functioning normally. The next scheduled poll is due in about a second.”
Can you tell me if it ever says anything else? E.g., if it says: “The next scheduled poll is due in about 5 seconds”.