From: Mike Fedyk <mfedyk@matchmail.com>
To: Urban Widmark <urban@teststation.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Processes stuck in D state with autofs + smbfs
Date: Thu, 30 May 2002 13:03:32 -0700 [thread overview]
Message-ID: <20020530200332.GD1136@matchmail.com> (raw)
In-Reply-To: <20020529172616.GB1136@matchmail.com> <Pine.LNX.4.33.0205301421540.1921-100000@cola.enlightnet.local>
On Thu, May 30, 2002 at 02:36:43PM +0200, Urban Widmark wrote:
> On Wed, 29 May 2002, Mike Fedyk wrote:
>
> > I'm currently running 2.4.19-pre6-vm33 on this 2x664Mhz P3 machine, but I've
> > also had the problem in the previous UP machine.
> >
> > I'm not sure what information will be helpful in debugging this probem.
> > Would sysrq+t run through ksymoops be helpful?
>
> Yes, it could show where the process is stuck. Probably what has happened
> is that some process is blocked while holding the smbfs semaphore (there
> is one per mount).
>
> All others will then get stuck in 'D' state trying to get that semaphore.
>
> The "classic" way to get this is to have a server that is shutdown while
> it is mounted. There are patches to help with that (and if I wasn't so
> slow sometimes a simple fix would already be in 2.4.something, after
> 2.4.19 I promise).
>
Yes, the remote server was shut down and caused this problem.
> > I also have this in my kernel log:
> > May 26 06:33:16 fileserver kernel: Uhhuh. NMI received. Dazed and confused, but trying to continue
> > May 26 06:33:16 fileserver kernel: You probably have a hardware problem with your RAM chips
>
> However, this error could (but I don't really know what the effects are of
> this) potentially stop a process at some random point. If a process
> crashes, for example an oops, while holding the semaphore that semaphore
> will still be held and everyone trying to get in will stop in D state.
>
I will resove this issue soon, but don't forget that the processes stuck in
D state has been happening for a while on another machine also.
>
> There are some patches here:
> http://www.hojdpunkten.ac.se/054/samba/index.html
>
> But that server appears to be down right now.
>
> There is one patch that uses poll to help with the problem of a server
> that is gone, and another that changes a lot of how smbfs sends requests
> and additionaly makes the user processes always(?) be interruptible.
>
Do these require any changes to the samba userspace?
> But if the NMIs are killing things at random points then none of those
> patches will help.
AFAICT, no processes have been killed. I'm going to try to reproduce this
on another machine and I'll post the sysrq+t ksymoops output from that.
I'll probably have to do it next week though.
Mike
next prev parent reply other threads:[~2002-05-30 20:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-29 17:26 Processes stuck in D state with autofs + smbfs Mike Fedyk
2002-05-30 12:36 ` Urban Widmark
2002-05-30 19:18 ` Denis Vlasenko
2002-05-30 19:56 ` Mike Fedyk
2002-05-30 20:03 ` Mike Fedyk [this message]
2002-05-30 21:41 ` Urban Widmark
2002-05-30 23:20 ` Mike Fedyk
2002-05-30 23:25 ` Urban Widmark
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=20020530200332.GD1136@matchmail.com \
--to=mfedyk@matchmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=urban@teststation.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.