MySQL + /usr/tmpDSK

racz

Member
Jul 15, 2008
7
0
51
Hi all,

There is a very strange problem here (for me):

Sometimes, the /tmp is become full suddenly -> php can't make session files etc.
but
when i restart mysql, the /tmp is become empty.
i have 5 servers with centos+cpanel, 4 works fine, but this one is wrong with same settings.



the /tmp usage graph: wrong-restart-ok-wrong-restart....


Any idea?
 
Last edited:

racz

Member
Jul 15, 2008
7
0
51
i dont know, when the /tmp seems to be filled, there are the same files. When i restart the mysql, everything became OK but i think it's not the mysql's fault.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
i dont know, when the /tmp seems to be filled, there are the same files. When i restart the mysql, everything became OK but i think it's not the mysql's fault.
Could you provide some sample file names?

MySQL uses /tmp when performing actions such as table and database renames, as well as certain queries. It's possible those temporary files are not being removed, for whatever reason.

What is your MySQL version?
 

racz

Member
Jul 15, 2008
7
0
51
mysql Ver 14.12 Distrib 5.0.67, CentOS

file names:

lot of: sess_ff8f45b79xxxxxxxxxxxxx - php sessions, but apache remove this after use, and these size maximum some kB.
and the symlink of mysql.sock

That's all files stored in /tmp


"temporary files are not being removed, for whatever reason." - ok i see, but what could be the reason? :)