NET_SendPacket ERROR: No buffer space available problem

From: Mihai Tanasescu (mihai.tanasescu_at_mediasat.ro)
Date: 10/07/05

  • Next message: Malachi de Ælfweald: "Re: Nice brushup!!! www.freebsd.org"
    Date: Fri, 07 Oct 2005 22:21:54 +0300
    To: FreeBSD-questions@freebsd.org
    
    

    Hello,

    I've just installed a 5.4 STABLE - Release freebsd machine and have
    setup a counter-strike server on it.

    Now I'm constantly seeing things like this in my server logs:
    NET_SendPacket ERROR: No buffer space available

    I have stumbled upon a thread on a forum that was telling me to increase:
    net.inet.udp.maxdgram=57344
    kern.ipc.maxsockbuf=8388608
    net.inet.udp.recvspace=84160

    So I have done this, but I still get that error.

    Another forum was telling me to look at the output netstat -m generates:
    4294743666 mbufs in use
    6235/25600 mbuf clusters in use (current/max)
    0/4/6656 sfbufs in use (current/peak/max)
    4150866 KBytes allocated to network
    0 requests for sfbufs denied
    0 requests for sfbufs delayed
    0 requests for I/O initiated by sendfile
    200 calls to protocol drain routines

    but as far as I see I only have 6235 out of 25600 mbufs used.

    Has anyone ever stumbled upon this problem and if so do you have a
    solution for it ?

    Thanks,
    Mihai

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Malachi de Ælfweald: "Re: Nice brushup!!! www.freebsd.org"

    Relevant Pages

    • Re: FreeBSD unstable on Dell 1750 using SMP?
      ... 475 mbufs in use ... 0/3/6656 sfbufs in use ... 1120 KBytes allocated to network ... requests for sfbufs delayed ...
      (freebsd-stable)
    • Re: Maximze network profermance
      ... sam wrote: ... >> any arbitrary limit on the maximum number of mbufs you can have. ... 0/3/6656 sfbufs in use ... requests for sfbufs delayed ...
      (comp.unix.bsd.freebsd.misc)
    • Re: mbuf count negative
      ... 0/0/0 sfbufs in use ... requests for sfbufs delayed ... >4294959731 mbufs in use ... >448 KBytes allocated to network ...
      (freebsd-current)
    • mbuf clusters in netstat output is wrong
      ... netstat -m prints some strange current mbufs number. ... 0/3/16896 sfbufs in use ... requests for sfbufs delayed ...
      (freebsd-stable)