Joe Pruett wrote:
> i had one of my servers get into the mode where automount is hung up doing 
> something.  i started attaching to each one and doing the gdb stack trace 
> you asked for.  here are the results.  after looking at the third one, 
> things cleared up.  hopefully we can figure something out on this.
>
> Script started on Fri 22 Aug 2008 01:11:35 PM PDT
> [EMAIL PROTECTED] ~]# ps axf | grep auto
>   1741 ?        Ssl  116:45 automount
> 16772 ?        S      0:00  \_ automount
> 16777 ?        S      0:00  \_ automount
> 20963 ?        S      0:00  \_ automount
> 21865 ?        S      0:00  \_ automount
> 23136 ?        S      0:00  \_ automount
> 25322 pts/0    S+     0:00                  \_ grep auto
> [EMAIL PROTECTED] ~]# gdb -p 1741 /usr/sbin/automount
>   
snip ..

> 0x002ba402 in __kernel_vsyscall ()
> (gdb) thr a a bt
>   

Took me a while to work out what you had done here.
To get the backtrace you need only connect to the main thread (in this 
case 1741) and do the "thr a a bt".
That gives backtrace info for all the sub-threads at once, which is what 
we need.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to