2002-04-16 21:10:14

by Christian Borntraeger

[permalink] [raw]
Subject: smbfs 2.4.19pre6

Hello list,

I have a smbfs mounted samba-share that got lost due to a network error.

Every process accessing the mount point falls into uniterruptable sleep - till
the reboot. Even a lsof is frozen.

Is this a bug or a known issue?

greetings

Christian


2002-04-16 21:20:26

by Christian Borntraeger

[permalink] [raw]
Subject: Re: smbfs 2.4.19pre6

Christian Borntr?ger wrote:

> Every process accessing the mount point falls into uniterruptable sleep -
> till the reboot. Even a lsof is frozen.

I have to correct myself. After some minutes the frozen processes stop.

Sorry.



2002-04-16 23:29:52

by Urban Widmark

[permalink] [raw]
Subject: Re: smbfs 2.4.19pre6

On Tue, 16 Apr 2002, Christian [iso-8859-15] Borntr?ger wrote:

> Hello list,
>
> I have a smbfs mounted samba-share that got lost due to a network error.
>
> Every process accessing the mount point falls into uniterruptable sleep - till
> the reboot. Even a lsof is frozen.
>
> Is this a bug or a known issue?

It's known, and it's a bug. The network part of smbfs has a few problems.

I did some patches that used poll to check if they could send things and
timeout after 30 seconds. Perhaps combined with checking the tcp state
would work for this case.

The overly long delay (and most people would assume it is frozen) is one
or more network timeouts (tcp level?) that needs to pass before the
process stops.

That the mount fails to recover could be related to smbmount not managing
to stay alive.

For 2.5 there is work going on that should fix this at the same time as it
allows oplock support and stuff. The process should always be
interruptible.

/Urban