Possible bug with user quotas

webquarry

Verified User
Joined
Mar 19, 2004
Messages
171
Am running the latest DA but I notice that many accounts are created with no system quotas.

Upon investigation, it turns out that these accounts are all accounts that were created by resellers and the resellers gave them "unlimited" disk space.

Is this because the reseller can oversell? (The reseller has a 5 gig quota)

To my way of thinking, the reseller should not be able to create accounts with no quota. At the most they should be able to create 5 gig quotas (since they can oversell).

Any thoughts?
 
If I understand correctly this isn't a bug. Overselling allows the reseller to create users which are allocated even more than the reseller himself has been allocated.

Disabling Overselling should keep resellers from being able to create users with unlimited quota.
 
I would understand it should be like, reseller can oversell as in set unlimited, but they cannot actually use the unlimited (in the above case reseller over limit when user hits 5 gig and suspended if suspension enabled), if this isnt the case then I will disable allow overselling. Because overselling is selling whats not there, if they can use it then it is there.
 
Yeah I agree.

This "feature" allows any reseller to create unlmited numbers of users that can effectively DOS a machine simply by filling all the disk space. Easily done by making a script that simply copies a large file over and over again...

Bad news

I'd suggest that overselling by modified slightly so that any user that an overselling reseller makes is give the reseller's disk quota.

No one except root should even have an unlimited disk quota under any circumstances. That's just asking for trouble.
 
Diskspace is a problem because DA does not suspend users that have used more than thier diskquota therefor even if you disable overselling for a reseller or your reseller does all the right things and set up quotas for the enduser overuse can still kill your server.

DA decided to not suspend users because of using too much diskspace because that user can then no longer log in to remove files, this makes sense but it does leave us with some work to do and that is to notify all customers that use too much diskspace that they have to clean up thier directories or face the concequences.

regards,
Onno Vrijburg
 
Ok so this generates a problem that we can monitor our reseller's and so forth but monitoring the reseller's users?

If I disable overselling does this disable reseller's able to sell unlimited space?

If a resller is using 1 gig of space and his 1st user is using 2 gig and his 2nd user is using 4 gig, will I see 1 gig used or 7 gig used?
 
Last edited:
Chrysalis said:
Ok so this generates a problem that we can monitor our reseller's and so forth but monitoring the reseller's users?

If I disable overselling does this disable reseller's able to sell unlimited space?

If a resller is using 1 gig of space and his 1st user is using 2 gig and his 2nd user is using 4 gig, will I see 1 gig used or 7 gig used?

Even if you disable overselling the problem will not go away.

What disabling overselling will do is that the reseller cannot create more accounts if the total quota for the useraccounts of the reseller is equal to or larger than the resellers allowed quota. The reseller will not be able to create unlimited accounts.

Remember that selling and using are 2 very different things as DA will not suspend accounts that use more than thier allocated quota.

You will see 7Gb in use based on your example.

Regards,
Onno Vrijburg
 
Back
Top