Игорь, что то совсем странное ...
nginx version: nginx/0.5.8
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
0.4.0 с тем же конфигом работал прекрасно, вчера заменил на новый и 9 кор уже
и все разные, что вообще непонятно
вот несколько:
#0 0x30333a35 in ?? ()
(gdb) bt
#0 0x30333a35 in ?? ()
#1 0x08059ad8 in ngx_trylock_accept_mutex (cycle=0x8cd9820) at
ngx_event_accept.c:353
#2 0x08057925 in ngx_process_events_and_timers (cycle=0x8cd9820) at
ngx_event.c:226
#3 0x0805faff in ngx_worker_process_cycle (cycle=0x8cd9820, data=0x0) at
ngx_process_cycle.c:728
#4 0x0805d48f in ngx_spawn_process (cycle=0x8cd9820, proc=0x805f887
<ngx_worker_process_cycle>, data=0x0, name=0x8092efa "worker process",
respawn=-3)
at ngx_process.c:187
#5 0x0805e527 in ngx_start_worker_processes (cycle=0x8cd9820, n=2, type=-3)
at ngx_process_cycle.c:327
#6 0x0805f149 in ngx_master_process_cycle (cycle=0x8cd9820) at
ngx_process_cycle.c:219
#7 0x0804a94d in main (argc=1, argv=0xbf8c4b34) at nginx.c:347
#0 0x08061de3 in ngx_epoll_process_events (cycle=0x836ea78, timer=9121,
flags=<value optimized out>) at ngx_epoll_module.c:447
447 c = event_list[i].data.ptr;
(gdb) bt
#0 0x08061de3 in ngx_epoll_process_events (cycle=0x836ea78, timer=9121,
flags=<value optimized out>) at ngx_epoll_module.c:447
#1 0x08057814 in ngx_process_events_and_timers (cycle=0x836ea78) at
ngx_event.c:245
#2 0x0805faff in ngx_worker_process_cycle (cycle=0x836ea78, data=0x0) at
ngx_process_cycle.c:728
#3 0x0805d48f in ngx_spawn_process (cycle=0x836ea78, proc=0x805f887
<ngx_worker_process_cycle>, data=0x0, name=0x8092efa "worker process",
respawn=-3)
at ngx_process.c:187
#4 0x0805e527 in ngx_start_worker_processes (cycle=0x836ea78, n=2, type=-3)
at ngx_process_cycle.c:327
#5 0x0805f149 in ngx_master_process_cycle (cycle=0x836ea78) at
ngx_process_cycle.c:219
#6 0x0804a94d in main (argc=1, argv=0xbf8c4b34) at nginx.c:347
(gdb) bt
#0 0xb7e8158a in memcpy () from /lib/tls/libc.so.6
#2 0x0804df66 in ngx_sprintf (buf=0x8091383 "d/%s/%d:%02d:%02d:%02d %
c%02d%02d", fmt=0x8091383 "d/%s/%d:%02d:%02d:%02d %c%02d%02d") at
ngx_string.c:84
#3 0x0805233b in ngx_time_update (sec=0, msec=0) at ngx_times.c:139
#4 0x08061ec6 in ngx_epoll_process_events (cycle=0x9294358, timer=20557,
flags=<value optimized out>) at ngx_epoll_module.c:411
#5 0x08057814 in ngx_process_events_and_timers (cycle=0x9294358) at
ngx_event.c:245
#6 0x0805faff in ngx_worker_process_cycle (cycle=0x9294358, data=0x0) at
ngx_process_cycle.c:728
#7 0x0805d48f in ngx_spawn_process (cycle=0x9294358, proc=0x805f887
<ngx_worker_process_cycle>, data=0x0, name=0x8092efa "worker process",
respawn=-3)
at ngx_process.c:187
#8 0x0805e527 in ngx_start_worker_processes (cycle=0x9294358, n=2, type=-3)
at ngx_process_cycle.c:327
#9 0x0805f149 in ngx_master_process_cycle (cycle=0x9294358) at
ngx_process_cycle.c:219
#10 0x0804a94d in main (argc=1, argv=0xbf8c4b34) at nginx.c:347
nginx -V
Есть подозрение, что это -O2.
Игорь Сысоев
http://sysoev.ru