Forum Moderators: bakedjake
All I can figure is there is something blocking the httpd processes from finishing. Something that keeps them in the run state instead of the sleep state.
You say you have a lot of pictures, so why don't you run two apaches. Let one serve the dynamic contents (on port 80) and the other the static content (on another common port, say 8080). On you dynamic pages link all images to the other apache on 8080.
For the first server on port 80 you keep your current setup, but the other should be stripped down to an absolute minimum. Adjust the values of MaxClients on the two according the balance of dynamic/static pages you serve.
Another suggestion. Apache works with a master process and a lot of worker child processes. Make sure all your php files are loaded in the master process, so they are shared in memory between all the child processes. I can't quite tell you how to do with php, but there is probably some way to preload the files in the master process. The processes won't be any smaller, but a larger percentage will be shared, reducing the overall demand for memory.
René.
I can't believe Apache could get so popular without having a way to deal with this.. yes maybe I could setup another apache, if the one serving static content could get significantly smaller.