Optimizing litespeed for high traffic

Discussion in 'Install/Configuration' started by sirjuninho, May 20, 2014.

  1. sirjuninho

    sirjuninho New Member

    Hello,

    I just installed litespeed in my server but don't know exactly how to optimize it to obtain the most of it. I have a single website with a high traffic volume.
    Can you guys help me?

    Thanks!
  2. NiteWave

    NiteWave Administrator

    need more info about your server
    you can post a screenshot of real-time stats during high traffic time, it usually gives a lot of info.
    lsws web admin -> Actions -> Real-Time Stats
  3. sirjuninho

    sirjuninho New Member

  4. NiteWave

    NiteWave Administrator

    the load is high.

    1. is opcode cache enabled ?
    2. run lsphp5 in suEXEC Daemon mode
    lsws web admin -> Server -> External App -> lsphp5 -> Run On Start Up: suEXEC Daemon
  5. sirjuninho

    sirjuninho New Member

    It's a brand new instalation, where I can see if opcode cache is enabled?

    Thanks!
  6. sirjuninho

    sirjuninho New Member

    I changed to "suEXEC Daemon mode".
    New real stats print:
    [​IMG]
  7. NiteWave

    NiteWave Administrator

    opcode cache is one of Zend OPCache or xcache or APC, need build it first, then enable it in php.ini

    Can you post the settings of
    lsws web admin -> Server -> General -> Using Apache Configuration File ?
  8. sirjuninho

    sirjuninho New Member

    I changed the "Max Conn" to 1k and it's loading pages pretty much faster now, but the load is still high.
    There it goes:

    [​IMG]
  9. NiteWave

    NiteWave Administrator

    since there is only 1 website on the server, you can try
    PHP suEXEC : No
  10. sirjuninho

    sirjuninho New Member

    I think it's ok now, the problem with Load is not litespeed, it's mysql

    Thanks a lot for the help NiteWave!

Share This Page