Re: Memory leak - how to investigate

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



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
_______________________________________________
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