cherokee-worker was turning 100% CPU (8 core machine) in top leading me to
believe something was hung.

I had a peek with ps and saw 14 threads running.  I used top with 'show
threads' to try to determine what was hung.  I attached to the
pseudo-process id with strace that was consuming 100% CPU in top.
  strace on cherokee-worker showed:
    futex(0x180c480, FUTEX_WAIT_PRIVATE, 2, NULL

And no more - it was stuck.

Here are the last few error.log entries:
[16/02/2010 02:25:53.811] (warning) thread.c:1390 - Run out of file
descriptors
[16/02/2010 02:25:53.811] (warning) thread.c:1390 - Run out of file
descriptors
[16/02/2010 02:25:53.811] (warning) thread.c:1390 - Run out of file
descriptors
[16/02/2010 08:44:47.001] (error) fdpoll-epoll.c:140 - epoll_ctl: ep_fd 41,
fd 4: 'Operation not permitted'
[16/02/2010 08:44:47.042] (error) fdpoll-epoll.c:140 - epoll_ctl: ep_fd 41,
fd 6: 'Bad file descriptor'
[16/02/2010 22:17:09.005] (error) fdpoll-epoll.c:113 - epoll_ctl: ep_fd 27,
fd 70: 'Bad file descriptor'
[16/02/2010 22:17:25.100] (error) fdpoll-epoll.c:140 - epoll_ctl: ep_fd 27,
fd 70: 'No such file or directory'
[16/02/2010 22:17:25.100] (error) thread.c:429 - Could not remove fd(70)
from fdpoll
bbpad...@lnn1127:~$ date
Wed Feb 17 07:36:40 CST 2010

In the vhost logs, the last few entries are like so.

error log:
[17/02/2010 01:12:28.969] (warning) handler_file.c:252 - Unparseable time
'4949a788=4d6a'
[17/02/2010 01:12:29.034] (warning) handler_file.c:252 - Unparseable time
'4949a4a9=58b3'
[17/02/2010 01:12:29.056] (warning) handler_file.c:252 - Unparseable time
'4949a837=3bc1'
[17/02/2010 01:13:11.579] (warning) handler_file.c:252 - Unparseable time
'4949a835=3ed7'
[17/02/2010 01:13:45.891] (warning) handler_file.c:252 - Unparseable time
'49b6485a=8f88'

Nothing interesting in the access logs.  I can see that the cherokee stopped
responding at 17/Feb/2010:01:17:42 server time

I had to kill -9 the cherokee-worker process to restart it.  It seems to be
running fine now.

Any thoughts?

Ryan
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to