Often checking disk usage

Discussion in 'General' started by wrkilu, Feb 21, 2026 at 5:52 PM.

  1. wrkilu

    wrkilu Member

    Hi,
    I noticed my webserver with ISPConfig3 is loaded all time by command "du -s /var/www/clients/client*/we*"
    As you see this is triggered from cron from script /usr/local/ispconfig/server/cron.sh. Its run every 5 min on my server. But it takes some time to check disk usage so I feel its running all the time :(
    Why disk usage have to be checked all time - this is ridiculous I think. How to disable it OR how to run it more more rarely ?
    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This happens as a fallback when your server does not has proper Linux filesystem quota support. The only way to remove filesystem quota checks currently is to remove the 100-monitor_hd_quota.inc.php in /usr/local/ispconfig/server/lib/classes/cron.d/ Or you enable Linux filesystem quota on your system, then this command does not has to be run by ISPConfig.

    Not sure if your server is either so large or so slow and heavily loaded as it takes e.g., 5-6 seconds to scan a virtual server with 30GB web spaces and just 2 cores and 8GB ram using this command.
     
    Last edited: Feb 21, 2026 at 9:33 PM
  3. wrkilu

    wrkilu Member

    Thank you for answer. And thats true - this server isn't too powerful.
    Questions:
    1. Could you provide mie link to some documentation to configure quota with ISPConfig ?
    2. How we can decide/control how often these things from /usr/local/ispconfig/server/lib/classes/cron.d are executed ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It is normally done by the auto installer, if you do not have quota enabled the you probably ran the auto installer with no quota option because your VPS lacks quota support. if you want to try to configure quota manually, you could follow e.g. the steps from chapter 11 here:

    https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/

    starting from "Edit /etc/fstab. Mine looks like this (I added ,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 to the partition with the mount point /):" until the end of the chapter.

    It's in the cronjob file, open it, and you find it near the top:

    Code:
        // job schedule
        protected $_schedule = '*/5 * * * *';
     

Share This Page