ActiveDomain.NL
Verified User
Hello,
There is a problem that hasn't been fixed in the past few months. When users are using the backup function and during the backup, their quota is exceeded, the tar program starts using 100% of CPU. Most of the users restart the backup, because the backup function doesn't respond anymore, causing a really high load on the server, because 2 or 3 tar processes are using 100% CPU!
For example:
- User website is 75 MB
- User quota is 100 MB
This will reproduce this problem, because after 25 MB the user exceeded his quota and so the tar process will use 100% CPU.
I have this problem on FreeBSD 4.x and 5.x. I don't know if Linux has the same problem?
So the question is: how can I fix this? Is it maybe possible to add some check, so that a user can start only 1 backup process? Should be easy: save the PID of the first backup process and if the user wants to run another backup, check whether that PID is running or not.
Any help is welcome
There is a problem that hasn't been fixed in the past few months. When users are using the backup function and during the backup, their quota is exceeded, the tar program starts using 100% of CPU. Most of the users restart the backup, because the backup function doesn't respond anymore, causing a really high load on the server, because 2 or 3 tar processes are using 100% CPU!
For example:
- User website is 75 MB
- User quota is 100 MB
This will reproduce this problem, because after 25 MB the user exceeded his quota and so the tar process will use 100% CPU.
I have this problem on FreeBSD 4.x and 5.x. I don't know if Linux has the same problem?
So the question is: how can I fix this? Is it maybe possible to add some check, so that a user can start only 1 backup process? Should be easy: save the PID of the first backup process and if the user wants to run another backup, check whether that PID is running or not.
Any help is welcome
