Performance

Discussion in 'PHP' started by Stefan Soellner, Dec 2, 2007.

  1. Dani

    Dani New Member

    # LSAPI_AVOID_FORK (default: 0)
    LSAPI_AVOID_FORK specifies the policy of the internal process manager in "Self Managed Mode". When set to 0, the internal process manager will stop and start children process on demand to save system resource. This is preferred in a shared hosting environment. When set to 1, the internal process manager will try to avoid freqently stopping and starting children process. This might be preferred in a dedicate hosting environment.
  2. James

    James New Member

    The performance difference between LiteSpeed result and nginx result is mainly because LiteSpeed start lsphp dynamically, while nginx start FastCGI PHP processes statically. Starting new PHP processes is expensive, if it happens during the test, it will affect the test results.

Share This Page