PHP APC tall snippets and empty pie chart usage

I am using litespeed web server and PHP APC. However, I noticed that there are some strange statistics from "apc.php".

APC Stats

The first strange thing is that although the fragmentation percentage is very low (less than 1%), the number of fragments is very high (6935 fragments). I tried increasing "user_entries_hint" several times, but the number of fragments is still high, although the percentage is very low.

The second strange thing is that "Host Status Diagrams" have hollow sections. When I see other apc.php stats from someone else, I rarely see the hollow part. I wonder if it has something to do with the number of the chunks.

I have enough free memory (over 50GB) and I flush the entire APC every 2 hours.

Here is my PHP.ini config

apc.enabled = 1
apc.ttl = 0
apc.slam_defense = 0
apc.gc_ttl=3600;
apc.user_ttl = 0
apc.shm_segments = 1
apc.shm_size = 6G
apc.max_file_size = 20M
apc.stat=0
apc.enable_cli = 0
apc.mmap_file_mask="/home/apc_temp/apc.XXXXXX"
apc.user_entries_hint = 360000
apc.num_files_hint = 30000
extension="apc.so"

      

And here is my APC runtime setup.

apc.cache_by_default = 1
apc.canonicalize = 1
apc.coredump_unmap = 0
apc.enable_cli = 0
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 = /home/apc_temp/apc.k8kTDm
apc.num_files_hint = 30000
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 = 6G
apc.slam_defense = 0
apc.stat = 0
apc.stat_ctime = 0
apc.ttl = 0
apc.use_request_time = 1
apc.user_entries_hint = 360000
apc.user_ttl = 0
apc.write_lock = 1

      

Thank.

+3


source to share





All Articles