lsphp5 high cpu and optimization request

#1
hi friends

im use litespeed cpu1 licence but cpu load very high. i see lsphp5 cpu %70

i do not using xcache or memcache or eaccelerator.


edit : problem fixed.
 
Last edited:

NiteWave

Administrator
#2
looks most of the settings are default value --- this is fine. you needn't fine-tune these settings otherwise you're just wasting time.

usually litespeed itself is light weight and load is very very low.

the load should come from lsphp5 which is the most case.

if the php version is 5.4 or above, install OPCache or xcache. this is the effective way to reduce load.
 
#3
looks most of the settings are default value --- this is fine. you needn't fine-tune these settings otherwise you're just wasting time.

usually litespeed itself is light weight and load is very very low.

the load should come from lsphp5 which is the most case.

if the php version is 5.4 or above, install OPCache or xcache. this is the effective way to reduce load.
thanks NiteWawe. im use php 5.3 Can I install XCache?
 
#5
yes. xcache is compatible with php 5.3~5.6
hi nitewawe,

i install xcache but not work (im using suphp suexec) whats problem? :(

XCache Cacher Module enabled
Readonly Protection disabled
Page Request Time 2015-02-02 14:11:40
Cache Init Time 1970-01-01 02:00:00
Cache Instance Id 0
Opcode Cache enabled, 67,108,864 bytes, 1 split(s), with 8192 slots each
Variable Cache enabled, 4,194,304 bytes, 1 split(s), with 8192 slots each
Shared Memory Schemes mmap

xcache.admin.enable_auth On
xcache.allocatorbestfit
xcache.cacher On
xcache.count 1
xcache.gc_interval 0
xcache.mmap_path /xcache
xcache.readonly_protection Off
xcache.shm_schememmap
xcache.size 64M
xcache.slots 8k
xcache.stat On
xcache.ttl0
xcache.var_allocatorbestfit
xcache.var_count1
xcache.var_gc_interval 300
xcache.var_maxttl 0
xcache.var_namespace no value
xcache.var_namespace_mode 0
xcache.var_size 4M
xcache.var_slots 8K
xcache.var_ttl 0
 
Last edited:
Top