Error: 'arp: writing to routing socket: Cannot allocate memory'

Started by SomebodySysop, February 10, 2022, 09:40:12 AM

Previous topic - Next topic
I'm getting this error consistently on boot for all my static leases.  What is it, and how do I resolve it?

2022-02-08T20:32:41-08:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -s '192.168.1.248' '<MAC>'' returned exit code '1', the output was 'arp: writing to routing socket: Cannot allocate memory'   
2022-02-08T20:32:41-08:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -s '192.168.1.237' '<MAC>'' returned exit code '1', the output was 'arp: writing to routing socket: Cannot allocate memory'   
2022-02-08T20:32:41-08:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -s '192.168.1.226' '<MAC>' returned exit code '1', the output was 'arp: writing to routing socket: Cannot allocate memory'   
2022-02-08T20:32:41-08:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -s '192.168.1.185' '<MAC>'' returned exit code '1', the output was 'arp: writing to routing socket: Cannot allocate memory'   
2022-02-08T20:32:41-08:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -s '192.168.1.163' '<MAC>'' returned exit code '1', the output was 'arp: writing to routing socket: Cannot allocate memory'   
2022-02-08T20:32:41-08:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -s '192.168.1.65' '<MAC>'' returned exit code '1', the output was 'arp: writing to routing socket: Cannot allocate memory'   

Thinking it could be related to this: https://forum.opnsense.org/index.php?topic=12166.0

Went to: Firewall -> Settings -> Advanced : " Firewall Maximum Table Entries"

Changed it from 1000000 (default) to 2000000
No change.  Still getting error.

I only see 66 entries in my ARP table.

Topology:

ATT BGW210-700  router in passthrough mode (re1) --> Opnsense firewall running on mini-pc (re0) --> switch

CPU: (Intel(R) Celeron(R) J4125 CPU @ 2.00GHZ (4 cores, 4 threads)
8GB Ram
Disk usage 2%
Memory usage: 4%

Complete usage details attached.

In using Google to search for this error, I found a few pfSense posts on the subject.

https://www.reddit.com/r/PFSENSE/comments/mzq203/my_router_failed_last_night_system_log_shows/

This appears to be another realtek driver issue.  I installed the os-realtek-re plugin and rebooted.  Checked the logs and I no longer see this error.

Making progress!