silby at silby.com
Sun Oct 9 23:31:07 PDT 2005
On Mon, 10 Oct 2005, Olivier Nicole wrote:
> For some reason, it seems that the MySQL server only accepts 50
> connections to the same resource comming from the same client at one
> given time. 50 other connections are in SYN_SENT state.
> Any reason why this limit?
FreeBSD has no SYN rate limit, but you could be running into TIME_WAIT
Run a netstat on both the client and server, see if the port numbers
match. For example, see if the client is trying to connect to port 3549
and the server has a TIME_WAIT socket on port 3549. The connection is
supposed to recycle, but under certain conditions it might not...
After doing that, try setting net.inet.ip.portrange.randomized=0 and see
if the problem clears up at all.
Mike "Silby" Silbersack
More information about the freebsd-net