Nginx stuck processes

Sandesh K. lists at ruby-forum.com
Tue Nov 22 05:51:56 UTC 2011


Sandesh K. wrote in post #1027339:
> Hello Igor,
>
> Do you have any update on this?

Igor,

We upgraded the OS as well as Nginx to 1.1.10 latest stable. But the 
problem still persists.


*2.6.18-164.el5PAE
*CentOS release 5.4 (Final)
*nginx: nginx version: nginx/1.0.10
*nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-46)
nginx: configure arguments: --prefix=/usr/local/nginx 
--sbin-path=/usr/local/nginx/sbin/nginx 
--conf-path=/etc/nginx/conf/nginx.conf 
--error-log-path=/var/log/nginx/logs/error.log 
--pid-path=/var/run/nginx.pid --lock-path=/var/log/nginx/logs/nginx.lock 
--with-mail --without-http --without-mail_imap_module 
--without-mail_smtp_module



GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for 
details.
This GDB was configured as "i386-redhat-linux-gnu".
(gdb) attach 65233
Attaching to process 65233
Reading symbols from /usr/local/nginx/sbin/nginx...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1218550432 (LWP 65233)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/kerberos/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/kerberos/lib/libgssapi_krb5.so.2
Reading symbols from /usr/kerberos/lib/libkrb5.so.3...done.
Loaded symbols for /usr/kerberos/lib/libkrb5.so.3
Reading symbols from /usr/kerberos/lib/libcom_err.so.3...done.
Loaded symbols for /usr/kerberos/lib/libcom_err.so.3
Reading symbols from /usr/kerberos/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/kerberos/lib/libk5crypto.so.3
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0x0031ebba in _int_malloc () from /lib/tls/libc.so.6
(gdb) backtrace
#0 0x0031ebba in _int_malloc () from /lib/tls/libc.so.6
#1 0x0031f89c in _int_memalign () from /lib/tls/libc.so.6
#2 0x0031e2c7 in memalign () from /lib/tls/libc.so.6
#3 0x00320367 in posix_memalign () from /lib/tls/libc.so.6
#4 0x0805da38 in ngx_memalign (alignment=16, size=4069528, log=0x108) at 
src/os/unix/ngx_alloc.c:56
#5 0x0804b917 in ngx_palloc_block (pool=0x8d0b9b0, size=52) at 
src/core/ngx_palloc.c:184
#6 0x0804b892 in ngx_palloc (pool=0x8d0b9b0, size=52) at 
src/core/ngx_palloc.c:138
#7 0x0804babf in ngx_pcalloc (pool=0x8d0b9b0, size=52) at 
src/core/ngx_palloc.c:304
#8 0x0804d0b7 in ngx_create_temp_buf (pool=0x8d0b9b0, size=4096) at 
src/core/ngx_buf.c:16
#9 0x08067508 in ngx_mail_proxy_init (s=0x8d0da20, peer=0x8d0c294) at 
src/mail/ngx_mail_proxy_module.c:167
#10 0x080666e2 in ngx_mail_auth_http_process_headers (s=0x8d0da20, 
ctx=0x8d12498) at src/mail/ngx_mail_auth_http_module.c:832
#11 0x0806606c in ngx_mail_auth_http_ignore_status_line (s=0x8d0da20, 
ctx=0x8d12498) at src/mail/ngx_mail_auth_http_module.c:448
#12 0x08065f4b in ngx_mail_auth_http_read_handler (rev=0x3e2180) at 
src/mail/ngx_mail_auth_http_module.c:331
#13 0x0806194e in ngx_rtsig_process_events (cycle=0x8cdb248, 
timer=147634972, flags=1) at src/event/modules/ngx_rtsig_module.c:400
#14 0x0805ad0c in ngx_process_events_and_timers (cycle=0x8ccb228) at 
src/event/ngx_event.c:245
#15 0x08060952 in ngx_worker_process_cycle (cycle=0x8ccb228, data=0x0) 
at src/os/unix/ngx_process_cycle.c:801
#16 0x0805ef60 in ngx_spawn_process (cycle=0x8ccb228, proc=0x806089d 
<ngx_worker_process_cycle>, data=0x0, name=0x806be29 "worker process", 
respawn=-3) at src/os/unix/ngx_process.c:196
#17 0x080601f6 in ngx_start_worker_processes (cycle=0x8ccb228, n=30, 
type=-3) at src/os/unix/ngx_process_cycle.c:360
#18 0x0805fbe7 in ngx_master_process_cycle (cycle=0x8ccb228) at 
src/os/unix/ngx_process_cycle.c:136
#19 0x0804a116 in main (argc=3, argv=0x8ccb9a4) at src/core/nginx.c:405
(gdb) quit

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list