Welcome! Log In Create A New Profile

Advanced

Re: Nginx stuck processes

Maxim Dounin
November 22, 2011 04:00AM
Hello!

On Tue, Nov 22, 2011 at 06:51:56AM +0100, Sandesh K. wrote:

> 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

[...]

> (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

The "size=4069528" looks really strange...

> #5 0x0804b917 in ngx_palloc_block (pool=0x8d0b9b0, size=52) at
> src/core/ngx_palloc.c:184

Could you please show

fr 5
p *pool

output from gdb?

> #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

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx stuck processes

Sandesh K. October 18, 2011 06:34AM

Re: Nginx stuck processes

Igor Sysoev October 18, 2011 06:50AM

Re: Nginx stuck processes

Sandesh K. October 18, 2011 07:24AM

Re: Nginx stuck processes

Sandesh K. October 19, 2011 01:56AM

Re: Nginx stuck processes

Sandesh K. November 22, 2011 12:54AM

Re: Nginx stuck processes

Maxim Dounin November 22, 2011 04:00AM

Re: Nginx stuck processes

Sandesh K. November 23, 2011 02:40AM

Re: Nginx stuck processes

Maxim Dounin November 23, 2011 08:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready