From owner-freebsd-stable@FreeBSD.ORG Sat Nov 8 18:21:11 2008 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 4770B1065673 for ; Sat, 8 Nov 2008 18:21:11 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BAC168FC0A for ; Sat, 8 Nov 2008 18:21:10 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KysQk-0000pq-Dz for freebsd-stable@freebsd.org; Sat, 08 Nov 2008 18:21:06 +0000 Received: from 93-138-42-156.adsl.net.t-com.hr ([93.138.42.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Nov 2008 18:21:06 +0000 Received: from ivoras by 93-138-42-156.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Nov 2008 18:21:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Sat, 08 Nov 2008 19:20:51 +0100 Lines: 43 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8A87055B5DFA29BB177CCD87" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-42-156.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: php-cgi frozen with sbwait when SMP enable 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: Sat, 08 Nov 2008 18:21:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A87055B5DFA29BB177CCD87 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ken Chen wrote: > I capture something. >=20 > Please check the PID 57776. It's CPU time never change since my previou= s > mail here. >=20 > web4# ps alx | grep php-cgi | grep -v grep | grep sbwait > 65534 57776 47240 0 4 0 182328 84984 sbwait I ?? 2:02.12 > /usr/local/bin/php-cgi You're right and it is strange. I don't know why this would happen but some things that come to mind are: * Does lighttpd have some kind of status page or a diagnostic utility to show you the states of FastCGI processes? * Does lighttpd have a facility to "reap" old PHP processes? For example, mod_fcgid has a maximum lifetime setting for FastCGI processes. * You could try sending a SIGABRT to the php-cgi process to get a core dump and inspect it. Without debugging symbols it will probably give you the name of the function it's been waiting in. --------------enig8A87055B5DFA29BB177CCD87 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkV2IMACgkQldnAQVacBch53wCfcV2w0bP+fT3azObPoSqAqilm CSsAoIk2qZzev8zZflM5O/3/+6VSKBNo =fCn7 -----END PGP SIGNATURE----- --------------enig8A87055B5DFA29BB177CCD87--