Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 14:20:39 -0600 (MDT)
From:      Matt Ruzicka <matt@frii.com>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: **net** Re: Outbound TCP issue, potentially related to'FreeBSD-SA-05:08.kmem  [REVISED]'
Message-ID:  <Pine.BSF.4.58.0505131419440.4892@elara.frii.com>
In-Reply-To: <20050513234632.G89371@mp2.macomnet.net>
References:  <Pine.BSF.4.58.0505121627400.66727@elara.frii.com> <20050513230848.K89035@mp2.macomnet.net> <20050513234632.G89371@mp2.macomnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



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