Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 10:34:31 -0800 (PST)
From:      "ALeine" <aleine@austrosearch.net>
To:        myself@rojer.pp.ru
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: occasional ECONNREFUSED when connect()ing. 
Message-ID:  <200502171834.j1HIYVCL072428@marlena.vvi.at>

next in thread | raw e-mail | index | archive | help

> After further investigation and digging, I uncovered the true cause of 
> the error: connect() returning ECONNREFUSED.

You are probably exhausting the queue of pending connections, you may want
to read man 2 listen and use sysctl to set kern.ipc.somaxconn accordingly.

ALeine

___________________________________________________________________
WebMail FREE http://mail.austrosearch.net 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502171834.j1HIYVCL072428>