nginx 的error.log如下:
nginx: lua atpanic: Lua VM crashed, reason: unknown reason
2014/09/16 20:50:09 [alert] 5061#0: worker process 3292 exited on signal 11 (core dumped)
2014/09/16 20:50:09 [alert] 5061#0: worker process 3284 exited on signal 11 (core dumped)
2014/09/16 20:50:09 [alert] 5061#0: worker process 3295 exited on signal 11 (core dumped)
nginx: lua atpanic: Lua VM crashed, reason: unknown reason
nginx: lua atpanic: Lua VM crashed, reason: unknown reason
nginx: lua atpanic: Lua VM crashed, reason: unknown reason
nginx: lua atpanic: Lua VM crashed, reason: unknown reason
nginx: lua atpanic: Lua VM crashed, reason: unknown reason
我用webbench 在500压力测试的时候,会一直报上面的错,而且产生大量的core文件,不知道是不是兼容问题;
我的环境是:
nginx version: nginx/1.6.1
安装的第三方扩展lua-nginx-module-0.9.12,ngx_devel_kit-0.2.19
LuaJIT 2.0.1 -- Copyright (C) 2005-2013 Mike Pall. http://luajit.org/
location /hello {
default_type text/html;
content_by_lua '
ngx.say("hello world");
';
}
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9002;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
不如我的php性能好?想知道上面的错误原因是什么呢??
求高手解答!