From owner-freebsd-net@FreeBSD.ORG Sat Oct 23 06:07:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6DEA16A4CE for ; Sat, 23 Oct 2004 06:07:01 +0000 (GMT) Received: from hotmail.com (bay24-f14.bay24.hotmail.com [64.4.18.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id A124943D46 for ; Sat, 23 Oct 2004 06:07:01 +0000 (GMT) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 22 Oct 2004 23:07:01 -0700 Received: from 66.244.239.179 by by24fd.bay24.hotmail.msn.com with HTTP; Sat, 23 Oct 2004 06:06:01 GMT X-Originating-IP: [66.244.239.179] X-Originating-Email: [segr@hotmail.com] X-Sender: segr@hotmail.com From: "Stephane Raimbault" To: is@rambler-co.ru Date: Sat, 23 Oct 2004 00:06:01 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Oct 2004 06:07:01.0152 (UTC) FILETIME=[82D92200:01C4B8C6] cc: net@FreeBSD.org Subject: Re: Error 49, socket problem? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2004 06:07:01 -0000 Thanks Igor, I was running out of ports in the 1024-5000 range and setting my last port to 65535 via sysctl did solve my problem. In 4.10 what will sysctl -w net.inet.ip.portrange.randomized=0 do for me? Is there any danger of me setting the port range from 1024 - 65535 ? Thanks, Stephane. Igor Sysoev wrote: >On Fri, 22 Oct 2004, Stephane Raimbault wrote: > > >>The servers are busier today and error 49 is comming up frequently now. > > >What does "netstat -n | grep 127.0.0.1 | wc -l" show ? > >You should probably try > >sysctl -w net.inet.ip.portrange.first=49152 >sysctl -w net.inet.ip.portrange.last=65535 > >or even > >sysctl -w net.inet.ip.portrange.first=1024 >sysctl -w net.inet.ip.portrange.last=65535 > >And after you upgrade to 4.10 do not forget to set > >sysctl -w net.inet.ip.portrange.randomized=0 > > >Igor Sysoev >http://sysoev.ru/en/ >_______________________________________________ >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" _________________________________________________________________ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.