Open varac opened 8 years ago
I deployed to try to install the newest versions of everything. Lets see if this changes anything. But this behaviour is still present on dev.pix to investigate.
The only suspicion I have for this is the re-creation of soledad mechanism, if you get an invalid token, it creates a new soledad instance and spawns 10 new threads. I was thinking the old soledad object might not get out of scope and be garbage collected, that would cause an increase on the number of threads over time
@bwagnerr: Is there a leap issue for this ? Are the soledad devs aware of this ? How much work would it be to fix it ? When we're focussing on fixing the mem leakage we should consider fixing a thread leakage as well.
This is weird. Today nagios reported that try+dev have too many threads (in general). These are the images from pnp4nagios:
From dev.pix pnp4nagios threads graph:
From try.pix pnp4nagios threads graph:
On wazokazi, this graph looks pretty good. From wazokazi pnp4nagios threads graph:
I suspected the useragent and indeed it is, looking at try.pix:
So somehow, under some circumstances, there are threads steadyly increasing, while with the same useragent version this doesn't happen (like on wazokazi or unstable).