Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm having kind of the same problem. After a while my httpd processes start to multiply.. even when i'm not working on my site, or even when i'm not online. This is strange. Or when I'm working on my site (localhost, phpnuke) I get like 9 httpd processes, and they take up like 50MB. Is this normal?
and i'm also using apache 1.3.27 (the one that came with slackware 8.1) and i didn't change any config files...
Originally posted by Hamma I was told by someone to try and update the kernel.
The kernel would have nothing to do with that....
What about your MaxClients? Do you have anything like that in your configuration? This directive is the maximum amount of connections at any given time.
Basically when you see a httpd process, that means a person or user has requested a page/process to view your website. Everytime someone requests a page, it will start a httpd process. But usually in most cases it should die when they are done, these processes are started then die all the time when running a website.
If you see these processes lingering around for too long, you should try to reconfigure how many MaxKeepAliveRequests or your KeepAliveTimeout.
KeepAliveTimeout - The number of seconds Apache will wait for a subsequent request before closing the connection. Once a request has been received, the timeout value specified by the Timeout directive applies.
Setting KeepAliveTimeout to a high value may cause performance problems in heavily loaded servers. The higher the timeout, the more server processes will be kept occupied waiting on connections with idle clients.
So if you have a high traffic site, try lowering your KeepAliveTimeout setting.. maybe from 15 to 10 or lower.. etc.
Mine are hanging around and not going away at all, the load of my server steadily rises. This morning I was pushing 20.xx load averages then I restarted httpd, from there it just increases again and the processes do not close.
Originally posted by Hamma Mine are hanging around and not going away at all, the load of my server steadily rises. This morning I was pushing 20.xx load averages then I restarted httpd, from there it just increases again and the processes do not close.
You didn't answer any of my previous questions in my first post or didn't state if you tried any of my suggestions? I understand what is happening as my previous post pretty much explained this and what to try.
Originally posted by Hamma Yes I looked at all those options, I am using the exact same config as I was running on my other box, and I never had these issues
Well, different configs might work better on different machines. I'm not trying to be rude or inconsiderate, but you still didn't answer my questions?
You looked at those options, but did you try any of them? What kind of hardware are we talking about here that your using? More details or no one is going to be able to help you out.
By you stating that your using the same config pretty much tells me you haven't tried anything different though. I can't help you if your not willing to try or answer any questions.