Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Stalled system shutdown

77 views
Skip to first unread message

José Luis González

unread,
Feb 10, 2022, 7:00:05 PM2/10/22
to
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?

Flacusbigotis

unread,
Feb 10, 2022, 10:10:05 PM2/10/22
to
Just a question to help you start troubleshooting: 

Does the shutdown finish quickly/quicker if you first stop the ntopng systemd service manually before doing the full shutdown?

Tixy

unread,
Feb 11, 2022, 4:10:06 AM2/11/22
to
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.

--
Tixy

Cindy Sue Causey

unread,
Feb 11, 2022, 4:50:05 AM2/11/22
to
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 *

José Luis González

unread,
Feb 11, 2022, 7:40:05 AM2/11/22
to
On Thu, 10 Feb 2022 21:03:14 -0600
Flacusbigotis <flacus...@gmail.com> wrote:

> Just a question to help you start troubleshooting:
>
> Does the shutdown finish quickly/quicker if you first stop the ntopng
> systemd service manually before doing the full shutdown?

I did a "# service status ntopng" and it seems the daemon is dead and
it has errors:

=======

• ntopng.service - ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool
Loaded: loaded (/lib/systemd/system/ntopng.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2022-02-11 11:24:19 CET; 2h 3min ago
Docs: man:ntopng(8)
file:/usr/share/doc/ntopng/README.Debian
file:/usr/share/doc/ntopng/UserGuide.pdf.gz
Process: 698 ExecStart=/usr/sbin/ntopng /etc/ntopng.conf (code=exited, status=0/SUCCESS)
CPU: 22ms

feb 11 11:24:19 tierra systemd[1]: Starting ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool...
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Ntop.cpp:1902] Setting local networks to 127.0.0.0/8
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:111] ERROR: ntopng requires redis server to be up and running
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:112] ERROR: Please start it and try again or use -r
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:113] ERROR: to specify a redis server other than the default
feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:111] ERROR: ntopng requires redis server to be up and running
feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:112] ERROR: Please start it and try again or use -r
feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:113] ERROR: to specify a redis server other than the default
feb 11 11:24:19 tierra systemd[1]: ntopng.service: Succeeded.
feb 11 11:24:19 tierra systemd[1]: Started ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool.

=======

I wonder if the package ntopng is necessary for something. If I remove
it nothing else complains. I didn't know this package before.

By the way, with ntopng uninstalled my system shuts down normally.

Thanks for your help.

Andrei POPESCU

unread,
Feb 12, 2022, 8:30:06 AM2/12/22
to
On Vi, 11 feb 22, 13:36:09, José Luis González wrote:
>
> I wonder if the package ntopng is necessary for something. If I remove
> it nothing else complains. I didn't know this package before.

At least on buster/arm64 nothing depends on it.

Was the package manually installed or does the description ring any
bells?

Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
signature.asc

Flacusbigotis

unread,
Feb 12, 2022, 8:20:06 PM2/12/22
to
> I wonder if the package ntopng is necessary for something.

See manpage gor ntopng it's for monitoring network resources/activity.

So if you aren't interested in doing that  then you don't need it installed.
 

José Luis González

unread,
Feb 13, 2022, 5:40:05 AM2/13/22
to
Yes, I have removed it.

Thanks all for your help.
0 new messages