Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th October 2014, 10:21
apple22 apple22 is offline
Junior Member
 
Join Date: Oct 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Wink ISPConfig Hard Quota plugin

Hello

I'm using ISPConfig 3.0.4.4 but there is no hard quota settings for the users. The quota what can be set on the panel is soft quota.

Disk quotas for user web3 (uid 5002):
Filesystem blocks quota limit grace files quota limit grace
/dev/sda 329864* 307200 308224 6days 7554 0 0

I wonder if anybody made a mod for ISPConfig to have additional hardquota fields there as well. This means all the current existing users using softquota values. I would like to define hardquotas for them as well.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 10th October 2014, 10:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,736
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default

ISPConfig sets hard quota. run:

repquota -avu

to see it.

example output from a ispconfig server:

Code:
root@server1:~# repquota -avu
*** Report for user quotas on device /dev/mapper/server1-root
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 2027476       0       0          90781     0     0
daemon    --      60       0       0              4     0     0
man       --    2020       0       0            150     0     0
www-data  --      40       0       0             10     0     0
list      --      60       0       0             13     0     0
libuuid   --      24       0       0              2     0     0
syslog    --     712       0       0             10     0     0
landscape --       4       0       0              2     0     0
administrator --      24       0       0              7     0     0
ntp       --       8       0       0              2     0     0
mysql     --   31720       0       0            365     0     0
postfix   --      96       0       0             54     0     0
clamav    --  189368       0       0              9     0     0
amavis    --    1072       0       0             17     0     0
bind      --      12       0       0              3     0     0
vmail     --      20       0       0              5     0     0
getmail   --      12       0       0              3     0     0
ispapps   --      12       0       0              3     0     0
ispconfig --   62996       0       0           8824     0     0
web1      --      92   51200   52224             22     0     0

Statistics:
Total blocks: 9
Data blocks: 1
Entries: 20
Used average: 20.000000
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th October 2014, 12:17
apple22 apple22 is offline
Junior Member
 
Join Date: Oct 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Quota problem

Hello

Indeed you are correct, by just issuing quota <user> the columns were not obvious. I also noticed that when I update the quota value for a specific user it takes 10-20 seconds or more before it's actually updated (shows up on repquota). Why is that?

What's strange for me that yesterday an user managed to overstep his quota with a lot (350mb, uploaded 1.8GB files) then complained that he have a problem with uploading which is obviously because of the quota.

He used BackWPup.

If a hardquota value is set how could this happen?

"Hard limits are an absolute limit. When you set this limit a user absolutely can not go beyond that limit. Soft limits, on the other hand, allows the user the exceed that limit with a grace period."
Reply With Quote
  #4  
Old 10th October 2014, 12:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,736
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
 
Default

Quote:
Indeed you are correct, by just issuing quota <user> the columns were not obvious. I also noticed that when I update the quota value for a specific user it takes 10-20 seconds or more before it's actually updated (shows up on repquota). Why is that?
Upadtes are applied once evers 60 seconds.

Quote:
What's strange for me that yesterday an user managed to overstep his quota with a lot (350mb, uploaded 1.8GB files) then complained that he have a problem with uploading which is obviously because of the quota.

He used BackWPup.

If a hardquota value is set how could this happen?
I dont know.you might have to ask the maintainer of the quota functionality of the filesystem that you used on your server. ISPconfig is just setting quota with the standard linux quota tools, if the filesystem on your server does not apply or respect the quota correctly while it is shown with repquota, then thats beyond the scope of ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
quota

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
Ispconfig and dovecot email quota not updated after email erased ftkyiu Installation/Configuration 7 4th June 2014 10:53
Can't Get new FTP accounts to function dgeho1 ISPConfig 3 Priority Support 6 3rd March 2014 08:59
ISPconfig 3: can't send or receive messages zogthegreat Installation/Configuration 6 22nd May 2010 15:45
Spamassassin not working hairydog2 General 7 12th July 2008 22:15
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46


All times are GMT +2. The time now is 21:04.


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