Current time: 11-26-2024, 04:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
disk limit is not effect
Author Message
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #1
disk limit is not effect
there is a problem about disk usage.
I add a user ,and Disk limit [MB](0 unlimited) field,I write 100

when I upload files using ftp,the file size sum more than 100M ,but ,I can also upload files.

so ,the disk limit is not effective
07-17-2009 05:59 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: disk limit is not effect
yes

its more or less a soft limit - the quotas are counted regularly and written in the database so you can see which customer has reached the (disk) quotas.

You should easily be able to implement a real diskquota - but you need to enable quota on the filesystem, write some code in the domain-engine and then you only count the website/ftp files - not the database and not the mails.

/J
07-17-2009 06:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #3
RE: disk limit is not effect
(07-17-2009 06:58 PM)joximu Wrote:  yes

its more or less a soft limit - the quotas are counted regularly and written in the database so you can see which customer has reached the (disk) quotas.

You should easily be able to implement a real diskquota - but you need to enable quota on the filesystem, write some code in the domain-engine and then you only count the website/ftp files - not the database and not the mails.

/J

yes ,I see.such as attachment,I have three user,byte_in_avail field means available quotas?


Attached File(s) Thumbnail(s)
   
07-17-2009 07:19 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: disk limit is not effect
ah - well, this is only a proftpd/quota thing.

Hm, this should be handled by proftpd alone.
Maybe have a look at the proftpd.conf and the according SQL-Statements...

I did not use them...

/J
07-17-2009 07:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #5
RE: disk limit is not effect
(07-17-2009 07:24 PM)joximu Wrote:  ah - well, this is only a proftpd/quota thing.

Hm, this should be handled by proftpd alone.
Maybe have a look at the proftpd.conf and the according SQL-Statements...

I did not use them...

/J

sorry.I do not quite understand what your means.quotalimits table only record the proftpd space?

'the quotas are counted regularly and written in the database so you can see which customer has reached the (disk) quotas.'

which table record the remaining space?
and how ispcp count remaining space?
07-17-2009 07:38 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: disk limit is not effect
table quotalimits is only there for proftpd.

the others (quota settings and actual values (disk usage) are in the domain table.

/J
07-17-2009 09:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)