Solved Resource restrictions plugin?

webcraft

Verified User
Joined
Dec 10, 2021
Messages
20
Hello,
I know with Pro Pack there's inbuild support for resource throttling. Since I don't need anything else from pro pack, I wonder whether I could achive something similar with other features or plugins. I know how to manually do it for each system user but it's inconvenient. I already tried to implement kind of an api proxy which forwards the general request to directadmin but if it detects a creation/change on a users account another script is executed which sets the cgroup entry for the user. This is bad style though I think, hence maybe I missed some better solution that has been posted within another thread I didn't find.
 
I assume you dont want CloudLinux either.
Ohh yes, forgot to mention this. CL LVE is very good but something I don't want in this case.
My intention is to impose a general limit for all users to prevent the system from drowning because of scripts going crazy,
 
I don't think there is a not a NON paid solution other than the manual way.
 
You can look for: cgroups, php-fpm "max_children", "max_execution_time", mysql "max_user_connections", csf "Process Tracking", nginx "rate limit / limit_req" and so on. Only cgroups can hardly limit CPU usage, all another just can help to keep balance.
 
Back
Top