My current RAM is 24GB.
I use APC alot, i set the shm_size to 7GB.
My memory soft limit : 15G
My memory hard limit : 15G
But every 5 or 6 days, RAM usage is peaked a lot (> 80%) and cause various WHM services failure (nameserver, exim, httpd, etc).
On daily usage RAM usage is low (< 50%). I was thinking whether the load is accumulated every day.
Do you think i should reduce the memory soft / hard limit to smaller number such as 9GB?
Should i leave a space between APC shm_size and memory limit, such as shm_size 7GB and memory limit 8GB?
Or should i use same APC shm_size and memory limit, such as shm_size 7GB and memory limit 7GB?
Thanks.
I use APC alot, i set the shm_size to 7GB.
My memory soft limit : 15G
My memory hard limit : 15G
But every 5 or 6 days, RAM usage is peaked a lot (> 80%) and cause various WHM services failure (nameserver, exim, httpd, etc).
On daily usage RAM usage is low (< 50%). I was thinking whether the load is accumulated every day.
Do you think i should reduce the memory soft / hard limit to smaller number such as 9GB?
Should i leave a space between APC shm_size and memory limit, such as shm_size 7GB and memory limit 8GB?
Or should i use same APC shm_size and memory limit, such as shm_size 7GB and memory limit 7GB?
Thanks.