nginx worker process 3964 exited on signal 11

Vladimir Sopot jd на artdesign.ru
Вс Фев 21 13:59:32 MSK 2010


http://sysoev.ru/nginx/docs/http/ngx_http_geo_module.html

?


On Feb 21, 2010, at 1:48 PM, Дугин Сергей wrote:

> Здравствуйте, .
> 
> Как с этим бороться?
> 
> возникает такая ошибка когда делаю такой rewrite
> if ($remote_addr ~ "(212.58.162.23)|(80.255.64.)|(80.255.73.50)|(78.25.58.81)|(217.8.235.194)|(80.83.238.247)|(195.151.48.30)|(212.92.139.(19[3-9]|2[0-4][0-9]|25[0-4]))|(195.74.84.241)|(217.74.246.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(195.74.84.32)|(80.83.238.246)|(194.74.148.8)|(194.74.84.241)|(217.8.236.11)|(195.85.238.131)|(245.66.145.149)|(217.66.145.148)|(213.59.32.146)|(213.87.65.5)|(80.72.213.62)|(217.74.247.([1-9]|[1-9][0-9]|1[0-1][0-9]|12[0-7]))|(194.74.84.32)|(217.66.145.10)|(194.54.148.8)|(213.87.6.8)|(217.74.244.13)|(195.98.38.(6[5-9]|[7-9][0-9]|1[0-1][0-9]|12[0-6]))|(195.74.84.36)|(217.8.236.248)|(194.186.210.61)|(213.87.65.(12[8-9]|1[3-9][0-9]|2[0-4][0-9]|25[0-5]))|(245.66.145.167)|(217.8.237.9)|(217.66.145.15)|(213.87.72.73)|(213.87.72.87)"){
> 
> если  его  разбиваю  так  чтобы  в одном реврайте не было больше 9 пар
> круглых скобок не считая внешний то все работает нормально
> в итоге сделал так
> 
>      if ($remote_addr ~ "(212.58.162.23)|(80.255.64.)|(80.255.73.50)|(78.25.58.81)|(217.8.235.194)|(80.83.238.247)|(195.151.48.30)|(212.92.139.(19[3-9]|2[0-4][0-9]|25[0-4]))"){
>        rewrite  ^(.*)$  http://aaaaaaa.ru/bbbbb/cccccc/$1  last;
>      }
>      if ($remote_addr ~ "(195.74.84.241)|(212.92.139.(19[3-9]|2[0-4][0-9]|25[0-4]))|(195.74.84.241)|(217.74.246.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(195.74.84.32)|(80.83.238.246)|(194.74.148.8)"){
>        rewrite  ^(.*)$  http://aaaaaaa.ru/bbbbb/cccccc/$1  last;
>      }
>      if ($remote_addr ~ "(194.74.84.241)|(217.8.236.11)|(195.85.238.131)|(245.66.145.149)|(217.66.145.148)|(213.59.32.146)|(213.87.65.5)|(217.74.247.([1-9]|[1-9][0-9]|1[0-1][0-9]|12[0-7]))"){
>        rewrite  ^(.*)$  http://aaaaaaa.ru/bbbbb/cccccc/$1  last;
>      }
>      if ($remote_addr ~ "(80.72.213.62)|(194.74.84.32)|(217.66.145.10)|(194.54.148.8)|(213.87.6.8)|(217.74.244.13)|(195.98.38.(6[5-9]|[7-9][0-9]|1[0-1][0-9]|12[0-6]))|(195.74.84.36)"){
>        rewrite  ^(.*)$  http://aaaaaaa.ru/bbbbb/cccccc/$1  last;
>      }
>      if ($remote_addr ~ "(217.8.236.248)|(194.186.210.61)|(213.87.65.(12[8-9]|1[3-9][0-9]|2[0-4][0-9]|25[0-5]))|(245.66.145.167)|(217.8.237.9)|(217.66.145.15)|(213.87.72.73)|(213.87.72.87)"){
>        rewrite  ^(.*)$  http://aaaaaaa.ru/bbbbb/cccccc/$1  last;
>      }
> 
> nginx version: nginx/0.7.64
> 
> 
> 2010/02/21 12:39:09 [alert] 18395#0: worker process 3964 exited on signal 11
> *** glibc detected *** nginx: worker process: free(): invalid next size (normal): 0x00000000017c12a0 ***
> ======= Backtrace: =========
> /lib/libc.so.6[0x7f358cb32928]
> /lib/libc.so.6(cfree+0x76)[0x7f358cb34a36]
> nginx: worker process(ngx_destroy_pool+0x54)[0x42c058]
> nginx: worker process[0x44e0ba]
> nginx: worker process(ngx_http_finalize_request+0x62b)[0x44fddd]
> nginx: worker process(ngx_http_core_content_phase+0x74)[0x44c74d]
> nginx: worker process(ngx_http_core_run_phases+0x23)[0x447f23]
> nginx: worker process(ngx_http_handler+0x105)[0x44804c]
> nginx: worker process[0x450883]
> nginx: worker process[0x450e1a]
> nginx: worker process[0x4512fd]
> nginx: worker process[0x44ebfa]
> nginx: worker process(ngx_event_process_posted+0x36)[0x43e49a]
> nginx: worker process(ngx_process_events_and_timers+0x137)[0x43e362]
> nginx: worker process[0x443bcf]
> nginx: worker process(ngx_spawn_process+0x46c)[0x442473]
> nginx: worker process(ngx_master_process_cycle+0x444)[0x444375]
> nginx: worker process(main+0x9f0)[0x42b559]
> /lib/libc.so.6(__libc_start_main+0xe6)[0x7f358cadd1a6]
> nginx: worker process(sin+0xf1)[0x429dd9]
> ======= Memory map: ========
> 00400000-005c3000 r-xp 00000000 09:00 180460                             /usr/sbin/nginx
> 007c3000-007d3000 rw-p 001c3000 09:00 180460                             /usr/sbin/nginx
> 007d3000-007e1000 rw-p 007d3000 00:00 0
> 017b3000-01bbb000 rw-p 017b3000 00:00 0                                  [heap]
> 7f3584000000-7f3584021000 rw-p 7f3584000000 00:00 0
> 7f3584021000-7f3588000000 ---p 7f3584021000 00:00 0
> 7f358bc66000-7f358bc7c000 r-xp 00000000 09:00 451629                     /lib/libgcc_s.so.1
> 7f358bc7c000-7f358be7c000 ---p 00016000 09:00 451629                     /lib/libgcc_s.so.1
> 7f358be7c000-7f358be7d000 rw-p 00016000 09:00 451629                     /lib/libgcc_s.so.1
> 7f358be7d000-7f358be81000 r-xp 00000000 09:00 209767                     /usr/local/lib/perl5/5.10.0/x86_64-linux-thread-multi/auto/Digest/MD5/MD5.so
> 7f358be81000-7f358c080000 ---p 00004000 09:00 209767                     /usr/local/lib/perl5/5.10.0/x86_64-linux-thread-multi/auto/Digest/MD5/MD5.so
> 7f358c080000-7f358c081000 rw-p 00003000 09:00 209767                     /usr/local/lib/perl5/5.10.0/x86_64-linux-thread-multi/auto/Digest/MD5/MD5.so
> 7f358c081000-7f358c088000 r-xp 00000000 09:00 196332                     /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/auto/nginx/nginx.so
> 7f358c088000-7f358c287000 ---p 00007000 09:00 196332                     /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/auto/nginx/nginx.so
> 7f358c287000-7f358c288000 rw-p 00006000 09:00 196332                     /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/auto/nginx/nginx.so
> 7f358c288000-7f358c292000 r-xp 00000000 09:00 452251                     /lib/libnss_files-2.7.so
> 7f358c292000-7f358c492000 ---p 0000a000 09:00 452251                     /lib/libnss_files-2.7.so
> 7f358c492000-7f358c494000 rw-p 0000a000 09:00 452251                     /lib/libnss_files-2.7.so
> 7f358c494000-7f358c49d000 r-xp 00000000 09:00 452246                     /lib/libnss_nis-2.7.so
> 7f358c49d000-7f358c69d000 ---p 00009000 09:00 452246                     /lib/libnss_nis-2.7.so
> 7f358c69d000-7f358c69f000 rw-p 00009000 09:00 452246                     /lib/libnss_nis-2.7.so
> 7f358c69f000-7f358c6b4000 r-xp 00000000 09:00 452264                     /lib/libnsl-2.7.so
> 7f358c6b4000-7f358c8b3000 ---p 00015000 09:00 452264                     /lib/libnsl-2.7.so
> 7f358c8b3000-7f358c8b5000 rw-p 00014000 09:00 452264                     /lib/libnsl-2.7.so
> 7f358c8b5000-7f358c8b7000 rw-p 7f358c8b5000 00:00 0
> 7f358c8b7000-7f358c8be000 r-xp 00000000 09:00 452253                     /lib/libnss_compat-2.7.so
> 7f358c8be000-7f358cabd000 ---p 00007000 09:00 452253                     /lib/libnss_compat-2.7.so
> 7f358cabd000-7f358cabf000 rw-p 00006000 09:00 452253                     /lib/libnss_compat-2.7.so
> 7f358cabf000-7f358cc09000 r-xp 00000000 09:00 452265                     /lib/libc-2.7.so
> 7f358cc09000-7f358ce08000 ---p 0014a000 09:00 452265                     /lib/libc-2.7.so
> 7f358ce08000-7f358ce0b000 r--p 00149000 09:00 452265                     /lib/libc-2.7.so
> 7f358ce0b000-7f358ce0d000 rw-p 0014c000 09:00 452265                     /lib/libc-2.7.so
> 7f358ce0d000-7f358ce12000 rw-p 7f358ce0d000 00:00 0
> 7f358ce12000-7f358ce28000 r-xp 00000000 09:00 452268                     /lib/libpthread-2.7.so
> 7f358ce28000-7f358d028000 ---p 00016000 09:00 452268                     /lib/libpthread-2.7.so
> 7f358d028000-7f358d02a000 rw-p 00016000 09:00 452268                     /lib/libpthread-2.7.so
> 7f358d02a000-7f358d02e000 rw-p 7f358d02a000 00:00 0
> 7f358d02e000-7f358d0b0000 r-xp 00000000 09:00 452270                     /lib/libm-2.7.so
> 7f358d0b0000-7f358d2af000 ---p 00082000 09:00 452270                     /lib/libm-2.7.so
> 7f358d2af000-7f358d2b1000 rw-p 00081000 09:00 452270                     /lib/libm-2.7.so
> 7f358d2b1000-7f358d2b3000 r-xp 00000000 09:00 452257                     /lib/libdl-2.7.so
> 7f358d2b3000-7f358d4b3000 ---p 00002000 09:00 452257                     /lib/libdl-2.7.so
> 7f358d4b3000-7f358d4b5000 rw-p 00002000 09:00 452257                     /lib/libdl-2.7.so
> 7f358d4b5000-7f358d4cb000 r-xp 00000000 09:00 96951                      /usr/lib/libz.so.1.2.3.3
> 7f358d4cb000-7f358d6cb000 ---p 00016000 09:00 96951                      /usr/lib/libz.so.1.2.3.3
> 7f358d6cb000-7f358d6cc000 rw-p 00016000 09:00 96951                      /usr/lib/libz.so.1.2.3.3
> 7f358d6cc000-7f358d83e000 r-xp 00000000 09:00 101597                     /usr/lib/libcrypto.so.0.9.8
> 7f358d83e000-7f358da3d000 ---p 00172000 09:00 101597                     /usr/lib/libcrypto.so.0.9.8
> 7f358da3d000-7f358da63000 rw-p 00171000 09:00 101597                     /usr/lib/libcrypto.so.0.9.8
> 7f358da63000-7f358da67000 rw-p 7f358da63000 00:00 0
> 7f358da67000-7f358da8f000 r-xp 00000000 09:00 97556                      /usr/lib/libpcre.so.3.12.1
> 7f358da8f000-7f358dc8e000 ---p 00028000 09:00 97556                      /usr/lib/libpcre.so.3.12.1
> 7f358dc8e000-7f358dc8f000 rw-p 00027000 09:00 97556                      /usr/lib/libpcre.so.3.12.1
> 7f358dc8f000-7f358dc97000 r-xp 00000000 09:00 452263                     /lib/libcrypt-2.7.so
> 7f358dc97000-7f358de97000 ---p 00008000 09:00 452263                     /lib/libcrypt-2.7.so
> 7f358de97000-7f358de99000 rw-p 00008000 09:00 452263                     /lib/libcrypt-2.7.so
> 7f358de99000-7f358dec7000 rw-p 7f358de99000 00:00 0
> 7f358dec7000-7f358dee3000 r-xp 00000000 09:00 452259                     /lib/ld-2.7.so
> 7f358e023000-7f358e0d8000 rw-p 7f358e023000 00:00 0
> 7f358e0de000-7f358e0df000 rw-s 00000000 00:08 205691326                  /dev/zero (deleted)
> 7f358e0df000-7f358e0e2000 rw-p 7f358e0df000 00:00 0
> 7f358e0e2000-7f358e0e4000 rw-p 0001b000 09:00 452259                     /lib/ld-2.7.so
> 7fffa0efb000-7fffa0f10000 rw-p 7ffffffea000 00:00 0                      [stack]
> 7fffa0fff000-7fffa1000000 r-xp 7fffa0fff000 00:00 0                      [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
> 2010/02/21 12:39:09 [alert] 18395#0: worker process 3966 exited on signal 6
> 2010/02/21 12:39:09 [alert] 18395#0: worker process 3967 exited on signal 11
> 2010/02/21 12:39:09 [alert] 18395#0: worker process 3965 exited on signal 11
> 
> 
> -- 
> С уважением,
> Дугин Сергей                          mailto:drug на qwarta.ru
> QWARTA
> 
> 
> _______________________________________________
> nginx-ru mailing list
> nginx-ru на nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru




Подробная информация о списке рассылки nginx-ru