atom feed43 messages in ru.sysoev.nginxRe: Keep Alive piles up
FromSent OnAttachments
metoJun 25, 2009 7:06 am 
Maxim DouninJun 25, 2009 9:33 am 
metoJun 25, 2009 12:49 pm 
Maxim DouninJun 25, 2009 2:09 pm 
metoJun 25, 2009 3:24 pm 
Maxim DouninJun 25, 2009 4:47 pm 
metoJun 25, 2009 10:59 pm 
metoJun 26, 2009 5:01 am 
metoJun 26, 2009 6:06 am 
Grzegorz NosekJun 26, 2009 6:18 am 
metoJun 26, 2009 6:53 am 
Grzegorz NosekJun 26, 2009 7:16 am 
metoJun 26, 2009 7:43 am 
metoJun 26, 2009 10:17 am 
Grzegorz NosekJun 26, 2009 11:03 am 
metoJun 26, 2009 11:42 am 
metoJun 26, 2009 12:02 pm 
metoJun 26, 2009 12:53 pm 
Grzegorz NosekJun 26, 2009 1:04 pm 
metoJun 26, 2009 3:09 pm 
metoJun 26, 2009 3:28 pm 
Grzegorz NosekJun 27, 2009 1:23 am 
metoJun 27, 2009 3:01 am 
Grzegorz NosekJun 27, 2009 3:50 am 
metoJun 27, 2009 4:33 am 
metoJun 27, 2009 4:39 am 
metoJun 27, 2009 5:48 am 
Tomasz PajorJun 28, 2009 12:58 am 
metoJun 28, 2009 2:29 am 
Maxim DouninJun 29, 2009 3:37 am 
metoJun 29, 2009 6:42 am 
metoJun 29, 2009 7:18 am 
Maxim DouninJun 29, 2009 7:45 am 
metoJun 29, 2009 8:32 am 
metoJun 29, 2009 8:34 am 
Maxim DouninJun 29, 2009 8:55 am 
Maxim DouninJun 29, 2009 9:09 am 
metoJun 29, 2009 9:59 am 
Maxim DouninJun 29, 2009 11:20 am 
metoJun 29, 2009 12:27 pm 
Maxim DouninJun 29, 2009 1:18 pm 
Toni MuellerJul 16, 2009 2:55 am 
Maxim DouninJul 16, 2009 9:20 am 
Subject:Re: Keep Alive piles up
From:Grzegorz Nosek (grze@gmail.com)
Date:Jun 26, 2009 11:03:33 am
List:ru.sysoev.nginx

On Fri, Jun 26, 2009 at 01:17:28PM -0400, meto wrote:

(gdb) bt #0 0x000000000045dae4 in ?? () #1 0x0000000000454a00 in ?? () #2 0x000000000049386d in ?? () #3 0x000000000043e7b4 in ?? () #4 0x000000000043d56c in ?? () #5 0x000000000043d4e8 in ?? () #6 0x000000000044a87e in ?? () #7 0x00000000004492b3 in ?? () #8 0x0000000000448ac3 in ?? () #9 0x0000000000447f9e in ?? () #10 0x0000000000427aec in ?? () #11 0x00000000004258a9 in ?? () #12 0x0000000000431caa in ?? () #13 0x000000000042eb31 in ?? () #14 0x0000000000430ac9 in ?? () #15 0x000000000043021a in ?? () #16 0x00000000004054ee in ?? () #17 0x00007f293036a1c4 in __libc_start_main () from /lib/libc.so.6 #18 0x0000000000404fd9 in ?? () #19 0x00007fff3970f7c8 in ?? () #20 0x0000000000000000 in ?? ()

Crap. Does that mean that it didn't compile with -G0? :(

Apparently. Go to your source directory, say 'make clean' and rebuild Nginx from scratch, i.e.:

./configure --with-cc-opt="-g3 -O0" ... (all other options you used) make

You should notice the compiled binary is much bigger now (for me it's 2,2M with default options and 13,3M with -g3 -O0) and your stack traces should become meaningful.

BTW, if you're using Polish locales (or anything other than C) you may wish to say: export LANG=C before building Nginx. Otherwise it doesn't detect you're using gcc (gcc -v doesn't say "gcc version", at least on some Ubuntu versions; 8.10 looks fine, 7.10 or 8.04 IIRC wasn't).