DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd July 2008
relev relev is offline
New User
 
Join Date: Jul 2008
Posts: 1
Thanked 0 Times in 0 Posts
Default "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
Reply With Quote
Reply

Tags
kqueue, libevent, perl, thread taskq

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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 29th March 2009 12:06 AM
Scripted sysinstall fails with "Command 'system' failed" PeterSteele FreeBSD Installation and Upgrading 0 13th November 2008 11:31 PM
Newbie-friendly "printing in OpenBSD" guide wanted Shagbag OpenBSD Packages and Ports 5 7th July 2008 09:26 PM


All times are GMT. The time now is 06:26 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick