Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 19:06:16 +0100
From:      Joe Holden <joe@joeholden.co.uk>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        net@freebsd.org
Subject:   Re: Issue with huge numbers of connections
Message-ID:  <46757818.5030005@joeholden.co.uk>
In-Reply-To: <20070617.114133.778151882.imp@bsdimp.com>
References:  <20070617.114133.778151882.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
> Greetings,
> 
> I have a friend who is having problems with a service he's running.
> He gets billions and billions of connections to this service a day.
> Somewhere between 10^8 and 10^9 connections, he notices that his
> servers lose the ability to accept new connections.  These are TCP
> connections.
> 
> This is with FreeBSD 6.1R.  My first question is: does anybody know if
> the fixes to -current/7.0 have fixed this?  Is there a fix that can be
> back ported?  He's currently working around the problem by having a
> number of different machines that reboot in a round robin fashion, but
> would like a better solution.
> 
> Warner
> _______________________________________________
Warner, if he hasn't done so already, have you suggested tweaking the
sysctl variables, such as:
kern.maxfilesperproc
kern.ipc.nmbclusters
kern.maxprocperuid
kern.maxfiles
kern.ipc.somaxconn
kern.maxvnodes

Tweaking those may help, or he may just be exhausting available
resources, IIRC its limited to 65k connections per interface, someone
correct me if I am wrong.

-- 
Joe Holden
T: (UK) 02071009593 (AU) 282442321
E: joe@joeholden.co.uk



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