OpenVZ Forum


Home » General » Support » Mysql configuration tweaks?
Mysql configuration tweaks? [message #42199] Wed, 16 March 2011 22:43 Go to next message
brsox88 is currently offline  brsox88
Messages: 2
Registered: March 2011
Location: Maine, US
Junior Member
We have a cpanel vps user on our openvz linux based node. We have been batteling a situation with his vps for the past 2 months. It seems whenever he gets a lot of mysql query's the load on his vps goes up considerably. We have it set so he can use 100% of all 8 cores on the node and yet the load still goes up to around 30-90 on the node.

Is this bad coding on his site? Bad mysql config? We are lost. Below is his current mysql config:

[mysqld]
set-variable = max_connections=500
log-slow-queries
safe-show-database
#tmpdir = /tmpfs
query_cache_size = 8M
log_slow_queries=/var/log/mysql/mysqld.slow.log
Re: Mysql configuration tweaks? [message #42202 is a reply to message #42199] Thu, 17 March 2011 06:33 Go to previous messageGo to next message
cmjisrewr is currently offline  cmjisrewr
Messages: 1
Registered: March 2011
Location: new york
Junior Member
do not understand.

good day
Re: Mysql configuration tweaks? [message #42224 is a reply to message #42199] Mon, 21 March 2011 00:24 Go to previous message
AnVir is currently offline  AnVir
Messages: 20
Registered: October 2009
Location: Russia
Junior Member

Add epel repository.
Then do
yum -y install mysqltuner
mysqltuner


Welcome to xfes.ru OpenVZ repository mirror
Previous Topic: vzctl needs a "lint" command
Next Topic: services to have running in default centos 5.5
Goto Forum:
  


Current Time: Tue Jul 30 17:12:28 GMT 2024

Total time taken to generate the page: 0.02830 seconds