User Quota Message [BUG]

Orbixx

Verified User
Joined
May 2, 2008
Messages
44
A day ago, I received a message from DA saying:

DA said:
This is an automated message notifying User <username here> that 4.42% of his/her bandwidth and 95.8% of his/her allocated disk space has been used up.

It is estimated, at the current rate of use, that the account bandwidth will be used up in 432.10 days, at which time the account may be suspended for the remainder of the month.

The User should contact Support if this is an issue.

================================
Automated Message Generated by DirectAdmin

Needless to say, I laughed quite hard. Just submitting this as a bug, really - let me know if you can reproduce it.
 
It's not a bug. Whenever disk space usage gets to 95% DirectAdmin will let the user know. The math it uses to determine the number of days required to use up the rest is based on the average change in data per day.

Jeff
 
Yes, but it's informing the user they have a ridiculous amount of days left (of the rest of the month) before their account is suspended.

The message is regarding disk space, the actual suspension warning is about bandwidth.
 
A day ago, I received a message from DA saying:



Needless to say, I laughed quite hard. Just submitting this as a bug, really - let me know if you can reproduce it.

Check mine!

This is an automated message notifying User jphotog that 0.46% of his/her bandwidth and 196% of his/her allocated disk space has been used up.

It is estimated, at the current rate of use, that the account bandwidth will be used up in 1718.62 days, at which time the account may be suspended for the remainder of the month.

The User should contact Support if this is an issue.

First of all, I go in with the file viwer, and I can't find files that take up that much space at all. It says I'm allocated 400 megs, but I'm taking up 195 percent of that, but I don't see that amount of space being taken up at all. I don't understand. But I got a good laugh from 1716.62 days. Well, at least I can sleep in on the last day!
 
Hello,

To customize the template, start with this guide:
http://help.directadmin.com/item.php?id=244

The file is: user_limit.txt

One way to hide the banwidth limit, when it doesn't apply is to make the custom/user_limit.txt look like:
Code:
|?SUBJECT=User `USERNAME` has used up `BANDWIDTH`% of his/her bandwidth and `QUOTA`% of his/her allocated disk space|
This is an automated message notifying User |USERNAME| that |BANDWIDTH|% of his/her bandwidth and |QUOTA|% of his/her allocated disk space has been used up.
[B]|*if TIMELEFT<"32"|[/B]
It is estimated, at the current rate of use, that the account bandwidth will be used up in |TIMELEFT| days, at which time the account may be suspended for the remainder of the month.
[B]|*endif|[/B]

The User should contact Support if this is an issue.

================================
Automated Message Generated by DirectAdmin
which will only add that middle sentence if there are less 32 days for the TIMELEFT value. If that works out for you, I will consider making it default. However, clients do need to pace themselves if they are under 1000 days left in the month at their current rate ;)

John
 
Back
Top