PHP APC不断清理自己

时间:2014-06-27 11:13:11

标签: php caching apc shared-hosting

我正在使用APC(备用PHP缓存),在我存储了一些条目之后,整个缓存只是稍微清除了一段时间,通常是几分钟。当我存储条目时我没有定义ttl并且配置中的ttl是0,所以我不确定为什么所有条目都会被删除。正常运行时间似乎总是0分钟,所以也许是因为某些原因而重启?

APC设置(GoDaddy共享主机Linux服务器)

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   1M
apc.mmap_file_mask  
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    32M
apc.shm_strings_buffer  4M
apc.slam_defense    1
apc.stat    1
apc.stat_ctime  0
apc.ttl 0
apc.use_request_time    1
apc.user_entries_hint   4096
apc.user_ttl    0
apc.write_lock  1

0 个答案:

没有答案