From owner-freebsd-stable@FreeBSD.ORG Fri Nov 7 14:46:00 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 E64821065680 for ; Fri, 7 Nov 2008 14:45:59 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id B85838FC19 for ; Fri, 7 Nov 2008 14:45:59 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1121688rvf.43 for ; Fri, 07 Nov 2008 06:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Vq1eQYbiKeBGW5gg0s9z5z6cIycw/QqDBWqaP1zhA9s=; b=WHFBcZBd6NBJbA3pGs58Wwz6ZcXudhqlR6wQ014+Q44RvE2MEcC9sN/HyGdG7XtYrY eUP4y0BKfx54mCHCWh0q72Ido0Ux+4FelNlRO1UrpI0m+tfax7kP9W5U6NfH93trJzNk SbCIeLj5h6MEPNRexpjy3VdtLmSt5kkbdsEDc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=aRLLTbJDjihmaYlg5Ga7wUfJtrAQlm2GvYS/fO+4LXQt+OhfQe8HREBiYboQJPCcws Bhz/dk7iEh3JVO0vWRxscuAS1hh/PdvQgqC8uHQCQjn+wU/zTlgF9jD2Qn0sLbKmI/uE YNDxGbPouPu43/hLkjDCHnK90gZLcBUJufZn4= Received: by 10.142.172.12 with SMTP id u12mr916190wfe.186.1226069159286; Fri, 07 Nov 2008 06:45:59 -0800 (PST) Received: by 10.142.232.19 with HTTP; Fri, 7 Nov 2008 06:45:59 -0800 (PST) Message-ID: Date: Fri, 7 Nov 2008 22:45:59 +0800 From: "Ken Chen" To: freebsd-stable@freebsd.org In-Reply-To: <20081107142137.GA7051@icarus.home.lan> MIME-Version: 1.0 References: <20081107142137.GA7051@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Fri, 07 Nov 2008 14:46:00 -0000 Hi Jeremy, A health FastCGI process have a lifetime, so the PIDs of all php-cgi processes should in a short range. There are some 'php-cgi' fall in 'sbwait' state, and stay there forever. The frozen 'php-cgi' can't accept new request, so never retire. Please forgive my poor English. 2008/11/7 Jeremy Chadwick > 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 | > >