php lsapi instances

Discussion in 'Install/Configuration' started by suncare, Jul 6, 2005.

  1. suncare

    suncare New Member

    Docs say that "Some Fast CGI/LSAPI application can spawn multiple children processes". Is php compiled as lsapi one of these applications?
    So, what's the recommended value of this option if Max Connections = 2000.
    Thank you.
  2. mistwang

    mistwang LiteSpeed Staff

    Current release of PHP LiteSpeed SAPI cannot spawn multiple children processes, but this function will be added.
    So, you need to set "instances" to match "max connections".
    It is not recommended to set "Max connections" to 2000, unless you have a super powerful server, and usually you don't need to set it to that high even for a very busy web site, 100 is more than enough and usually gives the best performance.

Share This Page