Systemd reloading

Hi

Whenever I install or uninstall software, I experience a long delay, sometimes up to 10 minutes for reloading services.
journalctl gives amongs other things, the following output

Feb 24 06:56:15 DietPi systemd[1]: Reloading.
Feb 24 06:57:45 DietPi systemd[1]: Reloading.
Feb 24 06:59:15 DietPi systemd[1]: Reloading.
Feb 24 07:00:46 DietPi systemd[1]: Reloading.
Feb 24 07:02:16 DietPi systemd[1]: Reloading.
Feb 24 07:03:46 DietPi systemd[1]: Reloading.
Feb 24 07:05:16 DietPi systemd[1]: Reloading.
Feb 24 07:06:46 DietPi systemd[1]: Reloading.
Feb 24 07:08:17 DietPi systemd[1]: Reloading.
Feb 24 07:09:47 DietPi systemd[1]: Starting Clean php session files...
Feb 24 07:09:47 DietPi systemd[1]: Reloading.
Feb 24 07:11:17 DietPi systemd[1]: phpsessionclean.service: Succeeded.
Feb 24 07:11:17 DietPi systemd[1]: Finished Clean php session files.
Feb 24 07:11:17 DietPi systemd[1]: Reloading.
Feb 24 07:12:47 DietPi systemd[1]: Reloading.
Feb 24 07:14:17 DietPi systemd[1]: Reloading.
Feb 24 07:15:47 DietPi systemd[1]: Reloading.
Feb 24 07:17:18 DietPi systemd[1]: Reloading.
Feb 24 07:18:48 DietPi systemd[1]: Reloading.
Feb 24 07:20:19 DietPi systemd[1]: Starting Advanced key-value store...

Why is systemd reloading so much?

thanks beforehand any help!

Hi can you share some more information on your system pls:

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

As well, could you do a test installation and share the output. Inside the output, mark the point where you facing the delay. Would be good to understood on which point your delay is exactly. :slight_smile:

DietPi version:

G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=1
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='applied'
G_LIVE_PATCH_STATUS[1]='applied'
G_LIVE_PATCH_STATUS[2]='not applicable'
G_LIVE_PATCH_STATUS[3]='not applicable'

Distro version:

bullseye

Kernel version:

Linux DietPi 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux

SBC model:

Native PC (x86_64)

Delay mostly happening when dietpi-software stops and starts services. The original post was from journalctl logs, which shows that systemd is constantly reloading.

what kind of services you have running?

dietpi-services status

Does the following is having the same delay?

dietpi-services stop
dietpi-services start

And now ofcourse I cannot reproduce the error. I will let you know when/if it happens again.

that’s how it is usually :sunglasses: