i think you can try to lower the number of lua state. in plugin.config tslua.so --states=64 /etc/trafficserver/lua/default.lua --enable-reload so basically with luajit there is a limit of 1 GB of running memory. if you have too much stuff kept around in the lua VM, and you go over that limit, you will get a "panic". especially when a reload is happening, there are usually more stuff being kept around. the default number of states is 256, which is a bit high. lowering it to 64 should give you plenty of room . that is at the expense of a little increase in latency but for the most part i think it should be negligible (