CPU/memory resource limits

#1
Hello everyone,

is it somehow possible under OLS/LSWS to split the hosting to different hosts and limit their CPU and memory resources without using PHP-FPM but LSAPI?

Best regards
Robin
 

Cold-Egg

Administrator
#2
You can't run a single OLS/LSWS web server for multiple hosting servers. Please elaborate on splitting the hosting to different hosts in more details.
 
#3
You can't run a single OLS/LSWS web server for multiple hosting servers. Please elaborate on splitting the hosting to different hosts in more details.
Okay, too bad.
I am currently trying to convert my customers' managed hosting to self-managed hosting and would basically like to clearly separate the websites from each other and introduce appropriate CPU and RAM limits - on the other hand, I would like to take the performance of the PHP-LiteSpeed SAPI with me.

Otherwise I would have to manage this via php-fpm, wouldn't I?
 

Cold-Egg

Administrator
#4
If those websites are on the same server, and you just want to limit the resources for each virtual host, you can consider CloudLinux system or a feature like cgroups. If you want to run the PHP per virtual host user, try suEXEC for each external app on the virtual host level, if you want to sandbox the whole data for each VH, try namespaces. Those features should have nothing to do with PHP handlers like php-fpm or PHP LSAPI.
 
Top