на двух серверах из трех наблюдаются задержки с ответом в районе 10с запрос --> тишина 5-10 секунд --> запрос появляется в мускуле (смотрю через mytop) --> выполняется 0.02-0.003 сек (ложится в slow.log, несмотря на порог 2с) --> отдается ответ nginx
возможно, виной тому является memcache... на всех серверах ZFS --->/boot/loader.conf zfs_load="YES" vfs.root.mountfrom="zfs:tank" # Disable ZFS prefetching # http://southbrain.com/south/2008/04/the-nightmare-comes-slowly-zfs.html # Increases overall speed of ZFS, but when disk flushing/writes occur, # system is less responsive (due to extreme disk I/O). # NOTE: 8.0-RC1 disables this by default on systems <= 4GB RAM anyway vfs.zfs.prefetch_disable="1" # Disable UMA (uma(9)) for ZFS; amd64 was moved to exclusively use UMA # on 2010/05/24. # http://lists.freebsd.org/pipermail/freebsd-stable/2010-June/057162.html vfs.zfs.zio.use_uma="0" # Decrease ZFS txg timeout value from 30 (default) to 5 seconds. This # should increase throughput and decrease the "bursty" stalls that # happen during immense I/O with ZFS. # http://lists.freebsd.org/pipermail/freebsd-fs/2009-December/007343.html # http://lists.freebsd.org/pipermail/freebsd-fs/2009-December/007355.html vfs.zfs.txg.timeout="5" -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 [email protected]
