Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2005 18:14:59 -0300
From:      "T.D.Wipnet (H.M.)" <tec@mega.net.br>
To:        freebsd-performance@freebsd.org
Subject:   Re: Performance/lockup issues with FreeBSD as a router
Message-ID:  <200505261815.02909.tec@mega.net.br>
In-Reply-To: <1117129668.42960bc4b751b@webmail.telus.net>
References:  <1117129668.42960bc4b751b@webmail.telus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 26 May 2005 14:47, Peter Kieser wrote: 
> however I'm currently running into issues where one, or both of the
> NICs will stop transmitting traffic. When I go onto the machine,
> and try to ping something I get "No buffer space available"
>

stopping transmitting anything or only your ping tries?

> net.inet.ip.rtexpire=1800
> net.inet.ip.rtminexpire=1800
> kern.maxfiles=32768
> kern.maxfilesperproc=32768
> kern.ipc.somaxconn=32767
> net.inet.tcp.sendspace=256000
> net.inet.tcp.recvspace=256000
> kern.ipc.maxsockbuf=2097152
> net.inet.ip.fastforwarding=1
> net.inet.tcp.rfc1323=1
> net.link.ether.inet.max_age=600
> net.inet.tcp.msl=7500
> net.inet.ip.fw.dyn_udp_lifetime=10
> net.inet.ip.fw.dyn_buckets=1024
>
> And here's my /boot/loader.conf:
>
> kern.ipc.maxsockets="163840"
> kern.maxusers="2048"
>

if your pc is really only a router you probably have a lot of 
unessessary stuff in here, your extremly high settings for maxuser, 
maxfiles and somaxcons is somewhat useless here and could slow your 
machine down, anyway, this is not a p-III 600 with 128MB of ram isn't 
it?

"no buffer space available" appears often when the buffer is used so 
that means that if your connections are bad the buffer gets filled 
because if your connections are good why the buffer should be used? - 
then it goes straight out  ... I guess that probably your Nics, 
cables, hubs or even the "where it goes" may have a problem

Hans


-- 

WIPNET Telecom Ltda. http://wip.mega.net.br
http://wip.mega.net.br/tec.asc




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