Description
Hello, I found a strange problem that the cpu usage is too high in several workers. Here is the gdb info:
#0 0x00002b6a94401183 in ?? () from /usr/lib/libluajit-5.1.so.2
#1 0x00002b6a94401415 in lua_getstack () from /usr/lib/libluajit-5.1.so.2
#2 0x000000000053fb19 in ngx_http_lua_thread_traceback (L=0x40f22378, co=0x7ef24628, coctx=0xbcdbfd0)
at /search/nginx_build/BUILD/nginx-sogou-lua/stable/20130627160733_18270/compile/modules/ngx_lua.d8aa2fe/src/ngx_http_lua_util.c:2682
#3 0x000000000053d176 in ngx_http_lua_run_thread (L=0x40f22378, r=0xbcdaf60, ctx=0xbcdbfb8, nrets=1)
at /search/nginx_build/BUILD/nginx-sogou-lua/stable/20130627160733_18270/compile/modules/ngx_lua.d8aa2fe/src/ngx_http_lua_util.c:1330
#4 0x0000000000526dc9 in ngx_http_lua_subrequest_resume (r=0xbcdaf60)
at /search/nginx_build/BUILD/nginx-sogou-lua/stable/20130627160733_18270/compile/modules/ngx_lua.d8aa2fe/src/ngx_http_lua_subrequest.c:1576
#5 0x0000000000541f5e in ngx_http_lua_content_wev_handler (r=0xbcdaf60)
at /search/nginx_build/BUILD/nginx-sogou-lua/stable/20130627160733_18270/compile/modules/ngx_lua.d8aa2fe/src/ngx_http_lua_contentby.c:131
#6 0x0000000000499caa in ngx_http_run_posted_requests (c=0x2b6a94d32250) at src/http/ngx_http_request.c:2170
#7 0x00000000004b1fa3 in ngx_http_upstream_handler (ev=0x2b6a956931b0) at src/http/ngx_http_upstream.c:972
#8 0x000000000046f860 in ngx_event_process_posted (cycle=0xbbdfdd0, posted=0x9b3088) at src/event/ngx_event_posted.c:40
#9 0x000000000046d3a9 in ngx_process_events_and_timers (cycle=0xbbdfdd0) at src/event/ngx_event.c:276
#10 0x000000000047a59c in ngx_worker_process_cycle (cycle=0xbbdfdd0, data=0x7) at src/os/unix/ngx_process_cycle.c:807
#11 0x0000000000477185 in ngx_spawn_process (cycle=0xbbdfdd0, proc=0x47a3e9 <ngx_worker_process_cycle>, data=0x7, name=0x6d11be "worker process", respawn=-4)
at src/os/unix/ngx_process.c:198
#12 0x0000000000479477 in ngx_start_worker_processes (cycle=0xbbdfdd0, n=8, type=-4) at src/os/unix/ngx_process_cycle.c:362
#13 0x0000000000479075 in ngx_master_process_cycle (cycle=0xbbdfdd0) at src/os/unix/ngx_process_cycle.c:249
#14 0x0000000000448a19 in main (argc=3, argv=0x7fffaa3edea8) at src/core/nginx.c:412
I can't find any clue to solve the problem,please help me ...
I use the nginx_lua v0.8.3 , and I can't reproduce the problem ,but when the nginx serve many clients for several hours , it comes again.