I'm not sure what version this was added but when add-on domains are removed from a cPanel account it does a stats run on the account. This is great idea to make sure a users bandwidth and such are accurate. However I don't think it was thought through the implementation. It does a complete stats run of the account not just the specific domain. So here's a situation that happens:
User had 10 add-on domains on their account and they're removing 5. They remove one after another within a minute they now have 5 stacked stats processes. I don't think these processes even follow the cpuwatch so they just sky rocket server load as I doubt many expect to have numerous stats runs going on at the same time so no one is going to compensate for this situation.
I think the best solution is to add a feature to the stats run script to process only a specific domain on an account. This would help with this problem there is no point in running it for the entire account.
The other way is maybe adding some sort of queue system or check if there is one already running don't start another.
This feature really needs to be improved upon. It just causes way too much system resource strain at this time due to the lack of limitations on it.



LinkBack URL
About LinkBacks
Reply With Quote





