Project

General

Profile

Actions

Bug #6988

open

SNORT Package PHP memory error

Added by Zeev Zalessky about 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Snort
Target version:
-
Start date:
12/06/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.3.2
Affected Plus Version:
Affected Architecture:
amd64

Description

Crash report begins. Anonymous machine information:

amd64
10.3-RELEASE-p9
FreeBSD 10.3-RELEASE-p9 #1 5fc1b19(RELENG_2_3_2): Tue Sep 27 12:26:06 CDT 2016 root@ce23-amd64-builder:/builder/pfsense-232/tmp/obj/builder/pfsense-232/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[05-Dec-2016 11:14:18 Asia/Jerusalem] PHP Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 155312128 bytes) in /usr/local/www/snort/snort_interface_logs.php on line 84
[05-Dec-2016 11:14:18 Asia/Jerusalem] PHP Stack trace:
[05-Dec-2016 11:14:18 Asia/Jerusalem] PHP 1. {main}() /usr/local/www/snort/snort_interface_logs.php:0

Filename: /var/crash/minfree
2048

Actions #1

Updated by Kill Bill almost 8 years ago

Your logs are way too huge! Configure something sane on Logs Mgmt tab. (You can override the memory limit in https://github.com/pfsense/FreeBSD-ports/blob/devel/security/pfSense-pkg-snort/files/usr/local/pkg/snort/snort.inc#L33 - and be careful with that or you could crash entire pfSense instead, depending on available RAM.)

Actions #2

Updated by John Silva over 6 years ago

There is no option to configure the log size for snort.log. Because of this it grows without bound resulting in this error.

Actions

Also available in: Atom PDF