Closed stania1 closed 8 years ago
:scream: 800 threads? I'll take a look at it. Meanwhile it would also help if you can check on some of these things for me.
One more thing - is it possible to get a jstack output of the process after it ran for a while?
@stania1 I did some digging up, looks like you're right. There's a chance we might be creating too many threads internally. It's done by the HTTPClient library that I'm using (Unirest). I've added a 0.2.1-RC1 release with this fix. Can you please try with that version and let me know if you still have the problem?
0.2.1-RC1 release fixed it for me - the number of threads were constant at 19 and the process completed successfully. Thanks @ashwanthkumar for looking into this so quickly :)
unirestInstance.shutDown();
Hi,
I took v0.2.0 for a spin in our GoCD server (which has 82 pipelines) in total - it ran for a while and then crashes with the following.
The process seems to have created 800+ threads before it crashed. I could look into the OS limits and configuration around threads, but is this expected behavior?
I haven't dug into the code to get more context - any pointers would be appreciated.
Thanks.