Project

General

Profile

Actions

Bug #525

closed
RR EL

Optimization #551: Replace SCLogError by a counter for memory issue and other memcap

[ERRCODE: SC_ERR_MEM_ALLOC(1)]

Bug #525: [ERRCODE: SC_ERR_MEM_ALLOC(1)]

Added by rahim ramezanian over 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

I run the suricata by the following command to read a pcap file
sudo suricata -c /etc/suricata/suricata.yaml -r /..../filename.pcap

but on the screen it shows the following errer in my terminal
[ERRCODE: SC_ERR_MEM_ALLOC(1)] - Defrag: Failed to allocate tracker.

If it is an error it should not be printed in my terminal screen as snort did not do it.

Best

PM Updated by Peter Manev over 13 years ago Actions #1

What Suricata ver are you using?

suricata --build-info

would tell you that.

Because this was fixed in the current git master.

thanks

RR Updated by rahim ramezanian over 13 years ago Actions #2

Hi
I am using v 1.3
thanks

RR Updated by rahim ramezanian over 13 years ago Actions #3

Hi
I am using v 1.3, But I do not install it from git.
thanks

PM Updated by Peter Manev over 13 years ago Actions #4

If you update to the current gitmaster - this should be fixed.

Please find some more info here :
http://planet.suricata-ids.org/
in the Article "Suricata, to 10Gbps and beyond" from the 30July, section "Defrag".

Thanks

VJ Updated by Victor Julien over 13 years ago Actions #5

Is this an actual memory allocation failure or did we hit an internal memcap in the defrag engine?

EL Updated by Eric Leblond over 13 years ago Actions #6

You may need to increase the "defrag.trackers" variable when this problem occurs.

EL Updated by Eric Leblond over 13 years ago Actions #7

I mean to modify:

defrag:
  trackers: 65535

VJ Updated by Victor Julien over 13 years ago Actions #8

  • Status changed from New to Assigned
  • Assignee set to Eric Leblond
  • Target version set to 1.4beta3
  • Parent task set to #551

EL Updated by Eric Leblond over 13 years ago Actions #9

Has defrag code rewrite indirectly triggered a "need to close" on this ticket ?

VJ Updated by Victor Julien over 13 years ago Actions #10

I see 2 error logs in case of PacketDefragPktSetup that we should fix.

VJ Updated by Victor Julien over 13 years ago Actions #11

  • Target version changed from 1.4beta3 to 1.4rc1

VJ Updated by Victor Julien over 13 years ago Actions #12

  • Target version changed from 1.4rc1 to 2.0rc2

VJ Updated by Victor Julien over 12 years ago Actions #13

  • Status changed from Assigned to Closed
  • Target version deleted (2.0rc2)

Closing this as the larger issue is addressed by #551.

Actions

Also available in: PDF Atom