Domain auto-suspends at limit, wrongly

HindrikOxilion

Verified User
Joined
Sep 23, 2011
Messages
33
Hello,

Since yesterday (out of the blue), for 1 single domain on one of our servers, DA suspends an account due to a bandwidth limit. This is the line from system.log:

/var/log/directadmin/system.log.1:2011:09:23-00:18:10: Domain <domain> has been suspended for user <user> with 1374.590102 used of 1000.000000

However, this user has an actual bw limit of 15360, and suspend_at_limit is NOT enabled for any user.

On the users listing page (listing all users), the correct limits are displayed, but on this user's details page (by clicking on the username), a limit of 1000 is displayed. All other users have "xxxx.x / shared", but this specific user has "yyyy.y / 1000".

It gets stranger, because exactly this problem has occured 1 year ago, exactly to the day. I cannot retrieve the steps that were taken then, but this problem went away for precisely 1 year.

All user.confs and other related files I can think of, all have the correct settings.

Does anyone have any ideas as to where I can find the cause of this, and solve it?

Thanks,
Hindrik
 
Hello,

Does the domain has its own bw limit?

Please show your

Code:
cat /usr/local/directadmin/data/users/<USERNAME_HERE>/domains/<DOMAIN_HERE>.conf
 
Alex, you just saved my day!

I had only run through the user.conf files, not the domain specific files, darnit ;)

Indeed this is the culprit, it mentions a bw limit of 1000.

Is there any known mechanic by which this could be (re-)set by anything other than user intervention?

I ask this since this occurs again exactly 1 year after the pervious occurence.

Anyway, thanks again :)

Hindrik
 
You can set it either in shell:

Code:
bandwidth=unlimited

or via directadmin.

Login as admin/reseller => user login (select proper username) => domain administration
 
Ow and one more thing, why did DirectAdmin suspend this domain, even when the global setting for suspend_at_limit is "Off"?

Is that something that can be managed also?

Thanks again.
 
It's an end-user level feature, so it does not depends on your admin/level settings. I guess, it's designed for users to control their bandwidth.
 
That does make sense indeed, since it's a user-level feature.

Well then, now I can at least tell my client exactly what was going on...

Thanks for your help!
 
Back
Top