[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with memory on apache



On Thursday 27 January 2011 15:35:57 Jesus arteche wrote:
> tehre is
> some way to limit the php or apache for not exceding the memory...?

Yes.

.
.
.

Oh!  You're still there.  I guess you want me to explain how.

Tune the StartServers, MinSpareServers, MaxSpareServers, MaxClients, and 
MaxRequestPreChild; using lower values will reduce the amount of memory used 
by Apache.  You might also tune the KeepAlive, MaxKeepAliveRequests, and 
KeepAliveTimeout values.

Also, check the memory_limit in /etc/php5/apache2/php.ini.

(I also think I'm still forgetting to mention some "knobs"; hopefully, others 
will mention them.)
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: