Hello!
On Tue, Apr 22, 2014 at 4:51 AM, Pahud Hsieh wrote:
> 我在每秒大約600-800個ngx_lua請求的時候會出現這樣的錯誤訊息。
> 版本目前是 ngx_openresty-1.5.11.1
> /opt/openresty/nginx/conf/lua/api/chat/send.lua:702: in function
> </opt/openresty/nginx/conf/lua/api/chat/send.lua:684>, context: ngx.timer
> 2014/04/22 19:40:24 [error] 17044#0: lua entry thread aborted: runtime
> error: /opt/openresty/lualib/resty/redis.lua:0: attempt to perform
> arithmetic on a table value
看起来像是触发了 LuaJIT 的 JIT 编译器里的某个 bug. 你能尝试一下最新的 OpenResty 1.5.12.1 RC3 版吗?
http://openresty.org/download/ngx_openresty-1.5.12.1rc3.tar.gz
这个版本里的 LuaJIT 包含了许多最新的 JIT 编译器里的 bug 修复。
多谢!
-agentzh