Discussion:
ping: sendto: No buffer space available
Erik Norgaard
2010-04-24 11:06:37 UTC
Permalink
Hi!

I'm running FreeBSD 8.0. Some times my network just go down without
leaving any errors behind, now this morning it went down but didn't cut
my ssh connection to the box and I got this error:

ping: sendto: No buffer space available

From what I have found this relates to protocols like udp and icmp, I
assume this can occur with p2p but also vpn protocols like l2tp.

Is there some way that I can set limits on these protocols such that
they will not use up all available buffer space? Or some way to increase
buffer?

Or is the problem something completely different? I've got two vr
interfaces on a VIA Nehemiah ITX.

Thanks, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157 http://www.locolomo.org
Balázs Mátéffy
2010-04-24 20:39:43 UTC
Permalink
I almost forgot!

And if you find out the reason for shortage you can tweak it with the
appropiate sysctl value.

At the moment I'm not sure which value you should tweak, but if you search
for this issue, maybe you can find the appropiate net. values.

Regards,

MB.
Hello,
I had a similar problem sometimes on one or two of my machines, look up
netstat -m, usually if you run out of buffer space you have to tweak the
mbuf memory size.
You can see the memory usage current / cache / total, if the current or
cache is the same value as the total, you have memory shortage.
You can search for it, there are plenty of mail list archives about issue
like this.
Hope this helps!
Best Regards,
MB.
Post by Erik Norgaard
Hi!
I'm running FreeBSD 8.0. Some times my network just go down without
leaving any errors behind, now this morning it went down but didn't cut my
ping: sendto: No buffer space available
From what I have found this relates to protocols like udp and icmp, I
assume this can occur with p2p but also vpn protocols like l2tp.
Is there some way that I can set limits on these protocols such that they
will not use up all available buffer space? Or some way to increase buffer?
Or is the problem something completely different? I've got two vr
interfaces on a VIA Nehemiah ITX.
Thanks, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157 http://www.locolomo.org
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
Balázs Mátéffy
2010-04-24 20:35:18 UTC
Permalink
Hello,

I had a similar problem sometimes on one or two of my machines, look up
netstat -m, usually if you run out of buffer space you have to tweak the
mbuf memory size.

You can see the memory usage current / cache / total, if the current or
cache is the same value as the total, you have memory shortage.

You can search for it, there are plenty of mail list archives about issue
like this.

Hope this helps!

Best Regards,

MB.
Hi!
I'm running FreeBSD 8.0. Some times my network just go down without leaving
any errors behind, now this morning it went down but didn't cut my ssh
ping: sendto: No buffer space available
From what I have found this relates to protocols like udp and icmp, I
assume this can occur with p2p but also vpn protocols like l2tp.
Is there some way that I can set limits on these protocols such that they
will not use up all available buffer space? Or some way to increase buffer?
Or is the problem something completely different? I've got two vr
interfaces on a VIA Nehemiah ITX.
Thanks, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157 http://www.locolomo.org
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
Коньков Евгений
2010-04-26 19:21:33 UTC
Permalink
Hi, Erik.

You can not find out what buffer you have overflow.
This error message cover many network buffers, sadly
In my case I have some fortune I try and get that error disappeared
by trying these:

kern.ipc.maxsockbuf=1048576
net.graph.maxdgram=524288
net.graph.recvspace=524288

I do not know what that mean, but that work. beleave me
Another sad thing there is no man, no documentations, no any
FAQ for all sysctl variables, but you can find some info in mail lists

Good luck.

Вы писали 24 апреля 2010 г., 14:06:37:

EN> Hi!

EN> I'm running FreeBSD 8.0. Some times my network just go down without
EN> leaving any errors behind, now this morning it went down but didn't cut
EN> my ssh connection to the box and I got this error:

EN> ping: sendto: No buffer space available

EN> From what I have found this relates to protocols like udp and icmp, I
EN> assume this can occur with p2p but also vpn protocols like l2tp.

EN> Is there some way that I can set limits on these protocols such that
EN> they will not use up all available buffer space? Or some way to increase
EN> buffer?

EN> Or is the problem something completely different? I've got two vr
EN> interfaces on a VIA Nehemiah ITX.

EN> Thanks, Erik
--
С уважением,
Eugen Konkov mailto:kes-***@yandex.ru
http://kes.net.ua
Loading...