HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Wrong quota messages (http://www.howtoforge.com/forums/showthread.php?t=1027)

Bruce 28th October 2005 08:25

Wrong quota messages
 
Hi!

I created an user with an emailaddress. This emailadress "example@bla.com" is used as a mailing list, using many mailadresses to forward messages, that are send to the mailadress (example@bla.com).
Now, I get wrong quota messages:
Some Users/Groups Are Near Or Already Over Their Quota Limit On Server server.bla.com

Code:

The following users are near or already over their quota limit on server server.bla.com:
===================================================

Username:                          web2_forward
Used Storage Space:          94.23 MB
Allocated Storage Space:    50.00 MB
User's Real Name:              OOP
User's Email Address:          forward@bla.com
Web Site:                            www.bla.com
Group Of Web Site:            web2

Customer's Company:          XXX
Customer's Name:                XXX
Customer's Address:            XXX
City:                                     
Country:                             
Telephone:                         
Telefax:                               
Customer's Email Address: 
Customer's Web Site:          http://www.XXX.de

Reseller's Company:              XXX
Reseller's Name:                    XXX
Reseller's Address:                XXX
City:                                      XXX
Country:                                XXX
Telephone:                            XXX
Telefax:                               
Reseller's Email Address:      XXX
Reseller's Web Site:              XXX

(Links and Addresses are changed by me)

A "du -s" to the users directory shows:
Code:

du  -h web2_oop/
8,0K    web2_oop/web
4,0K    web2_oop/Maildir/tmp
4,0K    web2_oop/Maildir/new
4,0K    web2_oop/Maildir/cur
16K    web2_oop/Maildir
140K    web2_oop/

Any idea, why? I get these wrong messages for some web-accounts und for some user-accounts.

Best regards,
Sebastian

falko 28th October 2005 10:07

Run
Code:

repquota -avug
to have a look at the correct quota values.

Bruce 28th October 2005 10:30

Code:

Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
...
web2_oop  +-  96488    1024    1024  6days    6723    0    0
...

but why? how could that be possible? the web2_oop - folder has only some kb ?!

falko 28th October 2005 11:03

All files/directories that belong to web2_oop go into that quota value, no matter if they are in the web2_oop folder or somewhere else.

Bruce 28th October 2005 11:04

is there a possibility to find out, what files belong to web2_oop?

till 28th October 2005 11:54

There might be an option for the find command, butI'am not shure. I recommend to first have a look at the /temp folder and then at /var/spool/mail/ if there are any files owned by web2_oop.

falko 28th October 2005 11:54

Quote:

Originally Posted by Bruce
is there a possibility to find out, what files belong to web2_oop?

Yes,
Code:

find / -user <username>
finds all files of a user,
Code:

find / -group <groupname>
all files of a group.

artimaster 13th September 2010 11:29

Hello,

I have the same problem.


The following groups are near or already over their quota limit on server xxxxx:
================================================== =

Group: web7
Used Storage Space: 771.03 MB
Allocated Storage Space: 300.00 MB
Web Site: www.xxxxxxxxxx.edu

Customer's Company: XXXXXXXXX
Customer's Name: XXXXXXXXXXXX
Customer's Address:
City:
Country:
Telephone:
Telefax:
Customer's Email Address:
Customer's Web Site: http://
================================================== ==

The output of #du -h /var/www/web7 is:
171M total

Ispconfig shows the same through the web-panel.

The output of #find / -group web7 shows only files that are in the /var/www/web7 folder.

I checked the /tmp or /home/admispconfig/ispconfig/tmp but there are no files owned by that user.

The output of #repquota -avug for this group is:
web7 +- 778744 286720 287744 6days 3840 0 0

Another thing is that there is no db for this client.

What is causing this over-quota.
Any help will be appreciated.

falko 14th September 2010 14:49

Please check the /var/www/web7/log directory if there are any large log files. If you don't need them, you can delete the logs.

artimaster 14th September 2010 15:32

Hello,

I checked that folder many times but there is only the last month logfile an it is only 8.2 Mb


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

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