[solved] Make Litespeed compatible with Cloudlinux's limits

Discussion in 'Feedback/Feature Requests' started by Monarobase, May 1, 2013.

  1. Michael

    Michael Administrator Staff Member

    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
     
  2. wanah

    wanah Member

    I'm going to have to think hard about that one as 4.2.5 seems to solve all of mine in one go ! :)
     
  3. stormy

    stormy Member

    So - what's the recommended configuration for limits now? Same in Cloudlinux and Litespeed?
     
  4. mistwang

    mistwang LiteSpeed Staff

    Cloudlinux limit >= litespeed limit.
     
  5. stormy

    stormy Member

    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?
     
  6. Pong

    Pong Member

    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.
     
  7. stormy

    stormy Member

    I'm not sure how the soft and hard defaults interact with Cloudlinux. Should they both be set the same?
     
  8. Pong

    Pong Member

    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.
     
  9. stormy

    stormy Member

    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!
     

Share This Page