Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

New /tmp folder fails...

Discussion in 'cPanel Developers' started by schoeps, Apr 15, 2008.

  1. schoeps

    schoeps Well-Known Member

    Sep 22, 2004
    Likes Received:
    Trophy Points:
    can someone please report this to bugzilla? I dont have the infos...

    It seems with a fresh WHM install, a /tmp mount point is created at 250 megs or so. Problem is that mysql is defaulted to that area to do operations like "repair" or "optimize". Therefore, if you db > than 250 megs, you will fill the tmp folder, which will never empty. If the database is bieng accessed by users, they will be held as "waiting". If you have a big site, they will gobble up all your sql connections. Since this problem does not resolve itself, you need to force it closed, marking the db as unusable since its flagged for repair. I think the old WHM used to just use the disk, no temp area.

    so if you have a big DB, up the size of that temp file or pay the price ;)

  2. cPanelKenneth

    cPanelKenneth cPanel Development Staff Member

    Apr 7, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    This loopback temp mount is only created if /tmp or /var/tmp is not already a separate partition.

    MySQL can also be configured to use a different location than /tmp or /var/tmp. Please read for details.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice