Here is:



  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
18849 root      14   0  5152 5152  1164 R    99.9  1.0   0:30 XMail
18854 root       9   0  5152 5152  1164 S    87.0  1.0   0:18 XMail
18847 root      19   0  5152 5152  1164 R    51.0  1.0   0:19 XMail
18850 root       9   0  5152 5152  1164 S    49.8  1.0   0:21 XMail
18848 root       9   0  5152 5152  1164 S     7.4  1.0   0:10 XMail




[root@mail bin]# gdb /var/MailRoot/bin/XMail 18849
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 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"...
/var/MailRoot/bin/18849: No such file or directory.
Attaching to program: /var/MailRoot/bin/XMail, process 18849
Child process unexpectedly missing: No child processes.

Program terminated with signal ?, Unknown signal.
The program no longer exists.
(gdb) bt
No stack.
(gdb)


I think i put something wrong isn't?


thank you!



-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
nombre de Davide Libenzi
Enviado el: Tuesday, June 11, 2002 1:39 PM
Para: XMail mailing list
Asunto: [xmail] Re: To many load (AGAIN, with 1.9)



On Tue, 11 Jun 2002, Juan H. Medina wrote:

>
> Ok thank you...
>
> In the other machines ... i have no problem...
> with older versions...

ok, lets do this. build XMail in debug mode by changing Makefile.lnx to :

1) in CFLAGS replace -O2 with -g

2) remove the "strip" lines


then install the XMail binary and run it. when it starts eating CPU, do a :

# ps aux

and get the PID of a task eating the CPU. then do :

# gdb PATH_TO_THE_XMAIL_BINARY PID

and then, from inside gdb :

> bt

and show me the output.




- Davide


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to