All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Joe Pruett <joey@clean.q7.com>
Cc: autofs@linux.kernel.org
Subject: Re: something changed from 4 to 5
Date: Sun, 24 Aug 2008 12:32:37 +0800	[thread overview]
Message-ID: <48B0E465.80701@themaw.net> (raw)
In-Reply-To: <alpine.LRH.1.10.0808230743560.25167@q7.q7.com>

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
> [root@titan ~]# 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
> [root@titan ~]# 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

  reply	other threads:[~2008-08-24  4:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 16:53 something changed from 4 to 5 Joe Pruett
2008-08-13  2:58 ` Ian Kent
2008-08-13  4:11   ` Joe Pruett
2008-08-23 14:45   ` Joe Pruett
2008-08-24  4:32     ` Ian Kent [this message]
2008-08-24  4:58       ` Joe Pruett
2008-08-24  5:11         ` Ian Kent
2008-08-24 14:48           ` Joe Pruett
2008-08-25  2:14             ` Ian Kent
2008-08-25  2:42               ` Joe Pruett
2008-08-24  4:54     ` Ian Kent
2008-08-24  5:27       ` Ian Kent
2008-09-02 22:07   ` Joe Pruett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B0E465.80701@themaw.net \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=joey@clean.q7.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.