Project

General

Profile

Actions

Bug #1611

closed

LUA script load error in Suricata version 3.0dev (rev 019f856)

Added by Samiux A about 9 years ago. Updated about 9 years ago.

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

Description

[17047] 2/12/2015 -- 07:16:53 - (suricata.c:1073) <Notice> (SCPrintVersion) -- This is Suricata version 3.0dev (rev 019f856)
[17048] 2/12/2015 -- 07:16:57 - (tm-threads.c:2002) <Notice> (TmThreadWaitOnThreadInit) -- all 20 packet processing threads, 4 management threads initialized, engine started.
[17048] 2/12/2015 -- 07:17:47 - (util-pool.c:169) <Error> (PoolInit) -- [ERRCODE: SC_ERR_POOL_INIT(66)] - alloc error
[17048] 2/12/2015 -- 07:17:47 - (detect-lua.c:221) <Error> (DetectLuajitSetupStatesPool) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool init failed, lua/luajit keywords won't work
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:596) <Notice> (DetectEngineReloadThreads) -- rule reload starting
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-lua.c:699) <Error> (DetectLuaThreadInit) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool depleted
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:1259) <Error> (DetectEngineThreadCtxInitKeywords) -- [ERRCODE: SC_ERR_DETECT_PREPARE(173)] - setting up thread local detect ctx for keyword "luajit" failed
[17048] 2/12/2015 -- 07:18:05 - (detect-engine.c:748) <Notice> (DetectEngineReloadThreads) -- rule reload complete
[17048] 2/12/2015 -- 07:18:05 - (suricata.c:2404) <Notice> (main) -- Signature(s) loaded, Detect thread(s) activated.

Actions #1

Updated by Victor Julien about 9 years ago

Is this different from #1577?

Actions #2

Updated by Samiux A about 9 years ago

When the prealloc value is set to 20000, it is working fine. I think it is the similar problem as at #1577.

flow:
memcap: 16gb
hash-size: 65536
prealloc: 20000

Actions #3

Updated by Victor Julien about 9 years ago

  • Status changed from New to Rejected

Closing as duplicate of #1577

Actions

Also available in: Atom PDF