monit-dev
[Top][All Lists]
Advanced

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

Re: Process Resource Update


From: Martin Pala
Subject: Re: Process Resource Update
Date: Wed, 28 Jul 2004 22:31:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) Gecko/20040722 Debian/1.7.1-3

Ugh - during testing monit with the proc patch crashed on exit in delprocesstree():

(gdb) bt
#0  0x4022d13c in mallopt () from /lib/tls/i686/cmov/libc.so.6
#1  0x40227247 in _IO_file_xsputn () from /lib/tls/i686/cmov/libc.so.6
#2  0x4022bf80 in free () from /lib/tls/i686/cmov/libc.so.6
#3  0x402ef700 in __after_morecore_hook () from /lib/tls/i686/cmov/libc.so.6
#4  0x08091028 in ?? ()
#5  0x00000000 in ?? ()
#6  0x00001098 in ?? ()
#7  0x08091028 in ?? ()
#8  0x08051a66 in delprocesstree (pt=0x8091028, size=72) at process.c:333
#9  0x0804d77d in gc () at gc.c:84
#10 0x0805037e in do_exit () at monitor.c:422
#11 0x0805049e in do_default () at monitor.c:475
#12 0x0804fdff in main (argc=72, argv=0xbffff8d4) at monitor.c:117

(gdb) info threads
2 process 7265 0x4002ab34 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
* 1 process 7264  0x4022d13c in mallopt () from /lib/tls/i686/cmov/libc.so.6

(gdb) thread 2
[Switching to thread 2 (process 7265)]#0 0x4002ab34 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

(gdb) bt
#0  0x4002ab34 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x00000000 in ?? ()



Christian Hopp wrote:
On Tue, 27 Jul 2004, Christian Hopp wrote:


Hi!

The attached patch is an extensive update to the process resource engine
in monit.  I have tested it with Linux and Solaris.  It should cleanly
separate the data gathering backend from the information frontend.  It
has some (hopefully minor) performance drawbacks on *BSD and AIX and it is
supposed to be faster on SOLARIS, LINUX and HPUX.  Furthermore it should
fix the reported 0% CPU issues reported earlier.


And this is a newer version... more cleanup and no performance drawbacks.

Christian




reply via email to

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