On Mon, 9 Jun 2003, Simon Comeau Martel wrote:

> > Simon, if you attach to bincimapd with gdb and break <CTRL-C> when it
> > starts bloating the memory, where does it stop?
>
> Can you explain me how to do that?  For now, bincimapd is started from
> xinetd...  If I start it manually with gdb will my MUA be able to
> connect to it?  I'll start by recompiling it with debugging symbols, and
> wait for an explanation...

Connect to bincimap using your MUA, then use gdb to attach to the prosess,
something ala (IIRC)

gdb /path/to/bincimap pid-of-bincimap

Gdb will then attach to the process and stop it, I think. Type 'cont' to
let it continue, and follow Andreas' advice above.


Eivind

-- 

| Mail: [EMAIL PROTECTED]               | Lazy on IRC
| HP: www.stud.ifi.uio.no/~eivindkv       | "Jeg skal vrenge deg med h�ret
| Tlf: 22187123/93249534                  |  inn."
|                                         |               -- Yang Tse Lyse

Reply via email to