Erroneus quota

Discussion in 'Installation/Configuration' started by Davide, Jan 27, 2007.

  1. Davide

    Davide Member

    Sometimes showed quota at control panel are erroneus.

    For example, I'm getting "quota warning" emails about a domain of a reseller since January 5. It's correct, a du-hs shows it:

    du -hs *

    0 cgi-bin
    368K log
    0 Maildir
    0 phptmp
    0 ssl
    98M user
    2,4M web

    But in the control panel, I can see:

    Storage space: 100 MB
    used: 3.30M

    /log 368K
    /ssl 0
    /web 2.4M
    /user 552K
    /phptmp 0
    /cgi-bin 0

    Why "user" space is not correctly shown?

    I'd like to know too if is it possible to automatically send an e-mail to the reseller with their quota violations

    Thank you!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You must configure your server that the du command can be run by sudo with root priveliges. Then set $go_info["server"]["sudo_du_enabled"] = 1; in the file /home/admispconfig/ispconfig/lib/
  3. Davide

    Davide Member

    I suppose I have to allow sudo du to user admispconfig, isn't it?

    Thank you very much for your quick reply!
  4. Davide

    Davide Member

    Is it possible to send an e-mail to a reseller informing about quota violations, or those emails are only sent only to system administrator?

    Thank you
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    yes. Otherwise the controlpanel is not able to "see" all files from the users and so may show a incorrect quota value.

    It is currently only available for the admin.

Share This Page