Problem - No memory for Rx buffers
-
I have a Pfsense running in a machine with 2 GB of RAM and about 30 users. It is in the last version (2.4.5-RELEASE-p1).
The memory stays always with 13% of utilization, but every day my lan network stop running and the users cant access web sites.
I noticed that every time this happens the system logs this message.
After a reboot everything works fine.
Sep 29 13:33:14 FW01 kernel: msk1: watchdog timeout
Sep 29 13:33:14 FW01 kernel: msk1: prefetch unit stuck?
Sep 29 13:33:14 FW01 kernel: msk1: initialization failed: no memory for Rx buffers
I have no ideia how to fix, I appreciate any help
-
@Vfisher said in Problem - No memory for Rx buffers:
msk1: initialization failed: no memory for Rx buffers
Hi,
It's a driver (kernel : FreeBSD) issue.
FreeBSD said - years ago :
try disabling RX checksum offloading
Others solution are : use 'server grade' NIC's.
( or stop using virtual NIC's (for the time beeing), which always adds to the complexity )Btw : the 13 % memory usage isn't important here.
The kernel uses special memory, allocated at boot time. It's this space that's get filled up, not the main available memory pool. -
kern.ipc.nmbclusters="1000000"
Add this to /boot/loader.conf.local or under system -> advanced -> system tunables
-
@Gertjan said in Problem - No memory for Rx buffers:
'server grade' NIC's.
Thanks for your help!
In my firewall I already dont use virtual NICs, I will take a look in the option you said to see if will solve my problem.
-
I already tried this option creating the file, but the problem was the same, now I used the system -> Advanced option. I will see if will work.
When finish the tests I will give a feedback for you.
Best Regards