What this error means?

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

Athan

On Tue, Dec 04, 2007 at 03:29:21PM +0000, Athan D. 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 S. <is@…> writes:

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

Hmm you’re right, I had read something related in FreeBSD mailing lists.
I’ll
upgrade my OS when 6.3 released, hopefully before year’s end.

Thanks a lot Igor,

Athan