Re: Memory leak - how to investigate

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




> On Feb 4, 2014, at 3:46 AM, Jussi Hirvi <listmember@xxxxxxxxxxxx> wrote:
> 
>> On 3.2.2014 19.58, m.roth@xxxxxxxxx wrote:
>> That's a*lot*  of apache. Is that really correct? Do you really need that
>> many threads? How heavily is the webserver used?
> 
> Is this a good measure? At least it's exact. :-)
> # du -sh /var/log/httpd
> 261M    /var/log/httpd
> 
> Those logs are rotated with default settings, 5 logs kept. The activity 
> went up recently, when a new, quite complex Wordpress site was launched. 
> That might have a lot to do with the crashes.
> 
>> Also, I see mysql running - does the website use it?
> 
> Many websites on that host use MySQL, yes.
> 
> On 3.2.2014 21.44, Kwan Lowe wrote:
>>> Mem:   1361564k total
>> That doesn't look like a lot of memory.. Possible to
>> add another .5G or so?
> 
> Ok, I added RAM (remember, this is a VM). Now I got
> Mem:   2365180k total
> Swap:  3014648k total
> 
> This might help me some way. My experiences so far indicate that a 
> webserver/nameserver should be ok with 2 gigs RAM plus some swap. I am 
> not sure how much it depends on the amount of traffic.
> 
> - Jussi

Others have mentioned tuning httpd.conf parameters. Problem is apache doesn't give you the math to know what to set those without lots of trial-and-error. The best guide for this math is from F5:
  http://www.f5.com/pdf/deployment-guides/f5-apache-dg.pdf
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux