Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #245192 > unrolled thread
| Started by | José Luis González <bugs.jlg@gmail.com> |
|---|---|
| First post | 2022-02-11 01:00 +0100 |
| Last post | 2022-02-11 10:50 +0100 |
| Articles | 8 — 5 participants |
Back to article view | Back to linux.debian.user
Stalled system shutdown José Luis González <bugs.jlg@gmail.com> - 2022-02-11 01:00 +0100
Re: Stalled system shutdown Flacusbigotis <flacusbigotis@gmail.com> - 2022-02-11 04:10 +0100
Re: Stalled system shutdown José Luis González <bugs.jlg@gmail.com> - 2022-02-11 13:40 +0100
Re: Stalled system shutdown Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-12 14:30 +0100
Re: Stalled system shutdown Flacusbigotis <flacusbigotis@gmail.com> - 2022-02-13 02:20 +0100
Re: Stalled system shutdown José Luis González <bugs.jlg@gmail.com> - 2022-02-13 11:40 +0100
Re: Stalled system shutdown Tixy <tixy@yxit.co.uk> - 2022-02-11 10:10 +0100
Re: Stalled system shutdown Cindy Sue Causey <butterflybytes@gmail.com> - 2022-02-11 10:50 +0100
| From | José Luis González <bugs.jlg@gmail.com> |
|---|---|
| Date | 2022-02-11 01:00 +0100 |
| Subject | Stalled system shutdown |
| Message-ID | <DPrvX-Xuc-1@gated-at.bofh.it> |
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?
[toc] | [next] | [standalone]
| From | Flacusbigotis <flacusbigotis@gmail.com> |
|---|---|
| Date | 2022-02-11 04:10 +0100 |
| Message-ID | <DPutP-ZsT-1@gated-at.bofh.it> |
| In reply to | #245192 |
[Multipart message — attachments visible in raw view] — view raw
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 <bugs.jlg@gmail.com> 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? > >
[toc] | [prev] | [next] | [standalone]
| From | José Luis González <bugs.jlg@gmail.com> |
|---|---|
| Date | 2022-02-11 13:40 +0100 |
| Message-ID | <DPDnr-14Sq-1@gated-at.bofh.it> |
| In reply to | #245203 |
On Thu, 10 Feb 2022 21:03:14 -0600
Flacusbigotis <flacusbigotis@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.
> On Thu, Feb 10, 2022, 5:59 PM José Luis González <bugs.jlg@gmail.com> 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?
> >
> >
[toc] | [prev] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2022-02-12 14:30 +0100 |
| Message-ID | <DQ0Dn-1j9t-5@gated-at.bofh.it> |
| In reply to | #245218 |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [prev] | [next] | [standalone]
| From | Flacusbigotis <flacusbigotis@gmail.com> |
|---|---|
| Date | 2022-02-13 02:20 +0100 |
| Message-ID | <DQbIt-1pSr-3@gated-at.bofh.it> |
| In reply to | #245281 |
[Multipart message — attachments visible in raw view] — view raw
> 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.
[toc] | [prev] | [next] | [standalone]
| From | José Luis González <bugs.jlg@gmail.com> |
|---|---|
| Date | 2022-02-13 11:40 +0100 |
| Message-ID | <DQksp-1vnq-7@gated-at.bofh.it> |
| In reply to | #245312 |
On Sat, 12 Feb 2022 19:13:28 -0600 Flacusbigotis <flacusbigotis@gmail.com> 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.
[toc] | [prev] | [next] | [standalone]
| From | Tixy <tixy@yxit.co.uk> |
|---|---|
| Date | 2022-02-11 10:10 +0100 |
| Message-ID | <DPA6d-131y-5@gated-at.bofh.it> |
| In reply to | #245192 |
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
[toc] | [prev] | [next] | [standalone]
| From | Cindy Sue Causey <butterflybytes@gmail.com> |
|---|---|
| Date | 2022-02-11 10:50 +0100 |
| Message-ID | <DPAIV-13e0-5@gated-at.bofh.it> |
| In reply to | #245213 |
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 *
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web