Project

General

Profile

Actions

Support #2625

closed

<Info> - failed to run script: not enough memory

Added by Samiux A over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Affected Versions:
Label:

Description

Suricata 4.0.5
Luajit 5.1

I am running several lua scripts with Suricata. However, I find some "<Info> - failed to run script: not enough memory" messages displayed.

Actions #1

Updated by Peter Manev over 6 years ago

If you increase the number of states (lets say 600) - https://github.com/OISF/suricata/blob/master/suricata.yaml.in#L1520 would it have any difference ?

Actions #2

Updated by Samiux A over 6 years ago

I have tried 512, 600, 768 and 1024 with no hope.

I downgrade to lua and the problem gone. However, the speed is a little bit slower than luajit.

Any idea to fix this luajit memory limit problem? By the way, I used the latest luajit from Ubuntu 18.04.

Actions #3

Updated by Andreas Herz over 5 years ago

  • Tracker changed from Bug to Support
  • Assignee set to Samiux A
  • Target version set to Support

Did you try with the latest versions/updates?

Actions #4

Updated by Samiux A over 5 years ago

Suricata 4.1.4 with LuaJIT 5.1 is working properly. It is fixed on version 4.1.4.

Actions #5

Updated by Victor Julien over 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF