Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17872 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95083 invoked by uid 1010); 12 Aug 2005 15:52:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95068 invoked from network); 12 Aug 2005 15:52:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2005 15:52:13 -0000 X-Host-Fingerprint: 64.233.184.197 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.197:7821] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CC/80-33075-DA5CCF24 for ; Fri, 12 Aug 2005 11:52:13 -0400 Received: by wproxy.gmail.com with SMTP id i22so605417wra for ; Fri, 12 Aug 2005 08:52:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hXTh/heLsNpD03fbDM91iZ21XVMjTCFB9w+ndsZ4Sh+ZwmEOfItj6d6SuxzCRWiE+IJ5FBzONsdamDqX/VzHSueIZlMPJvtwqluIaA3hovN97KiAh8LGr4swZ/awRolvaU0FOAYR6qD+SvN/d2vwkugwWs1tf19EGfSf0x9v3+E= Received: by 10.54.143.7 with SMTP id q7mr1950612wrd; Fri, 12 Aug 2005 08:52:09 -0700 (PDT) Received: by 10.54.107.8 with HTTP; Fri, 12 Aug 2005 08:52:09 -0700 (PDT) Message-ID: <57792e85050812085214e0b260@mail.gmail.com> Date: Fri, 12 Aug 2005 08:52:09 -0700 To: "Brian J. France" Cc: Andreas Korthaus , Rasmus Lerdorf , internals@lists.php.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <57792e85050808205143e96a8f@mail.gmail.com> <42F907A0.8070900@web.de> <57792e85050809142416ee5d6c@mail.gmail.com> <42F9217F.6010604@lerdorf.com> <57792e8505080917402f144072@mail.gmail.com> <42F962CF.4000503@lerdorf.com> <57792e85050811174867b7a6c3@mail.gmail.com> Subject: Re: [PHP-DEV] Re: Moving to PHP5.1 and Apache 2.2 next year, need help From: iamstever@gmail.com (steve roussey) On 8/12/05, Brian J. France wrote: > Really? We just did a around of discussion/debugging on this at work > and I found that it uses ap_lingering_close which is like the > lingering_close function in 1.3. :) Yes, it does do ap_lingering_close, and it sets SO_LINGER. I have no idea why they do both, I only assume they know what they are doing and it works out for the best. I have my ideas, but they are just postulates... I'm surprised it is an ap call and not an apr call, but I am not a web server programmer! > > o Lingerd caused my apache setup to crash. It was worth a try if it > > didn't take much effort, but not worth fixing. >=20 > Are people really finding that they need lingerd? >=20 > For 1.3 we have keepalive off and build with NO_LINGCLOSE, which means > be blast the data to the kernel buffer (set large) close the socket and > move on. We have been doing this for at least 3+ years and I have > never heard any complaints and we server a lot of requests/client (I am > tied with Rasmus). I should give that a test. But the value to me would be temporary, since I want to move to Keep-Alive under the same hardware layout. -steve--