The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What might fill up /var

Discussion in 'General Discussion' started by DWHS.net, Oct 5, 2006.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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
     
  2. JamesSmith

    JamesSmith Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
    #2 JamesSmith, Oct 5, 2006
    Last edited: Oct 5, 2006
Loading...

Share This Page