monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit deadlocks


From: Eli Yukelzon
Subject: Re: monit deadlocks
Date: Thu, 20 Oct 2005 13:26:37 +0000

That's the output you was expecting?

0xffffe410 in ?? ()
(gdb) thread apply all bt

Thread 2 (Thread -1211016272 (LWP 509)):
#0  0xffffe410 in ?? ()
#1  0xb7d15388 in ?? ()
#2  0x00000000 in ?? ()
#3  0xb7d152f0 in ?? ()
#4  0xb7ddc751 in ___newselect_nocancel () from /lib/libc.so.6
#5  0x08051532 in can_read (socket=5, timeout=-514) at net.c:475
#6  0x08063791 in start_httpd (port=2812, backlog=-514,
bindAddr=0xfffffdfe <Address 0xfffffdfe out of bounds>) at
engine.c:647
#7  0x0804f05c in thread_wrapper (arg=0x0) at http.c:160
#8  0xb7fd83cd in start_thread () from /lib/libpthread.so.0
#9  0xb7de31da in clone () from /lib/libc.so.6

Thread 1 (Thread -1210952016 (LWP 508)):
#0  0xffffe410 in ?? ()
#1  0xbfffdf88 in ?? ()
#2  0xb7e40ff4 in ?? () from /lib/libc.so.6
#3  0xbfffdde4 in ?? ()
#4  0xb7db3186 in __nanosleep_nocancel () from /lib/libc.so.6
#5  0xb7db2f93 in sleep () from /lib/libc.so.6
#6  0x08050ec5 in main (argc=0, argv=0xbfffe054) at monitor.c:472
#0  0xffffe410 in ?? ()


On 10/20/05, Jan-Henrik Haukeland <address@hidden> wrote:
> On second thought don't send the monit binary, but do send us the
> output of configure and please do the following so we can get more
> information:
>
> 1) Start monit with debug information. That is, do NOT use the monit
> binary installed using 'make install' since all debug information is
> stripped in the install process. Instead, copy and run the monit
> binary you built in the monit-4.6 source directory.
>
> 2) Attach gdb to the running monit process and issue this gdb
> command, "thread apply all bt". Send us the output from this command.
>
> Here's a trace example on how to do this:
>
> address@hidden root]# gdb /usr/bin/monit `cat /var/run/monit.pid`
> GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
> 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"...Using host
> libthread_db library "/lib/tls/libthread_db.so.1".
>
> Attaching to program: /usr/bin/monit, process 3190
> Reading symbols from /lib/tls/libpthread.so.0...done.
> [Thread debugging using libthread_db enabled]
> [New Thread -1208024960 (LWP 3190)]
> [New Thread -1208026192 (LWP 3191)]
> Reading symbols <....>
> A program is being debugged already.  Kill it? (y or n) n
> Program not killed.
> (gdb) thread apply all bt
>
> Thread 2 (Thread -1208026192 (LWP 3191)):
> #0  0x003267a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1  0x003f3491 in ___newselect_nocancel () from /lib/tls/libc.so.6
> #2  0x08050d69 in can_read (socket=5, timeout=-514) at net.c:475
> #3  0x080605bd in socket_producer (server=4, port=2812, sslserver=0x0)
>      at http/engine.c:647
> #4  0x0805fe4f in start_httpd (port=2812, backlog=10,
>      bindAddr=0xa088ca8 "127.0.0.1") at http/engine.c:195
> #5  0x0804e9b1 in thread_wrapper (arg=0x0) at http.c:160
> #6  0x06b3c98c in start_thread () from /lib/tls/libpthread.so.0
> #7  0x003fa7da in clone () from /lib/tls/libc.so.6
>
> Thread 1 (Thread -1208024960 (LWP 3190)):
> #0  0x003267a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1  0x003c57f6 in __nanosleep_nocancel () from /lib/tls/libc.so.6
> #2  0x003c561f in sleep () from /lib/tls/libc.so.6
> #3  0x080503f0 in do_default () at monitor.c:472
> #4  0x0804fdbf in main (argc=1, argv=0xbfed72c4) at monitor.c:118
> #0  0x003267a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> (gdb)
>
> --
> Jan-Henrik Haukeland
> Mobil +47 97141255
>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
>


--
2B OR NOT 2B = FF




reply via email to

[Prev in Thread] Current Thread [Next in Thread]