Hanging on reboot

Hi all,

I have a strange behaviour. I am running dietpi 8.0 with logitech squeezeboxserver as a permanent service. SSH access often on reboot fails, and even after cold start. And USB access via keyboard fails via TTY as well.

Also the logitech squeezeboxserver sometimes takes 100% load after a random time, normally some hours. It is unresponsive then.

Does anybody have seen similar behaviour?

Thanks in advance

Side info (since yesterday):
I have connected GPIO 23 to a relais input (and VCC 3,3V and GND, it is from conrad electronic, fully equipped with zener diode and so on, decoupled by optocoupler), but without any config to it, so it should stay passive.

Pi 4b with 2GB (replacing a 8GB, which is now faulty with external periphery (Ethernet, USB, PCIe, everything else is working fine, while I am using this old Pi 4b 8GB now as a very fast radio :slight_smile:, the SD card just taken from the 8GB type)

After several times of rebooting I found out: The service logitechmediaserver isn’t started anymore:

/etc/systemd/system/logitechmediaserver.service:6:ExecStart=/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8 --logfile /var/log/squeezeboxserver/error.log

After restarting it manually by

$ service logitechmediaserver restart
$ service logitechmediaserver status
● logitechmediaserver.service - Logitech Media Server (DietPi)
   Loaded: loaded (/etc/systemd/system/logitechmediaserver.service; disabled; vendor preset: enabled)
   Active: active (running) since Mon 2022-01-24 20:01:38 CET; 8s ago
 Main PID: 6480 (squeezeboxserve)
    Tasks: 1 (limit: 2076)
   CGroup: /system.slice/logitechmediaserver.service
           └─6480 /usr/bin/perl /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8 --logfile /var/log/squeezeboxserver/error.log

Jan 24 20:01:38 DietPiPaeddasBKServer systemd[1]: Started Logitech Media Server (DietPi).
Jan 24 20:01:41 DietPiPaeddasBKServer squeezeboxserver[6480]: [22-01-24 20:01:40.0427] main::init (388) Starting Logitech Media Server (v8.1.1, 1610364019, Thu Jan 14 06:24:07 CET 2021) perl 5.028001 - aarch64-linux-gnu-thread-multi
Jan 24 20:01:41 DietPiPaeddasBKServer squeezeboxserver[6480]: [22-01-24 20:01:40.3822] Slim::Utils::Misc::msg (1266) Warning: [20:01:40.3820] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row.  SQL that returns multiple rows is DEPRECATED for -
>find and ->single at /usr/share/perl5/Slim/Schema.pm line 1899
root@DietPiPaeddasBKServer:~# service logitechmediaserver status

it came up again! What this??

My stats:

phpSysInfo                       Template 
Language                         en
System                           Vital
Canonical Hostname               xxx
Listening IP                     xxxx
Kernel Version                   5.10.63-v8+ (SMP) aarch64
Distro Name                      Debian GNU/Linux 10 (buster)
OS Type                          Linux
Uptime                            51 minutes
Last boot                        Mon, 24 Jan 2022 18:44:48 GMT
Current Users                    1
Load Averages                    0.18 0.30 0.21
System Language                  English United States Computer (C)
Code Page                        UTF-8
Processes                        175 (3 running, 114 sleeping, 58 other)
Hardware Information
Machine                          Raspberry Pi 4 B (PCB 1.4 Sony UK)
CPU                              Number of processors:    4
PCI                              Number of devices:    2
USB                              Number of devices:    9
Memory Usage
Type                Usage                                                                 Free          Used        Size  
Physical Memory    Total: 74% (Kernel + applications: 40% - Cached: 29% - Buffers: 5%)    459.50 MiB    1.31 GiB    1.76 GiB

Mounted Filesystems
Mountpoint ▼        Type        Partition                                        Usage        Free            Used            Size
/                   ext4        /dev/root
                                (rw, noatime, lazytime)                          30% (10%)    20.36 GiB       7.42 GiB        28.98 GiB
/boot               vfat        /dev/mmcblk0p1
                                (rw, noatime, lazytime, fmask=0022, 
                                dmask=0022, codepage=437, iocharset=ascii, 
                                shortname=mixed, errors=remount-ro)              13%          219.55 MiB      32.49 MiB       252.05 MiB
/dev                devtmpfs    devtmpfs
                                (rw, relatime, size=885956k, 
                                nr_inodes=221489, mode=755)                      0% (1%)      865.19 MiB      0 B             865.19 MiB
/dev/shm            tmpfs       tmpfs
                                (rw, nosuid, nodev)                              1% (1%)      899.00 MiB      4.00 KiB        899.00 MiB
/nextCloud          ext4        /dev/sda1
                                (rw, noatime, lazytime, x-systemd.automount)     80% (2%)     753.97 GiB      2.66 TiB        3.58 TiB
/run                tmpfs       tmpfs    
                                (rw, nosuid, nodev, mode=755)                    2% (1%)      887.43 MiB      11.57 MiB       899.00 MiB
/run/lock           tmpfs       tmpfs    
                                (rw, nosuid, nodev, noexec, relatime, size=5120k)1% (1%)      5.00 MiB        4.00 KiB        5.00 MiB
/run/user/0         tmpfs       tmpfs
                                (rw, nosuid, nodev, relatime, 
                                size=184116k, mode=700)                          0% (1%)      179.80 MiB      0 B             179.80 MiB
/sys/fs/cgroup      tmpfs       tmpfs
                                (ro, nosuid, nodev, noexec, mode=755)            0% (1%)      899.00 MiB      0 B             899.00 MiB
/tmp                tmpfs       tmpfs
                                (rw, nosuid, nodev, noatime, lazytime, 
                                size=4025344k)                                   1% (1%)      3.84 GiB        4.00 KiB        3.84 GiB
/var/log            tmpfs       tmpfs
                                (rw, nosuid, nodev, noatime, lazytime, 
                                size=51200k)                                     1% (1%)      49.96 MiB       40.00 KiB       50.00 MiB
                        Totals                                                   78.89%       782.08 GiB      2.67 TiB        3.62 TiB

Network Usage
Device            Received        Sent            Err/Drop
lo                382.90 KiB      382.90 KiB      0/0
eth0              10.33 MiB       11.25 MiB       0/0
wlan0             759.21 KiB      26.48 KiB       0/0

Label            Value        Limit
CPU 1            38.9 C
                 (102.1 F)