Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    51

    Default Several files over 1GB in my /var - What are they?

    I have a bunch of files in /var/lib/mysql

    They are named like this:

    christopher-bin.000001
    christopher-bin.000002
    christopher-bin.000003
    christopher-bin.000004
    ...
    christopher-bin.000008

    They are dated about every 9 or 10 days.

    Any idea what they are? How they got there? Can I delete them?

    They are occupying 50% of my /var volume.....

    Thanks.
    Jason

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    51

    Default

    I did a "cat" to one of them. They appear to be millions of mysql insert commands from my MailScanner spam and virus system.

    Can I get rid of these? or change where they are stored?

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by jasgot View Post
    I did a "cat" to one of them. They appear to be millions of mysql insert commands from my MailScanner spam and virus system.

    Can I get rid of these? or change where they are stored?
    This article might help: http://servertune.com/kbase/entry/78/
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  4. #4
    Member viraj's Avatar
    Join Date
    Sep 2006
    Location
    India
    Posts
    209
    cPanel/Enkompass Access Level

    DataCenter Provider

    Red face

    Hi Jason,

    These are the binary log files needed if you are using/running a MySQL database cluster, these are needed for replication from Master to Slave & vice versa. If you aren't, then you can proceed with the deletion of those files & to stop them of occurring follow these steps :

    1) Edit the MySQL configuration file : vi /etc/my.cnf
    2) Search for log-bin entry & remove or comment it.
    3) Save the config file & restart MySQL.

    You are done

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    51

    Default

    Quote Originally Posted by viraj View Post
    Hi Jason,

    These are the binary log files needed if you are using/running a MySQL database cluster, these are needed for replication from Master to Slave & vice versa. If you aren't, then you can proceed with the deletion of those files & to stop them of occurring follow these steps :

    1) Edit the MySQL configuration file : vi /etc/my.cnf
    2) Search for log-bin entry & remove or comment it.
    3) Save the config file & restart MySQL.

    You are done
    GREAT! Thank you! I just backed them up and deleted them.

Similar Threads & Tags
Similar threads

  1. /var full of packlist files...
    By [O-CuK]Marci in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-19-2007, 10:48 AM
  2. too many files in /var partition
    By upsforum in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 02-19-2007, 05:33 AM
  3. Strange Files in /var/spool/
    By northservers in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-29-2006, 05:19 PM
  4. My /var/log/files are very strange - someone know what is it?
    By IRCBrasil in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-23-2006, 11:34 AM
  5. /var/account multiple files
    By hicom in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-19-2004, 12:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube