Hi,
After migrating one account with a MySQL database, (MySQL 4 to 5.5), As soon as the site gets a hits, CPU loads get very (120 or more) causing the machine to completely lock up after a couple of mins. I've checked the table structure and it could use some optimization.
I had to suspend this account for now as I am not able to run any sort of analytics long enough. Eventually CPU usage goes really high.
Information on the server:
4 GB RAM, 8 cores total (Dual Xeon)
RedHat 6. 64 Bit system
WHM 11.32.5 Release.
top usage is normally 0.30%
its a dedicated server, not a VPS.
What do I get MySQL to play nice and not take down the whole server with it cant handle the queries from this application?
More info at normal usage (when the problem database is not activated by the problem site).
top - 11:05:42 up 11 days, 8:16, 4 users, load average: 0.29, 0.23, 0.19
Tasks: 349 total, 1 running, 348 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3%us, 0.6%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3911780k total, 3776672k used, 135108k free, 303740k buffers
Swap: 2104504k total, 169440k used, 1935064k free, 2605996k cached
After migrating one account with a MySQL database, (MySQL 4 to 5.5), As soon as the site gets a hits, CPU loads get very (120 or more) causing the machine to completely lock up after a couple of mins. I've checked the table structure and it could use some optimization.
I had to suspend this account for now as I am not able to run any sort of analytics long enough. Eventually CPU usage goes really high.
Information on the server:
4 GB RAM, 8 cores total (Dual Xeon)
RedHat 6. 64 Bit system
WHM 11.32.5 Release.
top usage is normally 0.30%
its a dedicated server, not a VPS.
What do I get MySQL to play nice and not take down the whole server with it cant handle the queries from this application?
More info at normal usage (when the problem database is not activated by the problem site).
top - 11:05:42 up 11 days, 8:16, 4 users, load average: 0.29, 0.23, 0.19
Tasks: 349 total, 1 running, 348 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3%us, 0.6%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3911780k total, 3776672k used, 135108k free, 303740k buffers
Swap: 2104504k total, 169440k used, 1935064k free, 2605996k cached