php – APC Cache仅使用32M内存
发布时间:2020-05-25 08:45:52 所属栏目:PHP 来源:互联网
导读:这是我的配置 extension = apc.soapc.enabled = 1apc.shm_size = 128Mapc.shm_segments = 1apc.gc_ttl = 7200apc.ttl = 0apc.num_files_hint = 1024apc.file_update_protection = 2apc.max_file_size = 5Mapc.st
|
这是我的配置 extension = apc.so apc.enabled = 1 apc.shm_size = 128M apc.shm_segments = 1 apc.gc_ttl = 7200 apc.ttl = 0 apc.num_files_hint = 1024 apc.file_update_protection = 2 apc.max_file_size = 5M apc.stat_ctime = 1 apc.mmap_file_mask=/tmp/apc.XXXXXX apc.filter="-/usr/share/phpMyAdmin/.*" APC信息: 运行时设置 [root@mysite.com ~]# sysctl -p net.ipv4.ip_forward = 0 net.ipv4.tcp_syncookies = 1 kernel.shmmax = 134217728 我必须做些什么来增加APC记忆? 另请参阅手册: http://php.net/manual/en/apc.configuration.php,注意尺寸和最大尺寸之间的差异.(编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
