Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th November 2005, 10:16
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,238
Thanks: 70
Thanked 21 Times in 17 Posts
Default another quota question...

I got the following mail:

Quote:
The following users are near or already over their quota limit on server
h5810.serverkompetenz.net:
================================================== =

Username: web19_tibi
Used Storage Space: 50.00 MB
Allocated Storage Space: 50.00 MB
My situation is the following: This user is the admin of a site which has 5GB allocated, when I created his user account I gave him 50 MB thinking if he needs more he can allocate it himself.
My question now is this: he is using the shell access (I guess using sftp) to transfer his huge website (lots of photos) to my server, but when he is copying files they will belong to the following owner: web19_tibi:web19 (which is normal) but does this mean I will always get warnings that he exceeded his quota? Do you have to set the quota of the administrator equal to the quota of the site itself?
How does quota work?
Reply With Quote
Sponsored Links
  #2  
Old 20th November 2005, 14:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Tenaka
but does this mean I will always get warnings that he exceeded his quota?
Yes.

Quote:
Originally Posted by Tenaka
Do you have to set the quota of the administrator equal to the quota of the site itself?
Not necessarily, but you have to keep in mind that it's the admin who uploads all the files to the web folder so he should get a reasonable quota. If your web site has a quote of 5 GB, then I'd give the admin at least 500 MB.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th December 2005, 15:17
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 245
Thanks: 4
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default

Wouldnt be better a 1:1 ratio? For example if the site has 20MB, and the admin only 15MB, how could ever the site use all the 20MB? And I'm talking about sites with no users, only 1 admin.
Reply With Quote
  #4  
Old 20th December 2005, 16:21
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,238
Thanks: 70
Thanked 21 Times in 17 Posts
Default

you are right, the site I was talking about needs this.
only the admin will be uploading stuff.

btw. if I give the admin a "-1" as space quota does that mean he can use up to the max size of the space allocated to his site or really unlimited space?
Reply With Quote
  #5  
Old 20th December 2005, 16:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

If a web site has only the admin user, then it sure makes sense to give the admin the same quota than the web site. But if you have more than one user, you should also give the other users some web space which decreases the space you can give to the admin.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 20th December 2005, 17:03
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,238
Thanks: 70
Thanked 21 Times in 17 Posts
Default

well yes, but would this scenario work:

site: 50 MB
admin: -1
user1: 10MB

would that allocate 10 MB to the user and 50MB-x= to the admin? x meaning whatever the user does not use, so if the admin imediately takes up 45MB the user would only have 5 MB ?

Of course these users would be the only ones on this site.
Reply With Quote
  #7  
Old 20th December 2005, 19:22
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 245
Thanks: 4
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default

I really dont think so. Maybe if user completes 10MB early in his life, all would be ok. But there is no way to assure those 10MB for him if admin has no quota limits... Am I right?
Reply With Quote
  #8  
Old 20th December 2005, 20:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Tenaka
well yes, but would this scenario work:

site: 50 MB
admin: -1
user1: 10MB

would that allocate 10 MB to the user and 50MB-x= to the admin? x meaning whatever the user does not use, so if the admin imediately takes up 45MB the user would only have 5 MB ?

Of course these users would be the only ones on this site.
The admin user would have unlimited space, but he belongs to the web group, and that group has only 50 MB. So if the admin user uses FTP to upload files, the files will belong to him and the web group, and therefore he cannot exceed the web group quota. If user1 has used 10 MB so far, that would be 40 MB.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 20th December 2005, 20:53
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 245
Thanks: 4
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default

So if the user has 10MB, the sistem protects them from being used by someone who has no quota? I havent test it, but it seems reasonable.
Reply With Quote
  #10  
Old 21st December 2005, 01:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

If the admin user (in our example) with no quota uses 50 MB, then there's no more space left for user1 with 10 MB because both users belong to the same group, and the group has a quota of 50 MB.
So it is a good idea to give everyone a reasonable quota.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong quota messages Bruce General 10 15th September 2010 15:44
question about codomains Ovidiu General 3 13th November 2005 13:48
Question about 'localhost' as Hostname Lil'Brudder Installation/Configuration 2 31st October 2005 09:58
Quota return linutzy Server Operation 2 6th September 2005 20:01
quota format not supported by file system bobway54 HOWTO-Related Questions 1 15th August 2005 10:55


All times are GMT +2. The time now is 18:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.