OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Error: 'arp: writing to routing socket: Cannot allocate memory'
« previous next »
  • Print
Pages: [1]

Author Topic: Error: 'arp: writing to routing socket: Cannot allocate memory'  (Read 2848 times)

SomebodySysop

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
Error: 'arp: writing to routing socket: Cannot allocate memory'
« on: February 10, 2022, 09:40:12 am »
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.
Logged

SomebodySysop

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Error: 'arp: writing to routing socket: Cannot allocate memory'
« Reply #1 on: February 10, 2022, 10:16:50 am »
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!

Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Error: 'arp: writing to routing socket: Cannot allocate memory'
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2