OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: cryptoparty on August 23, 2017, 11:41:32 am

Title: ping sendto no buffer space available
Post by: cryptoparty on August 23, 2017, 11:41:32 am
Hello !

I pinged gw from opnsense and saw :

Host is down.

Then I added entry to arp table with gw's interfaces.

After this one I see error : ping sendto no buffer space available

(http://itsecforu.ru/wp-content/uploads/2017/08/opnsense.png)

I don't know how to fix it. Please help me with that
Title: Re: ping sendto no buffer space available
Post by: cryptoparty on August 23, 2017, 01:07:13 pm
So  what do I need to tune?
Title: Re: ping sendto no buffer space available
Post by: fraenki on August 23, 2017, 01:32:48 pm
There's a comprehensive troubleshooting guide from pfSense regarding this error:
https://doc.pfsense.org/index.php/No_buffer_space_available

I'll consider it to be a starting point for further analysis/debugging.


Regards
- Frank
Title: Re: ping sendto no buffer space available
Post by: cryptoparty on August 24, 2017, 03:01:06 pm
Thx for link.

I want to ask is this parameters ok?

netstat -m output:

(http://itsecforu.ru/wp-content/uploads/2017/08/Безымянный.png)

vmstat -z | grep mbuf output:

(http://itsecforu.ru/wp-content/uploads/2017/08/Безымянный-1.png)

I forget to say that i use VMware Vsphere , pciconf :

(http://itsecforu.ru/wp-content/uploads/2017/08/Безымянный-2.png)

Also , I added:


echo 'kern.ipc.nmbclusters=524288' >> /boot/loader.conf
echo 'kern.ipc.maxsockbuf=1048576' >> /boot/loader.conf
echo 'hw.e1000.rxd=4096' >> /boot/loader.conf
echo 'hw.e1000.txd=4096' >> /boot/loader.conf


and

net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendbuf_inc=16384
net.inet.tcp.recvbuf_inc=524288


web-interface
(http://itsecforu.ru/wp-content/uploads/2017/08/Безымянный-3.png)