Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2004 00:06:01 -0600
From:      "Stephane Raimbault" <segr@hotmail.com>
To:        is@rambler-co.ru
Cc:        net@FreeBSD.org
Subject:   Re: Error 49, socket problem?
Message-ID:  <BAY24-F14rxUn3AkTR60000e03a@hotmail.com>

next in thread | raw e-mail | index | archive | help
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*.



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