I am running Dual Xeon 5405 (8 Cores), CentOS 5 (64 Bit), 12 GB RAM with latest cPanel/WHM.
There are only 50 domains on this server and none of them cause high load. Everything is running fine except MySQL. It goes down 2-3 times a week on the almost same time.
I checked /var/lib/mysql/{YOUR HOSTNAME HERE}.err to determine why MySQL failed and I see the following:
Any ideas how to fix?Code:090731 0:38:29 InnoDB: Started; log sequence number 0 28420275 /usr/sbin/mysqld: Out of memory (Needed 1324478464 bytes) /usr/sbin/mysqld: Out of memory (Needed 993358848 bytes) /usr/sbin/mysqld: Out of memory (Needed 745018368 bytes) /usr/sbin/mysqld: Out of memory (Needed 558763008 bytes) /usr/sbin/mysqld: Out of memory (Needed 419069952 bytes) /usr/sbin/mysqld: Out of memory (Needed 314302464 bytes) /usr/sbin/mysqld: Out of memory (Needed 235726848 bytes) /usr/sbin/mysqld: Out of memory (Needed 176793600 bytes) /usr/sbin/mysqld: Out of memory (Needed 132593664 bytes) /usr/sbin/mysqld: Out of memory (Needed 99443712 bytes) /usr/sbin/mysqld: Out of memory (Needed 74582016 bytes) /usr/sbin/mysqld: Out of memory (Needed 55934976 bytes) /usr/sbin/mysqld: Out of memory (Needed 41951232 bytes) /usr/sbin/mysqld: Out of memory (Needed 31463424 bytes) /usr/sbin/mysqld: Out of memory (Needed 23596032 bytes) /usr/sbin/mysqld: Out of memory (Needed 17694720 bytes) 090731 0:38:29 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.0.81-community-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition (GPL) 090731 0:39:55 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 3355440 bytes) InnoDB: memory with malloc! Total allocated memory InnoDB: by InnoDB 20625752 bytes. Operating system errno: 12 InnoDB: Check if you should increase the swap file or InnoDB: ulimits of your operating system. InnoDB: On FreeBSD check you have compiled the OS with InnoDB: a big enough maximum process size. InnoDB: Note that in most 32-bit computers the process InnoDB: memory space is limited to 2 GB or 4 GB. InnoDB: We keep retrying the allocation for 60 seconds... 090731 0:47:48 InnoDB: We now intentionally generate a seg fault so that InnoDB: on Linux we get a stack trace. 090731 0:47:48 - mysqld got signal 11 ;
Thanks in advance for your help.



LinkBack URL
About LinkBacks
Reply With Quote










