httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcos R. Cardoso" <mcard...@furb.br>
Subject Re: [users@httpd] Memory leak on Windows 2003
Date Wed, 14 Sep 2005 18:34:43 GMT
Thanks for the help Joshua, but I forgot to add that we use some ASP 
scripts here using Sun Chili!Soft ASP 3.6.2
Could the ASP machine also make this memory inflation possible to happen?

Marcos R. Cardoso
Brazil


Joshua Slive wrote:

>On 9/13/05, Marcos R. Cardoso <mcardoso@furb.br> wrote:
>  
>
>>Hi, here where I work we have the following configuration for our web
>>server:
>>
>>Windows 2003
>>Apache 2.0.54
>>PHP 4.4.0
>>MySQL 4.0.20
>>    
>>
>
>  
>
>>Unfortunately we are experiencing some huge problems concerning memory
>>usage by the Apache child process: after 8 hours since the Apache
>>service has started, the child process has already allocated about 300
>>Mb from the server memory, being necessary a restart for this process
>>otherwise the service fails.
>>
>>The solution I've found so far is to schedule restarts for the Apache
>>service every 8 hours, but I'd like to know if there is a proper
>>solution for this behaviour.
>>    
>>
>
>The most likely explanation is a misbehaving php script.  But to
>debug, you really need to work out what requests are triggering the
>ballooning memory requirements.  I'm not very familiar with debugging
>this type of problem for win32, but if you can track threadid and
>memory over time, then you can add the thread id to the access.log and
>try to figure out what requests trigger the memory problems.
>
>You can also try setting MaxRequestsPerChild to a high but not
>infinite number to trigger automatic restarts that should clear things
>out.
>
>Joshua.
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>  
>

Mime
View raw message