Discussion in 'General' started by kan3, Sep 7, 2011.
Lsphp5 is using high % of CPU. Any reasons why? Is there any way to fix it?
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.
Hi Nitewave thanks for replying.
I've already installed Xcache. Do you recommend installing memcached too?
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.
Separate names with a comma.