"thread taskq" process consumes lots of CPU
I have a multi-process perl daemon processing requests coming through sockets.
It uses libevent (kqueue) for socket processing.
Daemon usually runs as "nice +18" for weeks without any observable problem,
but sometimes its performance dramatically decreases almost till zero.
At such a moment, "top -S" shows that process "thread taskq" consumes almost 100% CPU.
Restarting daemon processes helps, and "thread taskq" returns back to 0%.
But this (high CPU usage) happens again and again, sometimes in day, sometimes in weeks.
Besides the mentioned daemon, the computer runs MySQL5 daemon and postfix mail daemon. Restarting those daemons, of course, doesn't help.
Any idea where to look to?
Thanks in advance.
FreeBSD *.com 6.2-STABLE FreeBSD 6.2-STABLE #1: Wed Jun 20 17:43:32 PDT 2007 *.com:/usr/obj/usr/src/sys/DELL2950 amd64
|kqueue, libevent, perl, thread taskq|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia"||jb_daefo||Guides||0||5th October 2009 09:31 PM|
|"Thanks" and "Edit Tags".||diw||Feedback and Suggestions||2||28th March 2009 11:06 PM|
|Scripted sysinstall fails with "Command 'system' failed"||PeterSteele||FreeBSD Installation and Upgrading||0||13th November 2008 10:31 PM|
|Newbie-friendly "printing in OpenBSD" guide wanted||Shagbag||OpenBSD Packages and Ports||5||7th July 2008 09:26 PM|