Apache disables whole server

fmen

Verified User
Joined
Mar 14, 2009
Messages
26
Hello
I have Apache running on a VPS with 1GB RAM and 2GB burst (with DA of course). But the problem is that Apache creates to many processes and uses all the memory, how can I prevent this? How can I set the maximum number of processes (or an other solution when available)?
 
Thank you, I already changed the configuration but wanted some input from others.
 
There is no input to be given... every server is different.
 
Of course there is input, when you have found a solution you can share this with others, even when servers are different. An other solution could be set the memory of PHP lower or something like that.
 
As far as I know you can limit the amount of memory used by a PHP script, this memory is located in the RAM of the VPS and it will reach the limit of the available RAM: then the whole server is unreachable because there is no RAM left anymore. That is the problem and lowering the allowed memory will use less RAM. Correct me if I'm wrong.
 
Back
Top