Skip to main content

System Disk Warnings

Comments

9 comments

  • cPanelMichael
    Hello, Do you notice any entries for the notifications in /var/log/exim_mainlog? Have you tried enabling and disabling the notification configuration in "Tweak Settings"? Thank you.
    0
  • sozotech
    Nothing to note in the exim logs. As I mentioned I am getting other emails from like account adds, deletes, etc so I am confident that is working. I will try disabling and re-enabling this setting and see what it does. I was just surprised to see the /home partition on a couple servers over 85% and I've not seen any warnings. Once I make this change, how long should it take to get a notifcation? I assume it runs a few times a day from cron? Eric
    0
  • cPanelMichael
    I will try disabling and re-enabling this setting and see what it does. I was just surprised to see the /home partition on a couple servers over 85% and I've not seen any warnings.

    What do you have configured for "Account system disk usage "warn" percentage" and "Account system disk usage "critical" percentage" under the "Notifications" tab in "Tweak Settings"? Thank you.
    0
  • sozotech
    They are both set to the defaults which are 82.55% and 92.55%. Eric
    0
  • cPanelMichael
    You can manually run the following command to run the quota check script to see if it's working as expected (assuming your disk space usage is above the threshold):
    /usr/local/cpanel/scripts/quotacheck
    Thank you.
    0
  • sozotech
    Doesn't that just check the account quotas? To be clear the emails I am missing are for the disk partitions not individual account quota emails although those may not be working either. Eric
    0
  • cPanelMichael
    Hello, The email generated for the system disk space notifications comes from Chkservd. Try running the following command:
    /scripts/restartsrv_tailwatchd && tail -f /var/log/chkservd.log
    It will run through and output the results of "Disk Check". Thank you.
    0
  • sozotech
    Perhaps this is the issue. The log file shows 81.06% usage.
    tail /var/log/chkservd.log [2015-05-07 13:11:40 -0400] Disk check .... /dev/mapper/vg_serverx-lv_root (/) [81.06%] ... /dev/mapper/vg_serverx-lv_tmp (/tmp) [2.32%] ... /dev/vda1 (/boot) [15.81%] ... {status:ok} ... Done
    However a df on the filesystem shows something different.
    df -h . Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_serverx-lv_root 480G 389G 67G 86% /
    Why would there be a 5% difference between the two? Eric
    0
  • cPanelMichael
    Hello, Is it possible there are processes running with open files that have since been deleted? A system reboot is often a quick way to ensure any processes running with deleted files are closed. Thank you.
    0

Please sign in to leave a comment.