Im getting lots of backed up sql connections on a busy server, in trying to work out what is causing the issue, it seems related to when in htop I see commands like :
The second example is ‘similar’ but not excately the same as the one I had seen as it is intermittent and comes, the server has a wobble then goes. When doing a strace -p on the resource id it we extreemly busy until it self terminated.
I will post again when I have more data but any idea what these types of processes relate too?
Some distributions have a cron job in “/etc/cron.d/php5” that clears out certain PHP files, what you have above seems to resemble what that cron job is doing.
I have a suspicion that if you’re seeing a backlog of those processes, that it’s a symptom rather than the actual problem… however, you could certain tweak the cron job, and set it to run less frequently.