Magento 1.6似乎没有使用APC
我正在使用Magento 1.6和APC 3.1.9 我的命中率为99%,命中率仅为0.4%。 Magento local.xml具有此项Magento 1.6似乎没有使用APC,magento,apc,Magento,Apc,我正在使用Magento 1.6和APC 3.1.9 我的命中率为99%,命中率仅为0.4%。 Magento local.xml具有此项 apc 法师_ ...... …. 我已经根据Magento论坛调整了apc.ini中的大多数参数 当我跑步时 php-r'phpinfo();'|grep'apc' 输出为 additional .ini files parsed => /etc/php.d/apc.ini, apc apc.cache_by_default => On =&
apc
法师_
......
….
我已经根据Magento论坛调整了apc.ini中的大多数参数
当我跑步时
php-r'phpinfo();'|grep'apc'
输出为
additional .ini files parsed => /etc/php.d/apc.ini,
apc
apc.cache_by_default => On => On
apc.canonicalize => On => On
apc.coredump_unmap => Off => Off
apc.enable_cli => On => On
apc.enabled => On => On
apc.file_md5 => Off => Off
apc.file_update_protection => 2 => 2
apc.filters => no value => no value
apc.gc_ttl => 3600 => 3600
apc.include_once_override => Off => Off
apc.lazy_classes => Off => Off
apc.lazy_functions => Off => Off
apc.max_file_size => 20M => 20M
apc.mmap_file_mask => no value => no value
apc.num_files_hint => 10000 => 10000
apc.preload_path => no value => no value
apc.report_autofilter => Off => Off
apc.rfc1867 => Off => Off
apc.rfc1867_freq => 0 => 0
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
apc.rfc1867_prefix => upload_ => upload_
apc.rfc1867_ttl => 3600 => 3600
apc.serializer => default => default
apc.shm_segments => 1 => 1
apc.shm_size => 1024M => 1024M
apc.slam_defense => On => On
apc.stat => On => On
apc.stat_ctime => Off => Off
apc.ttl => 0 => 0
apc.use_request_time => On => On
apc.user_entries_hint => 10000 => 10000
apc.user_ttl => 0 => 0
apc.write_lock => On => On
不确定如何调试此问题并解决99%的缓存未命中问题。
我错过了什么
请提供帮助。确保在更改local.xml后执行了
rm-rf/var/www/var/cache/*
尝试优化apc缓存
确保你检查过了
APC配置的其他建议:
来源:每个加速器也已启用。在禁用eAccelerator并加入文章中提到的更改后,我现在有99%的命中率,只有0.2%的未命中率。