Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2008 06:21:37 -0800
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Ken Chen <ken73.chen@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: php-cgi frozen with sbwait when SMP enable
Message-ID:  <20081107142137.GA7051@icarus.home.lan>
In-Reply-To: <d018a9bd0811070329s30b463b0m6885e1f568217b89@mail.gmail.com>
References:  <d018a9bd0811070329s30b463b0m6885e1f568217b89@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 07, 2008 at 07:29:37PM +0800, Ken Chen wrote:
> Hello,
> 
> I have 4 web servers with lighttpd to serve one web site with DNS load
> sharing.  On the 2 SMP-enable web servers, there will be many php-cgi frozen
> in 'sbwait' state every day. It means the php-cgi stay in 'sbwait' state,
> and never be back to 'accept' or other state. If I restart them, there will
> be frozen php-cgi appear some hours later.
> 
> There is no problem on the other single CPU web servers which running same
> php scripts and same configuration and version of PHP.
> 
> Why and any solution?

I'm not understanding what the problem is (and I've seen the output you
provided later in the thread).  Are you stating the problem is that you
see many php-cgi processes?  Or are you worried they're not doing
anything?  Does the website function, lock up, or anything like that?
If not, what's the issue?  :-)

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081107142137.GA7051>