Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2012 04:22:22 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   apache hangs in wait4
Message-ID:  <jtaqt5$em1$1@dough.gmane.org>

next in thread | raw e-mail | index | archive | help
Hello,

I have a very embarrassing problem where apache22-worker, running
mod_fcgid with php, perl and python fastcgi processes, hangs daliy in wait4:

# procstat -k 54688
  PID    TID COMM             TDNAME           KSTACK
54688 101355 httpd            -                mi_switch
sleepq_catch_signals sleepq_wait_sig _sleep kern_wait sys_wait4
amd64_syscall Xfast_syscall

The only suspicious things in logs is this:

[Sat Jul 07 20:00:01 2012] [notice] SIGUSR1 received.  Doing graceful
restart
[Sat Jul 07 20:00:10 2012] [error] FastCGI process 41228 still did not
exit, terminating forcefully

The 41228 process is a Perl FastCGI web application using p5-FCGI
(wwsympa), and it is in the accept wchan.

Any ideas?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jtaqt5$em1$1>