Closed petsagouris closed 10 years ago
I have a gdb backtrace:
(gdb) backtrace
#0 0x00007f1f20c46f5c in getenv () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f1f203d80c3 in lfcgi_getenv () from /usr/local/lib/lua/5.2/lfcgi.so
#2 0x000000000040853d in luaD_precall ()
#3 0x0000000000412614 in luaV_execute ()
#4 0x0000000000408749 in luaD_call ()
#5 0x000000000041127a in callTM.isra.0 ()
#6 0x000000000041159b in luaV_gettable ()
#7 0x000000000041287f in luaV_execute ()
#8 0x0000000000408749 in luaD_call ()
#9 0x0000000000407d88 in luaD_rawrunprotected ()
#10 0x0000000000408983 in luaD_pcall ()
#11 0x0000000000406623 in lua_pcallk ()
#12 0x000000000041943f in luaB_xpcall ()
#13 0x000000000040853d in luaD_precall ()
#14 0x0000000000412537 in luaV_execute ()
#15 0x0000000000408749 in luaD_call ()
#16 0x0000000000406551 in lua_callk ()
#17 0x0000000000420c0f in ll_require ()
#18 0x000000000040853d in luaD_precall ()
#19 0x0000000000412614 in luaV_execute ()
#20 0x0000000000408749 in luaD_call ()
#21 0x0000000000407d88 in luaD_rawrunprotected ()
#22 0x0000000000408983 in luaD_pcall ()
#23 0x0000000000406623 in lua_pcallk ()
#24 0x00007f1f205dd57a in dostring () from /usr/local/lib/lua/5.2/rings.so
#25 0x000000000040853d in luaD_precall ()
#26 0x0000000000412614 in luaV_execute ()
#27 0x0000000000408749 in luaD_call ()
#28 0x0000000000407d88 in luaD_rawrunprotected ()
#29 0x0000000000408983 in luaD_pcall ()
#30 0x0000000000406623 in lua_pcallk ()
#31 0x000000000041943f in luaB_xpcall ()
#32 0x000000000040853d in luaD_precall ()
#33 0x0000000000412537 in luaV_execute ()
#34 0x0000000000408749 in luaD_call ()
#35 0x0000000000407d88 in luaD_rawrunprotected ()
#36 0x0000000000408983 in luaD_pcall ()
#37 0x0000000000406623 in lua_pcallk ()
#38 0x0000000000404240 in docall ()
#39 0x0000000000404d94 in pmain ()
#40 0x000000000040853d in luaD_precall ()
#41 0x000000000040873d in luaD_call ()
#42 0x0000000000407d88 in luaD_rawrunprotected ()
#43 0x0000000000408983 in luaD_pcall ()
#44 0x0000000000406623 in lua_pcallk ()
#45 0x0000000000403fea in main ()
This looks to be the same as issue #10 which was fixed with pull #16. Are you using a release or building from git? The above request hasn't made it into a release yet.
Nope, not from git, it was the 1.6.1 that is current with luarocks. Getting the current head and making a lfcgi.so and replacing the one being used in my system made the problem go away. No it runs solid.
I am running orbit on Lua 5.2 through spawn-fcgi with nginx and am getting a lot of the following frequently and I need to restart the fastcgi:
Searching around I realized I could see what happens with
strace
and this is what I got:Note that this is the lua process, not the spawn-fcgi one (I couldn't find one in
htop
). Here is the command ([...] = abbreviated paths):Is this really something that happens with lfcgi?