<div dir="ltr"><div>Actually increasing it significantly higher seems to have resolved those error messages:<br><br>flow:<br> memcap: 4gb<br> hash-size: 15728640<br> prealloc: 8000000<br> emergency-recovery: 30<br> #managers: 1 # default to one flow manager<br> #recyclers: 1 # default to one flow recycler thread<br><br>However now it is failing to actually parse any signatures from luajit.rules<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2016 at 10:35, Kevin Ross <span dir="ltr"><<a href="mailto:kevross33@googlemail.com" target="_blank">kevross33@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>yes I found that during initial troubleshooting and checking internet for same issues. It seems to be the same but changing these values have not resolved this for me:</div><div><br></div><div><div>[16087] 18/1/2016 -- 10:33:02 - (util-pool.c:169) <Error> (PoolInit) -- [ERRCODE: SC_ERR_POOL_INIT(66)] - alloc error</div><div>[16087] 18/1/2016 -- 10:33:03 - (detect-lua.c:221) <Error> (DetectLuajitSetupStatesPool) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool init failed, lua/luajit keywords won't work</div></div><div><br></div><div>I have raised the memcaps to 1gb and the prealloc to 20,000 and then 40,000 to see if that helps but I still get the same issue.</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2016 at 10:20, Peter Manev <span dir="ltr"><<a href="mailto:petermanev@gmail.com" target="_blank">petermanev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Mon, Jan 18, 2016 at 11:14 AM, Kevin Ross <<a href="mailto:kevross33@googlemail.com" target="_blank">kevross33@googlemail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> On a relatively new build what causes this error which is preventing luajit rules from working? I get this error which seems to be the base issue before all the rule errors and luajit detect errors then occur:<br>
><br>
> (detect-lua.c:221) <Error> (DetectLuajitSetupStatesPool) -- [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool init failed, lua/luajit keywords won't work<br>
><br>
> The compile however goes ok for luajit:<br>
><br>
><br>
><br>
</span><span>> The system is running on Centos 7 with latest Suciricata Dev version currently (as I upgraded to try and see if that fixes it and also because I use forward proxy stuff). This runs in IDS mode only.<br>
><br>
<br>
</span>Hi<br>
<br>
Similar to this -<br>
<a href="https://redmine.openinfosecfoundation.org/issues/1611" rel="noreferrer" target="_blank">https://redmine.openinfosecfoundation.org/issues/1611</a><br>
?<br>
<br>
Can you try to see if adjusting the memcaps and prealloc will work for you ?<br>
<br>
Thanks<br>
<br>
><br>
> Kind Regards,<br>
> Kevin Ross<br>
><br>
> _______________________________________________<br>
> Suricata IDS Users mailing list: <a href="mailto:oisf-users@openinfosecfoundation.org" target="_blank">oisf-users@openinfosecfoundation.org</a><br>
> Site: <a href="http://suricata-ids.org" rel="noreferrer" target="_blank">http://suricata-ids.org</a> | Support: <a href="http://suricata-ids.org/support/" rel="noreferrer" target="_blank">http://suricata-ids.org/support/</a><br>
> List: <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users" rel="noreferrer" target="_blank">https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users</a><br>
> Suricata User Conference November 4 & 5 in Barcelona: <a href="http://oisfevents.net" rel="noreferrer" target="_blank">http://oisfevents.net</a><br>
<span><font color="#888888"><br>
<br>
<br>
<br>
--<br>
Regards,<br>
Peter Manev<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>