Exclude folders from quota?

elbarto

Verified User
Joined
Oct 8, 2008
Messages
133
Hi guys,

I have the following problem which I guess some of you might have had and you can probably help me to solve it.

I'm using PHP with eAccelerator. The cache files of eAccelerator are created in /tmp/eaccelerator. Since PHP is running with suPHP, the cache files are owned by the user who created it. The problem is that when the quota check runs, those cache files are counted and sometimes my clients see a big difference between the disk space their are using and what DA shows them. That leads to complaints and I need to delete the cache and recalculate the quota.

Is it possible to avoid the quota check from checking /tmp? Has this happened to you? How did you solve it?

Thanks!
 
You should use /tmp as a separate mount point with disabled quotas.

Thanks zEitEr. Now I have one question, can I separate /tmp without re-partitioning my disc? I've found this, but I'm not sure if this is a safe/useful procedure for me. Is that the right way to go?

Thanks!
 
i have same problem like this and not found a solution
so my final solution is i disabled eAcellerator.

And i'm not sure link have you given will work for this case because i have tried it before.
 
@zEitEr:

Do you manage to run DirectAdmin on a gentoo install? Or are you just pointing to that page for documentation?

Jeff
 
Back
Top