"thread taskq" process consumes lots of CPU
Hi,
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.
uname -a
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
|