Out of Memory! errors when adding a subdomain, addon domain, etc.


Jul 26, 2007
Vancouver, BC
Hello everyone,

We have an Intel 2GHz Quadcore Xeon with 2GB of RAM running CentOS hosting 17 sites.

All but 2 or 3 are really low traffic.

One is a forum which gets about 18949 visits and does about 7-8GB of traffic in a month and the next closest is a photo gallery and blog which gets 5330 visits and maybe 1GB of traffic in a month.

In total we do about 10GB which gives you an idea of how small the other sites are.

In any case, what's happening now is that when we try to add a subdomain, addon domain, etc. cPanel reports it at successfully added but when you go into the WHM and check the DNS entries, nothing has been done. Looking at the error_log, all we see are a number of "Out of Memory!" errors.

I don't know if any of the other functions produce the same errors but these were the most obvious.

I my mind, we're still pretty small and would have thought that the server would be able to handle more sites.

cPanel says it's only using 20% of the memory, and linux shows we have about 1GB of RAM available.

I've already gone and turned off any services we don't need and reduced the number of Apache child processes allowed and increased the maximum memory a cPanel process can use before it is killed off to 256MB but with no improvement.

I also ran the upcp script and have rebooted the server.

Is there anything else I should be looking into?

Services I have running
- clamav
- spamd
- imap
- http
- exim
- mysql
- named
- and any other cPanel/WHM services

Any help would be greatly appreciated.