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!

What might fill up /var

Discussion in 'General Discussion' started by WebHostPro, Oct 5, 2006.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Strangly /var is filling up fast but I can't see where.

    Any thoughts on what might fill up var with a highly used mysql server? I'm sure it's logs but I think that I have checked every folder.

    Thanks! :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. JamesSmith

    JamesSmith Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    UK, Luton
    /var/log
    /var/spool
    /var/tmp
    /var/mysql

    You might want to try moving mysql to /home:

    /usr/local/etc/rc.d/mysql-server.sh stop ; mv /var/db/mysql /usr/home ; ln -s /usr/home/mysql /var/db/mysql ; /usr/local/etc/rc.d/mysql-server.sh start

    /usr/home because we're using FreeBSD, replace appropiately. Might be an idea to kill chkservd also.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 JamesSmith, Oct 5, 2006
    Last edited: Oct 5, 2006
Loading...

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