[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stalled system shutdown



On 2/11/22, Tixy <tixy@yxit.co.uk> wrote:
> On Fri, 2022-02-11 at 00:58 +0100, José Luis González wrote:
>> Hi,
>>
>> When shutting down, after upgrading to Debian 11, system shutdown hangs
>> (freezes) for some time (about 1-2 minutes) anytime, making it
>> bothersome to shut the system down.
>>
>> The freeze happens afther the "Stopped target remote filesystems"
>> status line. After a while "A stop job is running for ntopng" is
>> printed with an "in progress" status in red and a timeout of 1 minute
>> 30 seconds, which is exhausted. So everyt time I shut down I get a 1
>> minute and 30 seconds delay.
>>
>> Anyone can help, please?
>
> Do you have any network filesystems mounted? I've found that systemd
> takes down the network connections before it unmounts disks, so if I
> forget to unmount them before shutting down I get this delay.


Mine hangs because it's shutting down Firefox (Nightly from their
website these days).

Just as example, if I log out then log back in and run "ps aux|grep
firefox" after logouts that take a long time, there will most likely
be a long list of associated PIDs still in operation. If I try to
launch Firefox at that moment, it will most likely fail with an
advisement that a Firefox instance is already running. If I wait a few
more seconds then try again, Firefox will FINALLY have shut down the
rest of the way.

It's been ages since I first realized that was occurring. It was an
eye opener into that there's still a lot to learn about how operating
systems and their packages work under the hood. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *


Reply to: