Re: Периодические подвисания при загрузке статики в nginx

Алексей Загородников admin at tltorrent.ru
Tue Feb 17 11:28:43 MSK 2009


Сейчас вот такие настройки.
net.core.netdev_max_backlog = 1000
net.core.somaxconn = 128
net.ipv4.tcp_max_syn_backlog = 1024
net.ipv4.tcp_max_tw_buckets = 180000
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_tw_reuse = 0
Попробую поставить ваши, спасибо за советы.

tltorrent ~ #  cat /proc/net/sockstat |grep TCP:
TCP: inuse 43 orphan 9 tw 7692 alloc 45 mem 86

Вечером попробую все предложенные варианты под нагрузкой.

17 февраля 2009 г. 11:51 пользователь CoolCold <coolcold at coolcold.org>написал:

> Hello Алексей,
>
>
> Попробуйте
> http://lists.lexa.ru/nginx-ru/msg19663.html
>
> и сравните свои настройки с
>
> net.core.netdev_max_backlog = 16384
> net.core.somaxconn = 262144
> net.ipv4.tcp_max_syn_backlog = 262144
> net.ipv4.tcp_max_tw_buckets = 720000
> net.ipv4.tcp_tw_recycle = 1
> net.ipv4.tcp_tw_reuse = 1
>
>
> Best regards,
> CoolCold [COOLCOLD-RIPN]
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090217/ded1a309/attachment.html>


More information about the nginx-ru mailing list