captures in regex location

Vladimir Sopot jd at artdesign.ru
Tue Mar 10 22:54:03 MSK 2009


а вот еще одна

# gdb ../sbin/nginx ./core.2247
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html 
 >
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show  
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /usr/lib64/libpcre.so.0...done.
Loaded symbols for /usr/lib64/libpcre.so.0
Reading symbols from /lib64/libz.so.1...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `nginx: worker process      '.
Program terminated with signal 11, Segmentation fault.
#0  ngx_destroy_pool (pool=0x8bacf0) at src/core/ngx_palloc.c:61
61	        if (l->alloc) {
(gdb) bt
#0  ngx_destroy_pool (pool=0x8bacf0) at src/core/ngx_palloc.c:61
#1  0x0000000000428cad in ngx_http_close_connection (c=0x7f441cd8a158)  
at src/http/ngx_http_request.c:2864
#2  0x0000000000429886 in ngx_http_keepalive_handler  
(rev=0x7f441cbe6018) at src/http/ngx_http_request.c:2459
#3  0x00000000004178dc in ngx_event_expire_timers () at src/event/ 
ngx_event_timer.c:149
#4  0x0000000000417752 in ngx_process_events_and_timers  
(cycle=0x6721c8) at src/event/ngx_event.c:261
#5  0x000000000041de46 in ngx_worker_process_cycle (cycle=0x6721c8,  
data=<value optimized out>) at src/os/unix/ngx_process_cycle.c:767
#6  0x000000000041c713 in ngx_spawn_process (cycle=0x6721c8,  
proc=0x41d7cf <ngx_worker_process_cycle>, data=0x0, name=0x44be93  
"worker process", respawn=13) at src/os/unix/ngx_process.c:187
#7  0x000000000041e6c1 in ngx_master_process_cycle (cycle=0x6721c8) at  
src/os/unix/ngx_process_cycle.c:569
#8  0x0000000000403fc4 in main (argc=<value optimized out>,  
argv=0x7fff25c1d1f8) at src/core/nginx.c:363



On Mar 10, 2009, at 9:27 PM, Igor Sysoev wrote:

> On Tue, Mar 10, 2009 at 07:34:15PM +0300, Vladimir Sopot wrote:
>
>> Пока корок не пишется...
>>
>> # tail error_log
>> 2009/03/10 19:22:02 [alert] 21841#0: worker process 25525 exited on
>> signal 6
>> 2009/03/10 19:22:39 [alert] 21841#0: worker process 23585 exited on
>> signal 11
>> 2009/03/10 19:22:41 [alert] 21841#0: worker process 25584 exited on
>> signal 11
>> 2009/03/10 19:22:55 [alert] 21841#0: worker process 25635 exited on
>> signal 11
>> 2009/03/10 19:23:13 [alert] 21841#0: worker process 25665 exited on
>> signal 11
>> 2009/03/10 19:23:47 [alert] 21841#0: worker process 23576 exited on
>> signal 11
>> 2009/03/10 19:23:47 [alert] 21841#0: worker process 25394 exited on
>> signal 11
>> 2009/03/10 19:24:19 [alert] 21841#0: worker process 25472 exited on
>> signal 11
>> 2009/03/10 19:24:21 [alert] 21841#0: worker process 25666 exited on
>> signal 11
>> 2009/03/10 19:26:53 [alert] 21841#0: worker process 25534 exited on
>> signal 11
>>
>> nginx.conf:
>> .......
>> worker_rlimit_core  100000000;
>> .......
>>
>> может что-то еще надо где-то включить? (после обновления ядра могло
>> что-то где-то не прописаться :)
>
> Ещё
>
> working_directory  /path/to/cores;
>
> Воркеры должны иметь права на запись в этот каталог.
>
>
> -- 
> Игорь Сысоев
> http://sysoev.ru
>
>






More information about the nginx-ru mailing list