Submitted by zonez on Tue, 06/16/2009 - 09:21
Today one of the virtual server hosted on virtualmin reached it's bandwidth quota.
The main server, MySQL login, etc got disabled perfectly, but the sub server running under the main server didn't.
Is this a bug or just a design flaw?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 06/16/2009 - 11:13 Comment #1
Sounds like a design flaw. I presume you are wanting the sub-server's websites to be disabled too?
Submitted by zonez on Tue, 06/16/2009 - 11:16 Comment #2
Hi Jamie,
Yes, that would be nice.. It was actually one of the sub servers causing the huge bandwidth use, and leaving that server enable would defeat the purpose of automatically disabling servers..
Thanks, Ivor
there is an option somewhere to have BW on aliases count to main server. I forgot where it was, but shouldn't sub-server be there as well?
Submitted by zonez on Tue, 06/16/2009 - 11:31 Comment #4
Hi Ronald,
It's not counting that's the issue (bandwidth is counted fine, both accumulative for the main server and per-sub server..), it's the automatic disabling that doesn't occur for sub servers.
Submitted by JamieCameron on Tue, 06/16/2009 - 15:36 Comment #5
The next Virtualmin release will disable the top-level server and all sub-servers when the total bandwidth limit is exceeded..
that would not be happening by default I hope? The traffic generated by a sub-server will not count automatically to the main domain and disable the whole lot...
Let's say I give away small packages to let clients get acquainted to my services: client1.example.com, client2.example.com etc etc.
Now one of those clients exceeded the 1 GB traffic limit. Then all domains would stop working..including my own example.com which has 5GB traffic?
It should be an option in the server template or account plan somewhere instead of default behaviour...or am I misreading?
Submitted by JamieCameron on Tue, 06/16/2009 - 17:59 Comment #7
In Virtualmin, each top-level virtual server has a bandwidth limit which applies to it and all sub-servers. These are all managed under a single login, and will typically be owned by a single customer. So if the total bandwidth limit is exceeded, all will get disabled, as there is no concept of separate per-sub-server limits.
However, this is quite separate from DNS sub-domains. So you could have Virtualmin top-level servers client1.example.com and client2.example.com, and as long as they have separate administration logins and bandwidth limits, one being disabled will no effect the other.
This went through my head as well + that virtualmin "doesn't care" about names= result not sure. thanks for making it clear. This will work for me too. :)
Submitted by Issues on Wed, 07/01/2009 - 10:18 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.