ispCP - Board - Support
disk limit is not effect - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: disk limit is not effect (/thread-7247.html)



disk limit is not effect - thinktodo - 07-17-2009 05:59 PM

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


RE: disk limit is not effect - joximu - 07-17-2009 06:58 PM

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


RE: disk limit is not effect - thinktodo - 07-17-2009 07:19 PM

(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?


RE: disk limit is not effect - joximu - 07-17-2009 07:24 PM

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


RE: disk limit is not effect - thinktodo - 07-17-2009 07:38 PM

(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?


RE: disk limit is not effect - joximu - 07-17-2009 09:13 PM

table quotalimits is only there for proftpd.

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

/J