Hi, i need some help.
I have problems with mySQL. In some of my sites, i get warnings at the top of the pages:
Mentioned problems appeared suddenly. I didn't do anything.
My server configuration is:
HDD 2x 500 GB SATARAM
6 GB DDR2-RAM
CPU AMD Athlon 64 X2 3400+, Dual-Core
Template CentOS 6 - minimal - RAID 1
I have about 15k unique visitors every day.
My present my.cnf file looks like this:
What i should tweak to get error disappear and get mySQL to work again?
THANKS,
Igor
I have problems with mySQL. In some of my sites, i get warnings at the top of the pages:
Code:
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in Warning: session_start() [function.session-start]: open(/tmp/sess_2768563f6f13c08c044c710c554aaa37, O_RDWR) failed: No space left on device (28) in /home/stranifi/public_html/musicvideo.php on line 17 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/stranifi/public_html/musicvideo.php:17) in /home/stranifi/public_html/musicvideo.php on line 17 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/stranifi/public_html/musicvideo.php:17) in /home/stranifi/public_html/musicvideo.php on line 17
Mentioned problems appeared suddenly. I didn't do anything.
My server configuration is:
HDD 2x 500 GB SATARAM
6 GB DDR2-RAM
CPU AMD Athlon 64 X2 3400+, Dual-Core
Template CentOS 6 - minimal - RAID 1
I have about 15k unique visitors every day.
My present my.cnf file looks like this:
Code:
[mysqld]
set-variable = max_connections=500
query_cache_limit = 2M
query_cache_size = 256M
table_cache = 400
thread_cache_size = 286
log-slow-queries
safe-show-database
What i should tweak to get error disappear and get mySQL to work again?
THANKS,
Igor