Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] systemd slow shutdown

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Extrude8388
Posts: 3
Joined: 2024-03-13 05:49

[Software] systemd slow shutdown

#1 Post by Extrude8388 »

new install of debain 12.5
system specs:
Kernel: 6.1.0-18-amd64
UEFI BIOS Version: U82 Ver. 01.07.00
CPU Type: AMD 6850U
gnome wayland
this does not happen on kde wayland

the system seems to hang for a few minutes after shutdown or restart commanded from gui

edit:

Code: Select all

journalctl -b -1 -p 3

Code: Select all

Mar 12 22:42:51 6850u32gb systemd[1310]: Failed to start app-gnome-baloo_file-1710.scope - Application launched by gnome-session-binary.
Mar 12 22:42:51 6850u32gb systemd[1310]: Failed to start app-gnome-im\x2dlaunch-1679.scope - Application launched by gnome-session-binary.
Mar 12 22:42:51 6850u32gb systemd[1310]: Failed to start app-gnome-user\x2ddirs\x2dupdate\x2dgtk-1746.scope - Application launched by gnome-session-binary.


this command

Code: Select all

journalctl -rb -1
gives me this output

Code: Select all

Mar 12 22:40:36 6850u32gb systemd[1327]: Reached target exit.target - Exit the Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: Reached target exit.target - Exit the Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: Reached target exit.target - Exit the Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: Finished systemd-exit.service - Exit the Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: Reached target shutdown.target - Shutdown.
Mar 12 22:40:36 6850u32gb systemd[1327]: app.slice: Consumed 50.172s CPU time.
Mar 12 22:40:36 6850u32gb systemd[1327]: Removed slice app.slice - User Application Slice.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed snapd.session-agent.socket - REST API socket for snapd user session agent.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed pk-debconf-helper.socket - debconf communication socket.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed pipewire.socket - PipeWire Multimedia System Socket.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed pipewire-pulse.socket - PipeWire PulseAudio.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gnome-keyring-daemon.socket - GNOME Keyring daemon.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gcr-ssh-agent.socket - GCR ssh-agent wrapper.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed dirmngr.socket - GnuPG network certificate management daemon.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed dbus.socket - D-Bus User Message Bus Socket.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target timers.target - Timers.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target sockets.target - Sockets.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target paths.target - Paths.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target basic.target - Basic System.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped ssh-agent.service - OpenSSH Agent.
Mar 12 22:40:36 6850u32gb systemd[1327]: ssh-agent.service: Failed with result 'exit-code'.
Mar 12 22:40:36 6850u32gb systemd[1327]: ssh-agent.service: Control process exited, code=exited, status=71/OSERR
lines 1-24...skipping...
Mar 12 22:40:36 6850u32gb systemd[1327]: Reached target exit.target - Exit the Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: Finished systemd-exit.service - Exit the Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: Reached target shutdown.target - Shutdown.
Mar 12 22:40:36 6850u32gb systemd[1327]: app.slice: Consumed 50.172s CPU time.
Mar 12 22:40:36 6850u32gb systemd[1327]: Removed slice app.slice - User Application Slice.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed snapd.session-agent.socket - REST API socket for snapd user session agent.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed pk-debconf-helper.socket - debconf communication socket.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed pipewire.socket - PipeWire Multimedia System Socket.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed pipewire-pulse.socket - PipeWire PulseAudio.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gnome-keyring-daemon.socket - GNOME Keyring daemon.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed gcr-ssh-agent.socket - GCR ssh-agent wrapper.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed dirmngr.socket - GnuPG network certificate management daemon.
Mar 12 22:40:36 6850u32gb systemd[1327]: Closed dbus.socket - D-Bus User Message Bus Socket.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target timers.target - Timers.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target sockets.target - Sockets.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target paths.target - Paths.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target basic.target - Basic System.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped ssh-agent.service - OpenSSH Agent.
Mar 12 22:40:36 6850u32gb systemd[1327]: ssh-agent.service: Failed with result 'exit-code'.
Mar 12 22:40:36 6850u32gb systemd[1327]: ssh-agent.service: Control process exited, code=exited, status=71/OSERR
Mar 12 22:40:36 6850u32gb agent-launch[4032]: dbus-update-activation-environment: error: unable to connect to D-Bus: Did not receive a reply. Possible causes include: the remote application did not send a repl>
Mar 12 22:40:36 6850u32gb gnome-session-c[4030]: Couldn't connect to session bus: Error sending credentials: Error sending message: Broken pipe
Mar 12 22:40:36 6850u32gb systemd[1327]: Started gnome-session-restart-dbus.service - Restart DBus after GNOME Session shutdown.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target gnome-session-shutdown.target - Shutdown running GNOME Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: ssh-agent.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped gcr-ssh-agent.service - GCR ssh-agent wrapper.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopping ssh-agent.service - OpenSSH Agent...
Mar 12 22:40:36 6850u32gb systemd[1327]: Starting gnome-session-restart-dbus.service - Restart DBus after GNOME Session shutdown...
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopping gcr-ssh-agent.service - GCR ssh-agent wrapper...
Mar 12 22:40:36 6850u32gb systemd[1327]: Reached target gnome-session-shutdown.target - Shutdown running GNOME Session.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target graphical-session-pre.target - Session services which should run early before the graphical session is brought up.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target gnome-session-pre.target - Tasks to be run before GNOME Session starts.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped target gnome-session-manager.target - GNOME Session Manager is ready.
Mar 12 22:40:36 6850u32gb systemd[1327]: session.slice: Consumed 35.537s CPU time.
Mar 12 22:40:36 6850u32gb systemd[1327]: Removed slice session.slice - User Core Session Slice.
Mar 12 22:40:36 6850u32gb systemd[1327]: org.gnome.Shell@wayland.service: Consumed 29.936s CPU time.
Mar 12 22:40:36 6850u32gb systemd[1327]: Stopped org.gnome.Shell@wayland.service - GNOME Shell on Wayland.
Mar 12 22:40:36 6850u32gb gnome-shell[1498]: Could not release device '/dev/dri/card0' (226,0): GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Unknown object '/org/freedesktop/login1/session/_33'.
Mar 12 22:40:36 6850u32gb gnome-shell[1498]: meta_later_add: assertion 'display' failed
Mar 12 22:40:36 6850u32gb gnome-shell[1498]: meta_later_add: assertion 'display' failed
Mar 12 22:40:36 6850u32gb gnome-shell[1498]: meta_later_add: assertion 'display' failed
Mar 12 22:40:36 6850u32gb gnome-shell[1498]: clutter_stage_get_device_actor: assertion 'device != NULL' failed
Mar 12 22:40:36 6850u32gb gnome-shell[1498]: clutter_seat_get_pointer: assertion 'CLUTTER_IS_SEAT (seat)' failed
Mar 12 22:40:36 6850u32gb gnome-shell[1498]: clutter_stage_get_device_actor: assertion 'device != NULL' failed
lines 1-48
i'm not sure what to do next, so came to the people who would

thank you for reading this
Last edited by Extrude8388 on 2024-03-13 23:35, edited 2 times in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Software] systemd slow shutdown

#2 Post by sunrat »

Your journalctl show only actions at the same timestamp. More helpful may be

Code: Select all

journalctl -b -1 -p 3
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Extrude8388
Posts: 3
Joined: 2024-03-13 05:49

Re: [Software] systemd slow shutdown

#3 Post by Extrude8388 »

sunrat wrote: 2024-03-13 08:08 Your journalctl show only actions at the same timestamp. More helpful may be

Code: Select all

journalctl -b -1 -p 3
result is

Code: Select all

6850u32gb:~$ journalctl -b -1 -p 3
Mar 12 22:42:51 6850u32gb systemd[1310]: Failed to start app-gnome-baloo_file-1710.scope - Application launched by gnome-session-binary.
Mar 12 22:42:51 6850u32gb systemd[1310]: Failed to start app-gnome-im\x2dlaunch-1679.scope - Application launched by gnome-session-binary.
Mar 12 22:42:51 6850u32gb systemd[1310]: Failed to start app-gnome-user\x2ddirs\x2dupdate\x2dgtk-1746.scope - Application launched by gnome-session-binary.

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Software] systemd slow shutdown

#4 Post by sunrat »

As a non-user of Gnome I can't shed much light but I'd guess those "Failed to start" applications are important. The "-p 3" is short for --priority errors" so they may be serious.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Extrude8388
Posts: 3
Joined: 2024-03-13 05:49

Re: [Software] systemd slow shutdown

#5 Post by Extrude8388 »

thank you for talking the time ill go back to kde for now as it works with issues its been ~10 years since i messed with gnome

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Software] systemd slow shutdown

#6 Post by sunrat »

Extrude8388 wrote: 2024-03-14 06:09 thank you for talking the time ill go back to kde for now as it works with issues its been ~10 years since i messed with gnome
I support that idea wholeheartedly. Last I messed with Gnome it was back to KDE in under a day. :mrgreen:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply