httpd crashes out of memory

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
cavj1
Advanced member
Advanced member
Posts: 63
Joined: Sat Sep 13, 2014 2:09 am

httpd crashes out of memory

Post by cavj1 »

We have what was originally ZCA now ZCS post 8.0.6 update. It is still a virtual server. Running 10.04 with 8GB of RAM for 126 users.
Today httdp crashed out of memory. Is this something we have to tune or add RAM?
What are others running for same or around the same number of users?
We do have a high volume of mail. My old E2K3 server which is where users have been migrated from had less resources and really didn't have an issue handling the load. I know Zimbra is a different beast but I need to figure out is it resources or config.
Any help or insight would be appreciated.
Thanks

Joe
cavj1
Advanced member
Advanced member
Posts: 63
Joined: Sat Sep 13, 2014 2:09 am

httpd crashes out of memory

Post by cavj1 »

More info...

Bug: soft lockup - CPU#1 stuck for 93s {mysqld:9424}

Bug: soft lockup - CPU#0 stuck for 2332s {java:23560}

Out of memory: kill process 8920 (mysqld_safe) score 6293416 or a child

Killed process 9407 (mysqld)

Out of memory: kill process 20035 (httpd) score 1508670 or a child

Killed process 20037 (rotatelogs)

Out of memory: kill process 20035 (httpd) score 1507867 or a child

Killed process 20038 (rotatelogs)

Out of memory: kill process 20035(httpd) score 1507063 or a child

Killed process 20056 (httpd)
Seems in 10.04 there is a bug...
Any pointers about doing apt-get update on the zimbra server?
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

httpd crashes out of memory

Post by pup_seba »

Hi,
Adding more RAM could solve some issues but not some other issues.
Let me explain. Zimbra executes itself on top of a JVM. So, first thing to check is the size of your JVM. In case you add more RAM, you will also have to reconigure the assigned RAM to your JVM and other services (like LDAP and mysql if they are also running in the same VM).
So, even if you use the "free" command and see that you have free RAM available, you should begin by checking your JVM memory size. Try "zmlocalconfig |grep -i heap" as "zimbra" user to check it.
Regards,

Sebas
Post Reply