What this error means?

Igor Sysoev is at rambler-co.ru
Tue Dec 4 18:50:50 MSK 2007

On Tue, Dec 04, 2007 at 03:29:21PM +0000, Athan Dimoy wrote:

> In Nginx logs I've noticed an error saying "close() socket 5 failed (22: 
> Invalid argument)". It appears a few times only (2-3 last month)
> May I ask what's this error about?
> I'm running Nginx 5.0.33, PHP fcgi (using unix socket) and FreeBSD 6.1

This is bug in FreeBSD, that was fixed in 6.2-STABLE.
Modern FreeBSD returns ECONNRESET in this case.

Igor Sysoev

More information about the nginx mailing list