Netgate SG-1000 microFirewall

Author Topic: Memory Allocation Errors  (Read 143 times)

0 Members and 1 Guest are viewing this topic.

Offline wiz561

  • Full Member
  • ***
  • Posts: 141
  • Karma: +0/-0
    • View Profile
Memory Allocation Errors
« on: January 26, 2018, 07:29:37 am »
Hi!  I added a couple more lists to my pfblocker install and now am seeing the memory allocation error...

Code: [Select]
PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 2496, Message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) @ 2018-01-24 17:44:39
Close

I have 8 gigs of memory in the box at 19% utilized, and 0% swap used out of 16gb.  I was wondering if this is a fluke, or if I should change something around so that I'm not seeing this error.

Versions:
pfsense: 2.4.2-RELEASE-p1 (amd64)
pbBlockerNG:    2.1.2_2

Thanks!

Offline RonpfS

  • Hero Member
  • *****
  • Posts: 716
  • Karma: +96/-2
    • View Profile
Re: Memory Allocation Errors
« Reply #1 on: January 26, 2018, 11:19:26 am »
Just clear the notice for now... I suspect that it doesn't repeat once you clear it...

Can you try the following patch?
https://forum.pfsense.org/index.php?topic=110515.60

The next version of the package has a new function that will improve this issue from repeating...

Thanks!
2.3.5-RELEASE-p1 (amd64)
Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
pfBlockerNG 2.1.2_2/Dev, suricata 4.0.3_1

Offline wiz561

  • Full Member
  • ***
  • Posts: 141
  • Karma: +0/-0
    • View Profile
Re: Memory Allocation Errors
« Reply #2 on: January 30, 2018, 01:34:12 pm »
Just clear the notice for now... I suspect that it doesn't repeat once you clear it...

Can you try the following patch?
https://forum.pfsense.org/index.php?topic=110515.60

The next version of the package has a new function that will improve this issue from repeating...

Thanks!

Thanks, I'm going to give it a shot.  I'm glad I scrolled down in that thread to see how easy the patch manager is to use in pfsense.  :)  I was going to do it by hand.