Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

lsphp "Time to first byte" slow

Discussion in 'CloudLinux' started by nullmem, Jan 21, 2018.

Tags:
  1. nullmem

    nullmem Registered

    Joined:
    Jan 21, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    I was unable to find a topic addressing this issue, so if this is a duplicate inquiry, please forgive me. When using mod_lsapi the memory efficiency is excellent, but it comes at a cost.

    After some time of inactivity, the lsphp process dies off, and the process is respawned when a new visitor arrives. What I need is the ability to set lsapi_backend_children per user for my high-end accounts, and leave to the default of auto for my low-end accounts. Is this possible?

    Maybe setting lsapi_backend_pgrp_max_idle to 0 per user would do the trick as well, if possible.
     
    #1 nullmem, Jan 21, 2018
    Last edited by a moderator: Jan 21, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I don't believe it's possible to configure the lsapi_backend_children value on a per-user basis with CloudLinux. However, I encourage you to contact CloudLinux directly to verify if this is possible:

    CloudLinux - Technical Support

    Let us know the ticket number and we will update this thread with the outcome.

    Thank you.
     
  3. bjoern

    bjoern Registered

    Joined:
    May 11, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    DataCenter Provider
    Hello nullmem,
    hello cPanelMichael,

    Do you have any updates on this? Were you able to resolve that issue for you?

    I'm having the exact same situation with my lsphp/lsapi cPanel/CloudLinux installation. I'd be more than happy to find out how to resolve that.

    Thanks!
    Bjoern
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I don't see that the original poster opened a support ticket with CloudLinux. Could you open one and let us know the outcome?

    Thank you.
     
  5. bjoern

    bjoern Registered

    Joined:
    May 11, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Germany
    cPanel Access Level:
    DataCenter Provider
    Here is the CloudLinux support outcome (ticket id: 27907):

     
Loading...

Share This Page