[phpa] Re: Stress Problem

yes it seems to be right when stress stop every thing went back right

Manu


NL> I've checked carefully for memory leaks in the past with purify on Solaris 
NL> and by observation with other tools, and I don't believe that there is
NL> a leak. You may get a clue from the number of apache processes running after
NL> just a few requests and once you have had made many requests. The number may
NL> have increases dramatically. After a while the number may drop somewhat if
NL> you have less requests.  If you suspect a leak, look at the memory in use
NL> by individual processes and see if that is steadily increasing. 
NL> Consecutive requests will typically go to different apache processes, but 
NL> over time I would expect you to see the memory usage increase significantly
NL> if there is a leak.

NL> I've noticed that performance can drop over time, and also as the cache
NL> gets fuller. It may be that you're getting less benefit from the processors
NL> own caches over time.  I arrange code internally in phpa, in some places,
NL> to try and maximise the utilisation of the CPU i-cache, but haven't 
NL> done so aggressively as there are other things to work on and worry about.

NL> A suggestion is to set a maximum requests value in the apache config such
NL> that the apache processes die off after they've served a certain number of
NL> requests.  For some sites this may make a difference, and it does seem that 
the
NL> few requests a process has served, the faster it'll go.

NL> As a last point, I observed the same behavior with Zend Cache as well, and 
so
NL> I think this is related to factors not directly related to the cache itself.

NL> 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


Other related posts: