We’re having some issues with a deployment that is running way to slow and we feel like the behavior is really weird.
For the Setup. We first run some preparation steps before we deploy multiple web applications to the same server/tentacle in parallel. This is our DEV stage, later environments deploy the applications to different servers.
We run PowerShell-scripts here for many use cases, but every time we deploy we see multiple steps that are just hanging with the comment “Waiting for the script in task ServerTask-99999 to finish as this script requires that no other Octopus scripts are executing on this target at the same time”.
When click through the ServerTasks at some point we reach a Task that has been completed, but there’s still another ServerTask waiting for completion of this script.
This waiting can take ages. Sometimes it’s around 20 minutes until the waiting script finally realizes it can continue… Why do our scripts wait so long? Do we need to configure a polling interval somewhere? What could cause this behavior?
Thanks in advance