Results 1 to 10 of 10

Thread: MySQL + /usr/tmpDSK

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    7

    Default MySQL + /usr/tmpDSK

    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 by racz; 11-17-2008 at 02:46 PM.

  2. #2
    Member
    Join Date
    Jul 2008
    Posts
    7

    Default

    Anybody? give me some tips pls.

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    291
    Mitul

  4. #4
    Member
    Join Date
    Jul 2008
    Posts
    7

    Default

    Ok thanks, it seems to work

  5. #5
    Member
    Join Date
    Jul 2008
    Posts
    7

    Default

    Hmm it doesn't work. the problem have returned. I need help.

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,080
    cPanel/WHM Access Level

    Root Administrator

    Question

    Have you actually looked in the /tmp directory to see what's filling it up? Who is the owner of the files in there?

  7. #7
    Member
    Join Date
    Jul 2008
    Posts
    7

    Default

    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.

  8. #8
    cPanel Development cPanelKenneth's Avatar
    Join Date
    Apr 2006
    Posts
    4,131
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by racz View Post
    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?

  9. #9
    Member
    Join Date
    Jul 2008
    Posts
    7

    Default

    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?

  10. #10
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,080
    cPanel/WHM Access Level

    Root Administrator

    Question

    How large is your tmp/ directory? You may just need to increase the size of it. The files you mention are normal, and if they're being removed then the system is working as expected I would think.

Similar Threads

  1. moving tmpDSK out of "/usr"
    By BigLebowski in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-25-2011, 10:19 AM
  2. What is /usr/tmpDSK ?
    By furquan in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 05-12-2011, 10:02 AM
  3. tmpDSK
    By BigLebowski in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-25-2008, 06:28 PM
  4. tmpDSK at 100%
    By slinky in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 09-01-2008, 06:56 AM
  5. Replies: 2
    Last Post: 09-04-2006, 07:30 PM

Tags for this Thread