Skip to main content

root directory is full

Comments

7 comments

  • hmaddy
    Check your old kernel files and eror_logs
    0
  • cPanelLauren
    It really depends on what is consuming space in / you would need to identify that first. Typically I do something like the following: cd / du -h --max-depth=1
    And drill down into the directories that are the biggest from there.
    0
  • abdelhost77
    Thanks Lauren, I go throw subfolder and found thoses two files eating ~10G inside /var/cpanel 4746948 eximstats_db.sqlite3 4856236 eximstats_db.sqlite3-wal Are both files required? Is it safe to remove "-wal" or at least move it to another partition ?
    0
  • abdelhost77
    For more info, in tweak settings I set the value : The interval, in days, to retain Exim stats in the database to 1 day.
    0
  • cPanelLauren
    Exactly the solution! I'm glad to see you changed that. This will keep the DB size down considerably.
    0
  • abdelhost77
    Thanks Lauren, The actual size is still enormous even if with 1 day exim stat retention: 4754268 eximstats_db.sqlite3 4864868 eximstats_db.sqlite3-wal Did I miss something? Is there a way to reset stats ?
    0
  • cPanelLauren
    I agree with you it is really large. To confirm you modified WHM>>Server Configuration>>Tweak Settings -> The interval, in days, to retain Exim stats in the database to 1? How much mail are you sending daily? I keep mine for 10 days and I barely use 7MB - short of not retaining eximstats in this instance I'm afraid there's not a lot that could be done. optimize eximstats is a script we do have present which will vacuum the database: [root@server cpanel]# /scripts/optimize_eximstats --help NAME scripts::optimize_eximstats SYNOPSIS /usr/local/cpanel/scripts/optimize_eximstats DESCRIPTION This script is used to vacuum (defragment) the eximstats database.
    You might try this to see if there's any change?
    0

Please sign in to leave a comment.