Re: Re[2]: нагрузка одного воркера 99.9% CPU
Alex Kitschkiruk
rusnginx at gmail.com
Tue Jul 4 00:10:28 MSD 2006
Я патч еще не прилагал, вот мои данные:
strace для зацикленного воркера дает пустой файл, соседние нормально все
выдают
Но у меня походу другая ошибка:
fox:/home# gdb /usr/sbin/nginx 15480
GNU gdb 6.3-debian
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-linux"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
Attaching to program: /usr/sbin/nginx, process 15480
Failed to read a valid object file image from memory.
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
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 /lib/tls/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
0x0805cf2d in ngx_event_expire_timers ()
(gdb) quit
fox:/home# gdb -p 15480
GNU gdb 6.3-debian
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-linux".
Attaching to process 15480
Using host libthread_db library "/lib/tls/libthread_db.so.1".
warning: could not load vsyscall page because no executable was specified
warning: try using the "file" command first
Reading symbols from /usr/sbin/nginx...done.
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
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 /lib/tls/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
0x0805cfea in ngx_rbtree_min ()
nginx version: nginx/0.3.49
/home# top b n1 | grep nginx
15480 www 25 0 4148 1984 892 R 96.4 0.1 33:09.69 nginx
15478 root 18 0 3416 552 220 S 0.0 0.0 0:00.00 nginx
15481 www 15 0 3924 1696 836 S 0.0 0.1 0:01.04 nginx
15479 www 15 0 4364 2160 728 S 0.0 0.1 0:17.54 nginx
/home# uname -a
Linux XXXXXX 2.6.14-2-k7-smp #1 SMP Tue Nov 15 00:28:07 CET 2005 i686
GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20060703/9bb701a1/attachment.html>
More information about the nginx-ru
mailing list