lsphp5 high load

Discussion in 'General' started by kan3, Sep 7, 2011.

  1. kan3

    kan3 New Member

    Hi,

    Lsphp5 is using high % of CPU. Any reasons why? Is there any way to fix it?

    [​IMG]


    Thank you.
  2. NiteWave

    NiteWave Administrator

    although it's high, it's quite common for a php-heavy website, for example a vBulletin forum. to reduce the CPU usage,
    1. install opcode cache(APC, XCache or eAccelerator)
    2. install memcached to cache mysql result
    3. enable page cache
    4. improve the php source code
    ....
    PHP as an interpreted language usually has low efficiency CPU usage.
  3. kan3

    kan3 New Member

    Hi Nitewave thanks for replying.

    I've already installed Xcache. Do you recommend installing memcached too?
  4. NiteWave

    NiteWave Administrator

    it depends on what php apps you've installed. if the app or its add-ons can utilize memcached, then install memcached. otherwise, it's useless.

Share This Page