[phpa] Re: Page not found problem
- From: "Ronan PAUL" <ronanpaul@xxxxxxxxxxx>
- To: phpa@xxxxxxxxxxxxx
- Date: Mon, 25 Feb 2002 09:50:00 +0100
Hey Nick,
Thank you for your answer. Here is my apache configuration:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 1
MaxSpareServers 50
StartServers 40
MaxClients 256
MaxRequestsPerChild 1000
So this seems to already answer your suggestion regarding max client (or is
it still too high ?).
Upgrading php is an option. But we would have to test intensively our code
before doing that.
What's your suggestion ?
Ronan
>From: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
>Reply-To: phpa@xxxxxxxxxxxxx
>To: phpa@xxxxxxxxxxxxx
>Subject: [phpa] Re: Page not found problem
>Date: Fri, 22 Feb 2002 14:51:43 -0000 (GMT)
>
>
>Hi,
>
>Perhaps you could reproduce the traffic with ab.
>
>Can you send an entire compressed error log from a restart until you get
>the page not found errors. I think IE returns page not found when it gets
>an empty response. PHP 4.0.6 is known to have memory problems with arrays,
>and so you could be getting server crashes from PHP itself. Perhaps these
>show up more often once phpa is installed. 4.0.7RC3 or 4.1.1 fixes those
>bugs.
>
>I'd also suggest turning on shm_logging so we get a bit more info.
>
>You could also reduce the max requests value for apache processes. It may
>currently be unlimited or large, e.g. 10000, but reducing it to say 1000 or
>even less would mean that no apache process would handle more than that
>number of requests before stopping. The parent apache would then spawn
>another process if necessary.
>
>My production server with red hat was configured for max requests as 100,
>which seemed a bit low, but setting to a lowish figure might be prudent.
>
>You'll take a minor performance hit each time a new process is spawned, but
>this really should be negligible.
>
>I've been meaning to produce a production build that does checking for
>memory corruption (it does this in a debug build currently). If you have
>continued problems then it would be worth getting that off me and using it,
>but that wouldn't actually solve anything so I'd try the above ideas too.
>
>nick
>
>
>
>------------------------------------------------------------------------
> www.php-accelerator.co.uk Home of the free PHP Accelerator
>
>To post, send email to phpa@xxxxxxxxxxxxx
>To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
>
>
_________________________________________________________________
Rejoignez le plus grand service de messagerie au monde avec MSN Hotmail.
http://www.hotmail.com/fr
------------------------------------------------------------------------
www.php-accelerator.co.uk Home of the free PHP Accelerator
To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
Other related posts: