[quote name='Skay' timestamp='1431880814' post='214648']
А можно рекомендуемые настройки - настройки apc/redis/opcache ?
[/quote]
Рекомендации зависят от размера магазина. Приведу сферические конфигурации в вакууме для среднего магазина под управлением CentOS 6.6 x64 c PHP 5.6.9:
APCu (/etc/php.d/40-apcu.ini)
<br />
extension = apcu.so<br />
apc.enabled=1<br />
apc.shm_size=512M<br />
apc.ttl=3600<br />
apc.gc_ttl=3600<br />
apc.mmap_file_mask=/tmp/apc.XXXXXX<br />
Redis для сессий (/etc/redis.conf)
<br />
daemonize yes<br />
pidfile /var/run/redis/redis.pid<br />
port 6379<br />
timeout 0<br />
loglevel notice<br />
logfile /var/log/redis/redis.log<br />
databases 16<br />
stop-writes-on-bgsave-error yes<br />
rdbcompression yes<br />
rdbchecksum yes<br />
dbfilename sessions.rdb<br />
appendonly yes<br />
maxmemory 64mb<br />
maxmemory-policy allkeys-lru<br />
maxmemory-samples 5<br />
appendfilename sessions.aof<br />
appendfsync everysec<br />
no-appendfsync-on-rewrite no<br />
auto-aof-rewrite-percentage 100<br />
auto-aof-rewrite-min-size 64mb<br />
dir /var/lib/redis/<br />
slave-serve-stale-data yes<br />
slave-read-only yes<br />
slave-priority 100<br />
lua-time-limit 5000<br />
slowlog-log-slower-than 10000<br />
slowlog-max-len 128<br />
hash-max-ziplist-entries 512<br />
hash-max-ziplist-value 64<br />
list-max-ziplist-entries 512<br />
list-max-ziplist-value 64<br />
set-max-intset-entries 512<br />
zset-max-ziplist-entries 128<br />
zset-max-ziplist-value 64<br />
activerehashing yes<br />
client-output-buffer-limit normal 0 0 0<br />
client-output-buffer-limit slave 256mb 64mb 60<br />
client-output-buffer-limit pubsub 32mb 8mb 60<br />
ZendOpcache (/etc/php.ini)
<br />
opcache.enabled = 1<br />
opcache.memory_consumption = 256<br />
opcache.validate_timestamps = 0<br />