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 22nd December 2009, 15:21
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Arrow ISPConfig 2 | website over quota

I've allocated 400 MB Storage space to one of my clients websites.
When i had a look to the statistics of that website is see that the client has used much more than 400 MB.
This is what i see:

Storage space: 400 MB
used: 1.53G
/web: 1.4G


The allocated webspace to the administrator user of the website is also 400 MB.
So i ask myself how this is possible, is there an explanation for this?

(I use Debian Lenny with ISPConfig 2.2.35)
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
Sponsored Links
  #2  
Old 22nd December 2009, 19:26
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default Output of repquota -avug

When i execute the command repquota -avug the following output for the website is shown.
(See atachment)

I see the 400 MB (409600), which i've alocated to the web, does this mean a bug within ISPConfig?
Attached Files
File Type: txt output.txt (207 Bytes, 187 views)
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 22nd December 2009 at 19:38.
Reply With Quote
  #3  
Old 23rd December 2009, 12:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
Default

Quote:
does this mean a bug within ISPConfig?
No, thats no bug. This are just two different measuring methods used which cause different results.

The ispconfig interface check the size of the different directories of a website with the command "du". This means that only files are counted that are within these directories. The repquota command counts all files that belong to a specific user on filesystems that have quota enabled independantly where they are stored.

Quote:
So i ask myself how this is possible, is there an explanation for this?
Check the content of the web directory, there must be files inside that are not owned by the admin user of the website, so they are counted by du but not by the quota.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 23rd December 2009, 12:57
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

Hi Till,
That's weird. I use suPHP for the website and every single file within the /web folder (which is 1.4 GB) is owned by the user:group of the web.I am really sure about this.

WebDAV is also enabled for that website. Is it possible that this has something to do with it?
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #5  
Old 23rd December 2009, 13:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by Hans View Post
I've allocated 400 MB Storage space to one of my clients websites.
When i had a look to the statistics of that website is see that the client has used much more than 400 MB.
This is what i see:

Storage space: 400 MB
used: 1.53G
/web: 1.4G


The allocated webspace to the administrator user of the website is also 400 MB.
So i ask myself how this is possible, is there an explanation for this?

(I use Debian Lenny with ISPConfig 2.2.35)
I guess this is caused by the logs in the log directory. They are written as root, and afterwards a chown is done. You can delete old log files.
__________________
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 18th January 2010, 19:00
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

@Falko,
Sorry for my late reaction, but i just came back from holiday.
I do understand that big log files could be a reason, but when i click on the "Statistics" tab, i can see that amount of data within the /log directory is mentioned separately.

I deleted old logfiles for the website and the content of the /web directory is still much bigger then the set quota, which is 400 MB for the directory /web.
(actually nothing changed)

So, i can see that users can upload more data within the directory /web as 400 MB. I also had a further look to other websites and i found out that for some websites (a few) the directory /web contains also more then the quota defined within ISPConfig by me.

After executing the command: du -h web, i found a directory with backup data (1.1 GB) of my client, which means that he could upload more data then defined within ISPConfig.

*** Update: ***
In the mean time i've contacted my client.
He was using a backupscript.
This script made backups within a subdirectory within the /web folder, So the data was not uploaded to the server.
Now the huge amount of data has been deleted.

I really ask myself how the over quota was possible and why the defined quota of 400 MB was not the limit???
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 19th January 2010 at 11:26.
Reply With Quote
  #7  
Old 19th January 2010, 15:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by Hans View Post
I really ask myself how the over quota was possible and why the defined quota of 400 MB was not the limit???
Probably the files were created as a different users (so that the quota didn't apply), and then later on the ownership got changed.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
Hans (19th January 2010)
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
journaled quota and ISPConfig 3 (any problems?) tensor Installation/Configuration 1 28th September 2009 22:31
Website Quota, where ? ivomendonca General 1 13th September 2009 13:04
chgrp error new user DKA General 15 28th July 2008 17:45
Securing an ISPConfig website llamy General 8 31st July 2007 05:46
ISPconfig is not picking up the website its going to apache test page grandpagenocide Installation/Configuration 5 13th July 2007 06:17


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


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