Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Ninety second shutdown delay: "A stop job is running for system logging service"

  1. #1

    Default Ninety second shutdown delay: "A stop job is running for system logging service"

    For the past couple of snapshots, I see this message if shutting down from run level 3:

    "A stop job is running for system logging service (1 min 30 sec)"

    ... followed by a ninety second delay before shutdown continues.

    I now also see a similar delay if shutting down from the X11 desktop, without the error message.

    Is there a configuration file I can edit to eliminate or shorten the delay?

  2. #2
    Join Date
    Sep 2012
    Posts
    7,861

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    Quote Originally Posted by Tuner View Post
    "A stop job is running for system logging service (1 min 30 sec)"
    I do not see any service that includes phrase "system logging" in its description on my Tumbleweed. Find out what service it is, like
    Code:
    grep -r 'system logging' /usr/lib/systemd/system

  3. #3
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    3,996
    Blog Entries
    1

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    I asked essentially the same question on the tde-devels list last week, and got this reply from a developer:
    The 90s delays is the default timeout in systemd when somethings does not start/stop correctly... super annoying.
    I usually edit the /etc/systemd/system.conf file and add these lines in:

    DefaultTimeoutStartSec=5s
    DefaultTimeoutStopSec=5s

    This reduces the wait to 5s, which should be more than enough for any normal executing process to do what it needs.
    I haven't tried it yet, as I hadn't run into one of these since asking the question until just minutes ago, but I'm currently trying to work out the cause ATM, which seems to be a bad NIC or motherboard going bad.
    Reg. Linux User 211409 *** multibooting since 1992
    Primary: 15.3, TW, 15.1 & 13.1 on Haswell @earthlink.net
    Secondary: eComStation (OS/2) &15.2 on i965P/Radeon
    Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....

  4. #4
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    2,067

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    Quote Originally Posted by Tuner View Post
    For the past couple of snapshots, I see this message if shutting down from run level 3:

    "A stop job is running for system logging service (1 min 30 sec)"

    Yes... seeing that on both of my Tumbleweed machines. Introduced sometime between snapshots 20220609 and 20220614

    "rsyslog" seems to be the culprit.

    On my own systems I've temporarily removed "rsyslog" and am using "syslog-ng", shutdown then proceeds as normal... probably warrants a bug report...
    Regards, Paul

  5. #5
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    4,005

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    Quote Originally Posted by tannington View Post
    Yes... seeing that on both of my Tumbleweed machines. Introduced sometime between snapshots 20220609 and 20220614

    "rsyslog" seems to be the culprit.

    On my own systems I've temporarily removed "rsyslog" and am using "syslog-ng", shutdown then proceeds as normal... probably warrants a bug report...
    I never installed:
    Code:
    erlangen:~ # zypper se -is syslog 
    Loading repository data... 
    Reading installed packages... 
    No matching items found. 
    erlangen:~ #
    As rsyslog isn't installed there is no trouble whatsoever.
    i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), 5600X (2022) openSUSE Tumbleweed, KDE Plasma

  6. #6

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    Thanks for the feedback, everyone! tannington, I removed rsyslog and swapped in syslog-ng, and am now shutting down without delays. I also did the same on a Leap 15.4 VM, which had similar issues.

  7. #7
    Join Date
    Jan 2016
    Location
    UK
    Posts
    821

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    I have been seeing this recently and just found this thread. Seemed to be after a zypper dup but not absolutely sure. Anyway I've swapped to syslog-ng as well now.

    Stuart

  8. #8

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    Quote Originally Posted by tannington View Post
    Yes... seeing that on both of my Tumbleweed machines. Introduced sometime between snapshots 20220609 and 20220614

    "rsyslog" seems to be the culprit.

    On my own systems I've temporarily removed "rsyslog" and am using "syslog-ng", shutdown then proceeds as normal... probably warrants a bug report...
    Same problem here, I opened a bug report.

  9. #9
    Join Date
    Jun 2008
    Location
    Syros, Greece
    Posts
    215

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    Found the thread also after searching. I have this issue on my tumbleweed install.

  10. #10
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    1,018

    Default Re: Ninety second shutdown delay: "A stop job is running for system logging service"

    One should carefully check whether her/his system really requires rsyslog or syslog-ng.

    All my systems which do not provide Logging services for other machines and do not report to external Logging-services run happily just with journald (which comes with systemd anyway).

    Regards

    susejunky

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •