PDA

View Full Version : Wrong quota messages


Bruce
28th October 2005, 08:25
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


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:
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 repquota -avug to have a look at the correct quota values.

Bruce
28th October 2005, 10:30
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
is there a possibility to find out, what files belong to web2_oop?
Yes,
find / -user <username> finds all files of a user,
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

artimaster
15th September 2010, 15:44
Hello

www.xxxx.edu --> /var/www/web7

After some investigation i founded that www.xxxxx.edu uses a database, but this database is not shown on the ISP Site (www.xxxx.edu) Opsion configuration page (ISPConfig panel).

It is strange because the CMS that reside on /web7/ uses a database that is not as it should be named web7db1, but it is named web24db1. I checked the CMS config-files.
All the uploading things through CMS were going to this db (web24db1) and no quota is performed on the website.
I created a new db through ispconfig webpanel and than i migrated the old db to the new one (web7db1). After doing this I deleted the old one (web24db1).

And now it ISPConfig is showing the right value.