Re: Stalled system shutdown
On Sat, 12 Feb 2022 19:13:28 -0600 Flacusbigotis wrote: > > 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. Yes, I have removed it. Thanks all for your help.
Re: Stalled system shutdown
> 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.
Re: Stalled system shutdown
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 Description: PGP signature
Re: Stalled system shutdown
On Thu, 10 Feb 2022 21:03:14 -0600 Flacusbigotis 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. > On Thu, Feb 10, 2022, 5:59 PM 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? > > > >
Re: Stalled system shutdown
On 2/11/22, Tixy 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 *
Re: Stalled system shutdown
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. -- Tixy
Re: Stalled system shutdown
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? On Thu, Feb 10, 2022, 5:59 PM 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? > >
Stalled system shutdown
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?