Problems with 0.9.1 on not so recent Linux kernels.

António P. P. Almeida appa at perusio.net
Wed Dec 1 23:25:20 MSK 2010


On 1 Dez 2010 19h38 WET, igor at sysoev.ru wrote:

> [1 <text/plain; iso-8859-1 (8bit)>] On Wed, Dec 01, 2010 at
> 06:01:22PM +0000, António P. P. Almeida wrote:
>
>>> It seems that 2.6.26 kernel does not support this syscall.
>>> In next release I will make fallback to standard accept(), if it
>>> accept4() is not implemented in kernel. This will allow to use
>>> on old kernels packages built on modern kernels.
>>
>> Ok.
>
> Could you try the attched patch ? It should report once
> accept4() failed (38: Function not implemented)
> on old kernel and fallback to usual accept().

I did. It works. 

2010/12/01 20:38:24 [alert] 1080#0: accept4() failed (38: Function not implemented)

Just once and everything is back to normal.

Great work Igor.

Thanks,
--- appa





More information about the nginx mailing list