Actions
Bug #1955
closedluajit script init failed
Affected Versions:
Effort:
Difficulty:
Label:
Description
lua script couldn't initialize,when with setting reassembly with segments.
14/11/2016 -- 18:55:48 - <Info> - enabling script httpKafka.lua 14/11/2016 -- 18:55:48 - <Error> - [ERRCODE: SC_ERR_LUA_ERROR(212)] - couldn't initialize scipt 14/11/2016 -- 18:55:48 - <Error> - [ERRCODE: SC_ERR_INVALID_ARGUMENT(13)] - output module setup failed
reassembly:
memcap: 58gb
depth: 512mb # reassemble 1mb into a stream
toserver-chunk-size: 2560
toclient-chunk-size: 2560
randomize-chunk-size: yes
#randomize-chunk-range: 10
#raw: yes
#chunk-prealloc: 250
#segments:
# - size: 4
# prealloc: 256
# - size: 16
# prealloc: 512
# - size: 112
# prealloc: 512
# - size: 248
# prealloc: 512
# - size: 512
# prealloc: 512
# - size: 768
# prealloc: 1024
# - size: 1448
# prealloc: 1024
# - size: 65535
# prealloc: 128
#zero-copy-size: 128
<pre>
raw: yes
chunk-prealloc: 20556
segments:
- size: 4
prealloc: 61034
- size: 16
prealloc: 315465
- size: 112
prealloc: 114251
- size: 248
prealloc: 61034
- size: 512
prealloc: 30769
- size: 768
prealloc: 31793
- size: 1448
prealloc: 90470
- size: 65535
prealloc: 81342
</pre>
when comment
#segments: # - size: 4 # prealloc: 61034 # - size: 16 # prealloc: 315465 # - size: 112 ## prealloc: 114251 # - size: 248 # prealloc: 61034 # - size: 512 # prealloc: 30769 # - size: 768 # prealloc: 31793 # - size: 1448 # prealloc: 90470 # - size: 65535 # prealloc: 81342
the lua script will be ok.
Files
Updated by Victor Julien about 8 years ago
Probably the same issue as https://redmine.openinfosecfoundation.org/issues/1577#note-7
Switching to regular lua (instead of luajit) should work.
Updated by Victor Julien about 8 years ago
- Status changed from New to Assigned
- Assignee set to Victor Julien
- Target version set to 70
Updated by Victor Julien almost 8 years ago
- Status changed from Assigned to Closed
- Target version changed from 70 to 3.2
Updated by Victor Julien almost 8 years ago
- Subject changed from lua script init faild to luajit script init failed
Actions