Re: httpd squirrel instances exhaust memory

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

 



Paul Lesniewski wrote:
> Please don't top post.  Please do read the mailing list posting guidelines.
> 
>>>> Thanks for your suggestions.
>>>> I have added apc and turned off filtes plugin, but httpd instances keeps
>>>> on taking memory.
>>>> Look how they are now:
>>>>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>>> 17141 apache    15   0  259m 218m  12m S  0.0  6.6   0:15.48 httpd
>>>> 15329 apache    15   0  243m 202m  12m S  0.0  6.2   0:12.94 httpd
>>>> ....
>>>>
>>>> What else could I do?

Some ideas:
Turn http keepalives down to 2 or 3 seconds.
Unload any unused (or 3rd party) apache modules.
Remove any unneeded php bloat and recompile it, or upgrade php even better.

Ken


>>>>
>>> Disable "Show all" link on large folders
>>> http://www.nabble.com/How-to-disable-%22Show-all-messages%22-option-to20447037.html#a20487576
>>>
>>> Set memory limits in php.ini
>>>
>> I have disabled "show all" on large folders, and we have set memory limit to
>> 20MB on php.ini(
>> with less memory we got memory errors on error_log). One additional
>> information is that our server has
>> 4 GB of RAM
>> We have also reduced httpd instances but problem still remain. May be a bug
>> on httpd or php?
> 
> That'd be my guess - or more specifically, that the *compilation*
> thereof has something funny in it.  There is a newer version of Apache
> available, but your PHP is what I'd look at upgrading first, as it is
> further behind.  If you want to try to narrow it down with
> SquirrelMail, you'll probably need to test in a more controlled
> environment where you know what the users are actually clicking.
> 
> Did you confirm you turned off thread sort and turned on server side
> sort?  Did you test with all plugins disabled?  Are you running other
> PHP applications?
> 
>> Our versions are:
>> httpd-2.2.3-
>> php-5.1.6-23.222
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
> 


-- 
Ken Anderson
Pacific Internet - http://www.pacific.net

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux