[solved] Make Litespeed compatible with Cloudlinux's limits

Michael

Well-Known Member
Staff member
#21
Howdy Stormy,

100% ModSecurity support is never going to be possible, but better support is a big priority for us — this is always true, but we're especially focusing right now.

m
 

stormy

Well-Known Member
#25
I have Cloudlinux NPROC at its default of 100. Litespeed Process Soft Limit and Process Hard Limit are set at 200, which is obviously wrong. Not sure if this is Litespeed's default or if it was set by my DC.

Should I set both limits at 100 so they are the same as Cloudlinux then?
 

Pong

Administrator
Staff member
#26
Yes, you can. If there is any problem, you might want to increase limit to a little bit higher.

Now litespeed has 400 as soft limit and 450 as hard limit.
 

Pong

Administrator
Staff member
#28
Regarding the soft limit and hard limit, You can check
http://litespeedtech.com/docs/webserver/config/security#procSoftLimit
http://litespeedtech.com/docs/webserver/config/security#procHardLimit

You can set the same or different.

Regarding how cloudlinux and Litespeed work together, I believe both run independently on the limit. No mather how your setup (the same or different, which one is greater), either one reaches the limit will trigger the error. Logically Cloudlinux limit >= litespeed limit.
 

stormy

Well-Known Member
#29
Advice from Cloudlinux support is to set them both at 100, the same as NPROC in Cloudlinux. I've done the change, so far so good.

Thanks for the help!
 
Top