Replies: 3 comments
-
I can see that behaviour as well.
I could correlate the creation time of the threads with |
Beta Was this translation helpful? Give feedback.
-
The ThreadPool used to force update slave servers upon configuration changes leaves threads behind. Passing to ThreadPoolExecutor looks to fix the problem, see #5592 . |
Beta Was this translation helpful? Give feedback.
-
Thanks, looks good to me. |
Beta Was this translation helpful? Give feedback.
-
Hi,
It looks like the Configuration/Sever primary (in classic non-tornado mode) is slowly leaking threads on all of our DIRAC instances (versions 7r1, 7r2 & 7.3) at a rate of between 12 and 42 per day.
On a newly started instance:
On a quiet development instance that has been running about a month:
On our production server, we saw it hitting the default 4096 process limit after it had run for around 3 months: Clearly we can increase this limit, but I can't imagine having 3680 threads sitting about is good for performance/resource usage. Interestingly we don't seem to see this on servers that are only running secondary CS instances, only the primary appears to be affected.
Does anyone else see this happening on their instances? Does anyone see this on a tornado based CS? Would it be possible to track down where this is leaking and stop it from happening? (Although if it doesn't affect tornado CS, we'd probably consider just moving to that relatively soon, which I'm sure you'll tell me is a good idea anyway :-)
Regards,
Simon
Beta Was this translation helpful? Give feedback.
All reactions