Re: Error 49, socket problem?

From: Igor Sysoev (is_at_rambler-co.ru)
Date: 10/22/04

  • Next message: Igor Sysoev: "Re: aio_connect ?"
    Date: Sat, 23 Oct 2004 00:22:35 +0400 (MSD)
    To: Stephane Raimbault <segr@hotmail.com>
    
    

    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"


  • Next message: Igor Sysoev: "Re: aio_connect ?"

    Relevant Pages

    • smp on dell poweredge freeze: 5.4 p7
      ... since I make installworld to upgrade to p7, my os freeze often enough. ... sysctl -a | grep machdep.hyperthreading_allowed ...
      (freebsd-stable)
    • Problem after Install attempt
      ... I get the following msg after trying to upgrade to 6.1 from 5.1 ... sysctl: unknown oid 'security.jail.jailed' ...
      (comp.unix.bsd.freebsd.misc)
    • Re: SYN Attacks - how i cant stop it
      ... "sysctl: unknown oid...." ... Then use stateful inspection and dynamic rules for the ... > rest of the wall. ... To unsubscribe, ...
      (FreeBSD-Security)
    • Re: SYN Attacks - how i cant stop it
      ... "sysctl: unknown oid...." ... Then use stateful inspection and dynamic rules for the ... > rest of the wall. ... To unsubscribe, ...
      (freebsd-questions)
    • RE: kswapd issue
      ... What I was missing earlier was "did not run sysctl -p" after changing ... damage you may sustain as a result of any virus in this e-mail. ... Infosys reserves the right to monitor and review the content ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)