RE: Questions on tslua plugin and luajit.

2019-05-01 Thread Chou, Peter
) end print ("total bytes allocated = " .. count) Thanks, Peter -Original Message- From: Shu Kit Chan Sent: Wednesday, May 1, 2019 12:47 PM To: dev@trafficserver.apache.org Subject: Re: Questions on tslua plugin and luajit. Interesting. So with luajit 2.1.0-beta3, you can get

Re: Questions on tslua plugin and luajit.

2019-05-01 Thread Shu Kit Chan
into a table until out of memory was reported. Hopefully, the > increased > limit translates into the plugin also. > > Thanks, > Peter > > -Original Message- > From: Shu Kit Chan > Sent: Wednesday, May 1, 2019 2:50 AM > To: dev@trafficserver.apache.org > Su

RE: Questions on tslua plugin and luajit.

2019-05-01 Thread Chou, Peter
Sent: Wednesday, May 1, 2019 2:50 AM To: dev@trafficserver.apache.org Subject: Re: Questions on tslua plugin and luajit. 1) Yes. That looks like it. you can try to lower the number of states in your mapping rules. The default is 256. That is the number of lua_State we start with. 2) I am not

Re: Questions on tslua plugin and luajit.

2019-05-01 Thread Shu Kit Chan
1) Yes. That looks like it. you can try to lower the number of states in your mapping rules. The default is 256. That is the number of lua_State we start with. 2) I am not aware that luajit-2.1.0-beta3 will have any improvement to the memory limit problem. Thanks. Kit On Tue, Apr 30, 2019 at 11

Questions on tslua plugin and luajit.

2019-04-30 Thread Chou, Peter
Hi, Few questions on LuaJIT in relation to the ts_lua plugin. 1. We did get the following core dump in production. Does this fit the signature for a LuaJIT memory exhaust? Program terminated with signal 11, Segmentation fault. #0 0x2b67b4bfeacd in __run_exit_handlers () from /lib64/libc.so.