Forums / Developer / problem with thread httpd on my server
christophe wedeux
Friday 14 March 2008 6:44:58 am
For each HTTP Request call my site, one httpd's thread is open but don't closed when my request finished. The thread stays up for some second or many minutes.
While the thread up memory was keep. (Between 100Mo to 150Mo) so if more than 10 people make request in 30 second my server swap! And if other people come my server crash!!
Anyone have an idea why thread stay up? I know my process need a lot memory but I can't reduce this. I just need to free memory at the end of my script.
conf: ezpublish 3.9.1 server apache 2.1 preforkphp 4.4.7
André R.
Friday 14 March 2008 7:33:04 am
Bye thread you mean process I guess, try tweaking (reducing) the KeepAliveTimeout setting (and MaxKeepAliveRequests) in Apache.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom