**net** Re: Outbound TCP issue, potentially related
to'FreeBSD-SA-05:08.kmem [REVISED]'
Matt Ruzicka
matt at frii.com
Fri May 13 13:20:40 PDT 2005
Great, thank you very much for the advice and attention on this issue. I
very much appreciate it.
The short term results on these seem very good.
Thanks again.
Matthew Ruzicka - Systems Administrator
Front Range Internet, Inc.
matt at frii.net - (970) 212-0728
Got SPAM? Take back your email with MailArmory. http://www.MailArmory.com
On Fri, 13 May 2005, Maxim Konovalov wrote:
> [...]
> > When I check the vmstat while getting errors from the netcat script I get
> > this.
> >
> > -->vmstat -z | grep -i sock 2005/05/13 13:33:20
> > socket: 224, 16424, 16438, 0, 1150867
>
> Limit ---------------------^^^^^
> Current ---------------------------^^^^^
>
> > Here is my vmstat -z in a "normal" state.
> >
> > ITEM SIZE LIMIT USED FREE REQUESTS
> [...]
> > socket: 224, 16424, 3621, 12817, 1167053
>
> [...]
> > And during the failures..
> >
> > ITEM SIZE LIMIT USED FREE REQUESTS
> [...]
> > socket: 224, 16424, 16430, 8, 1201620
>
> [...]
> > Am I pretty much just looking at a tuning issue at this point I assume?
>
> 1) Use a persistent connection if possible.
>
> 2)
>
> /etc/sysctl.conf:
> net.inet.tcp.msl="5000"
> net.inet.ip.portrange.last="50000"
>
> perhaps
>
> /boot/loader.conf:
> kern.ipc.maxsockets="32768"
>
> --
> Maxim Konovalov
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list