Limiting the total amount of memory usage by apache.

Does anyone know how to limit the total amount of memory usage by apache? Ive got a problem with my servers crasing and i believe its down to apache consuming all the memory. I have tried using rlimitmem but that doesnt seem to have any affect.

I have also tried putting limits on usernobody in /etc/security/limits.conf but that didnt work either Limiting the total amount of memory usage by apache.

 

 

 

 

Top