nginx-0.1.11
Igor Sysoev
is at rambler-co.ru
Thu Dec 2 23:52:28 MSK 2004
On Thu, 2 Dec 2004, Igor Sysoev wrote:
> On Thu, 2 Dec 2004, L0rda wrote:
>
> > И еще
> > лог забит подобными сообщениями:
> > 2004/12/02 20:37:33 [crit] 16728#0: *4222 setsockopt(SO_SNDLOWAT)
> > failed (92: Protocol not available) while sending response to client,
> > client: 4.8.234.213, URL: "/f_img/image01.jpg", referrer: "http://host.com/"
> >
> > за пять минут:
> > # grep SO_SNDLOWAT /nginx/logs/error.log|wc -l
> > 1354
>
> Какая ОС ? Линукс ? Версия ядра ?
> Нужно убрать send_lowat.
Нда.
man 7 socket на Линуксе:
SO_RCVLOWAT and SO_SNDLOWAT
Specify the minimum number of bytes in the buffer
until the socket layer will pass the data to the
protocol (SO_SNDLOWAT) or the user on receiving
(SO_RCVLOWAT). These two values are not changeable
in Linux and their argument size is always fixed to
1 byte. getsockopt is able to read them; setsock╜
opt will always return ENOPROTOOPT.
Зря, выходит, делал поддержку. На Солярисе не работает, а теперь
и на Линуксе.
Игорь Сысоев
http://sysoev.ru
More information about the nginx-ru
mailing list