From owner-freebsd-stable@FreeBSD.ORG Sun Jul 8 02:22:53 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 675AA106564A for ; Sun, 8 Jul 2012 02:22:53 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2288D8FC0A for ; Sun, 8 Jul 2012 02:22:52 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Snh8z-0004KN-Cd for freebsd-stable@freebsd.org; Sun, 08 Jul 2012 04:22:41 +0200 Received: from cpe-188-129-77-73.dynamic.amis.hr ([188.129.77.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jul 2012 04:22:41 +0200 Received: from ivoras by cpe-188-129-77-73.dynamic.amis.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jul 2012 04:22:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Sun, 08 Jul 2012 04:22:22 +0200 Lines: 22 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-188-129-77-73.dynamic.amis.hr User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 Subject: apache hangs in wait4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 02:22:53 -0000 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?