
09-02-2012, 12:08 AM
|
|
Member
|
|
Join Date: Apr 2012
Posts: 41
|
|
Quote:
Originally Posted by NiteWave
yes, please. we study the option -disable-apc-mmap in 2 ways:
1.by reading the APC source code
2.actual tests
as we pointed out in previous thread: it not working at all.
--enable-apc-mmap is enabled by default since APC 3.0.18.
so it's a better method than --disable-apc-mmap which is default before 3.0.18
please refresh repeatedly, it should have 2 values if you have 2 groups of lsphp5
one group is lsphp5(19730), another one is lsphp5(19772)
|
I have recompiled APC with mmap enabled.
But i still see 1 value. Is it the cause of my problem?
FYI i have LSAPI_AVOID_FORK=1 , i don't know whether it is related with 1 mmap or not.
Code:
root@mybox [~]# pstree -p | grep litespeed
|-litespeed(24846)-+-httpd(24847)
| |-litespeed(24848)-+-lsphp5(24856)-+-lsphp5(24857)
| | |-{litespeed}(24850)
| | `-{litespeed}(24851)
| `-litespeed(24849)-+-lsphp5(24901)-+-lsphp5(24904)
| |-{litespeed}(24852)
| `-{litespeed}(24853)
Code:
apc.cache_by_default 1
apc.canonicalize 1
apc.coredump_unmap 0
apc.enable_cli 1
apc.enabled 1
apc.file_md5 0
apc.file_update_protection 2
apc.filters
apc.gc_ttl 3600
apc.include_once_override 0
apc.lazy_classes 0
apc.lazy_functions 0
apc.max_file_size 20M
apc.mmap_file_mask /tmp/apc.3iYCNd
apc.num_files_hint 1000
apc.preload_path
apc.report_autofilter 0
apc.rfc1867 0
apc.rfc1867_freq 0
apc.rfc1867_name APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_
apc.rfc1867_ttl 3600
apc.serializer default
apc.shm_segments 1
apc.shm_size 1024M
apc.slam_defense 1
apc.stat 0
apc.stat_ctime 0
apc.ttl 0
apc.use_request_time 1
apc.user_entries_hint 4096
apc.user_ttl 7200
apc.write_lock 1
__________________
I use litespeed
|