st2 icon indicating copy to clipboard operation
st2 copied to clipboard

Stackstorm action runner does not return / complete - hangs and process is defunct

Open camb1997 opened this issue 4 years ago • 3 comments

When running an action that makes an internal HTTP call (from inside python with requests) that returns a lot of data. The called service is completing and returning HTTP payload over the network (we wiresharked). The action process (we think ?) (after about 15 seconds after the HTTP server returns its data) goes to "defunct" state. The parent process of the action process is the main action runner process. The core.http action works for same call ; we cannot use it because it will publish the output to the workflow and that is too much data to be in the workflow context due to Mongo db driver/performance issues.

st2 3.4.1, on Python 3.6.8 Running in Docker & Kubernetes OS is (cat/etc/os-release): NAME="CentOS Linux" VERSION="8" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8"

camb1997 avatar Jul 06 '21 16:07 camb1997

We are having this same issue.

techdiverdown avatar Jul 09 '21 14:07 techdiverdown

Related issue fixed in ST2 3.5? https://github.com/StackStorm/st2/pull/5220

MichaelMcClure avatar Jul 09 '21 16:07 MichaelMcClure

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.

stale[bot] avatar Apr 16 '22 05:04 stale[bot]