OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [RESOLVED] "Cannot allocate memory" error after applying alias edit
« previous next »
  • Print
Pages: [1]

Author Topic: [RESOLVED] "Cannot allocate memory" error after applying alias edit  (Read 3652 times)

TheLatestWire

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 6
    • View Profile
[RESOLVED] "Cannot allocate memory" error after applying alias edit
« on: March 23, 2019, 05:55:42 pm »
Hi,

I receive the popup error "Cannot allocate memory" after I hit apply in the Firewall/Aliases section.  I've discovered that I don't have to add/edit or change any of the aliases but if I even simply go to the Aliases section and hit "Apply" after making no changes, I still get the error.



I do have quite a few aliases that contain a large number of CIDRs but this error is something relatively new, maybe only started after that last two updates.

I'm using the current, up to date v19.1 production series:
OPNsense 19.1.4-amd64
FreeBSD 11.2-RELEASE-p9-HBSD
OpenSSL 1.0.2r 26 Feb 2019

Is there a tunable that I could adjust or should I start examining my large aliases perhaps?

Any assistance would be greatly appreciated.

Thanks,
ObecalpEffect.
« Last Edit: March 24, 2019, 06:05:28 pm by ObecalpEffect »
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 907
  • Karma: 184
    • View Profile
Re: "Cannot allocate memory" error after applying alias edit
« Reply #1 on: March 24, 2019, 02:27:33 pm »
Hi,

Yes, you can easily expand the table size in : Firewall -> Settings -> Advanced : " Firewall Maximum Table Entries"

Best regards,

Ad
Logged

TheLatestWire

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 6
    • View Profile
Re: "Cannot allocate memory" error after applying alias edit
« Reply #2 on: March 24, 2019, 06:04:20 pm »
Thanks for the reply Ad.

I had that setting at 500000, but just now changed it to 1000000 and that seems to have resolved the issue.  I also noticed that after increasing it some of my other firewall rules, that I thought were working but really weren't, finally started working.

Many thanks for the assistance.

ObecalpEffect
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [RESOLVED] "Cannot allocate memory" error after applying alias edit
 

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