RE: Version 1.1.1 stops responding
-----Original Message----- From: adius.org] On Behalf Of Alan DeKok
Until we can get more information about what's happening (strace/ktrace, or gdb backtrace), there isn't much anyone can do to fix it.
How would I create those traces? (I'm looking for a suggested command line, since I don't normally use those programs)
"King, Michael" <MKing@bridgew.edu> wrote:
How would I create those traces? (I'm looking for a suggested command line, since I don't normally use those programs)
I'd suggest gdb, and do it in a testing environment if at all possible, to avoid hitting your main server. Also, you *must* have symbols in the binary, meaning that the "make install" process can't strip the binaries. You may need to edit the Makefiles for this... $ gdb radiusd (gdb) set args -d ... <<<- normal radiusd args (gdb) run And when it stops responding, hit CTRL-C, and see what's up: (gdb) info threads That *may* be enough. What will also help (if you have symbols) is: (gdb) thread 1 (gdb) bt (gdb) thread 2 (gdb) bt (gdb) thread 3 (gdb) bt ... For each of the threads it talks about in "info threads". Alan DeKok.
On Mon, 2006-03-27 at 17:37 -0500, Alan DeKok wrote:
(gdb) info threads
That *may* be enough. What will also help (if you have symbols) is:
(gdb) thread 1 (gdb) bt (gdb) thread 2 (gdb) bt (gdb) thread 3 (gdb) bt ...
The easiest way of doing this is (gdb) thread apply all bt on other projects I work on, we normally use (gdb) thread apply all bt full to include all the local variable values as well to save yourself a lot of cut and paste, before issuing the commands to get all the information you should do (gdb) set logging file somefilename (gdb) set logging on then all the command output will be sent to the logfile "somefilename" as well as being displayed. Stuart
For each of the threads it talks about in "info threads".
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
======================================================================= Homechoice is a trading name of Video Networks Limited of 205 Holland Park Avenue, London W11 4XB and registered in England and Wales (No. 2740910). This email may contain confidential and privileged information and is intended for the named or authorised recipients only. If you are not the named or authorised recipient of this email, please note that any copying, distribution, disclosure or use of its contents is strictly prohibited. If you have received this email in error please notify the sender immediately and then destroy it. The views expressed in this email are not necessarily those held by Video Networks Limited and we do not accept any liability for any action taken in reliance on the contents of this message. We do not guarantee that the integrity of this email has been maintained, nor that it is free of viruses, interceptions or interference. _______________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs Email Security System. _______________________________________________________________________
participants (3)
-
Alan DeKok -
King, Michael -
Stuart Auchterlonie