opsiconfd stürzt regelmäßig ab
Verfasst: 16 Jan 2026, 14:02
Wir haben auf unserem opsi Server das Problem, dass der opsiconfd ständig abstürzt.
Dadurch verlieren alle Clients die Verbindung zum Server.
Teilweise tritt das Problem mehrfach innerhalb einer Minute auf. Ein Neustart des opsi Servers behebt das Problem manchmal für einige Zeit.
Wir wissen da im Moment nicht wirklich weiter und ein Hinweis in welche Richtung wir suchen müssen würde schon helfen.
Hier ein Auszug aus dem journalctl log
Dadurch verlieren alle Clients die Verbindung zum Server.
Teilweise tritt das Problem mehrfach innerhalb einer Minute auf. Ein Neustart des opsi Servers behebt das Problem manchmal für einige Zeit.
Wir wissen da im Moment nicht wirklich weiter und ein Hinweis in welche Richtung wir suchen müssen würde schon helfen.
Hier ein Auszug aus dem journalctl log
Code: Alles auswählen
Jan 16 13:39:45 opsi kernel: audit: type=1400 audit(1768567185.464:425): apparmor="ALLOWED" operation="open" profile="/usr/sbin/sssd" name="/proc/1281/cmdline" pid=752 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jan 16 13:39:56 opsi opsiconfd[2228]: Fatal Python error: Segmentation fault
Jan 16 13:39:56 opsi opsiconfd[2228]: Thread 0x00007fee9abff6c0 [AnyIO worker th] (most recent call first):
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/backend/mysql/__init__.py", line 541 in get_columns
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/backend/mysql/__init__.py", line 877 in get_objects
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/backend/rpc/obj_host.py", line 265 in host_getObjects
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/backend/rpc/__init__.py", line 183 in wrapper
Jan 16 13:39:56 opsi opsiconfd[2228]: File "anyio/_backends/_asyncio.py", line 976 in run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "threading.py", line 1081 in _bootstrap_inner
Jan 16 13:39:56 opsi opsiconfd[2228]: File "threading.py", line 1043 in _bootstrap
Jan 16 13:39:56 opsi opsiconfd[2228]: Thread 0x00007feeadeff6c0 [RedisLogHandler] (most recent call first):
Jan 16 13:39:56 opsi opsiconfd[2228]: File "threading.py", line 373 in wait
Jan 16 13:39:56 opsi opsiconfd[2228]: File "threading.py", line 669 in wait
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/logging.py", line 456 in _process_queue
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/redis.py", line 140 in wrapper_retry
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/logging.py", line 449 in run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "threading.py", line 1081 in _bootstrap_inner
Jan 16 13:39:56 opsi opsiconfd[2228]: File "threading.py", line 1043 in _bootstrap
Jan 16 13:39:56 opsi opsiconfd[2228]: Thread 0x00007feeb5fb0040 [opsiconfd] (most recent call first):
Jan 16 13:39:56 opsi opsiconfd[2228]: File "asyncio/runners.py", line 127 in run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "asyncio/runners.py", line 204 in run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "uvicorn/server.py", line 67 in run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/worker.py", line 336 in _run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/worker.py", line 340 in run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "opsiconfd/worker.py", line 212 in subprocess_started
Jan 16 13:39:56 opsi opsiconfd[2228]: File "multiprocessing/process.py", line 108 in run
Jan 16 13:39:56 opsi opsiconfd[2228]: File "multiprocessing/process.py", line 320 in _bootstrap
Jan 16 13:39:56 opsi opsiconfd[2228]: File "multiprocessing/spawn.py", line 135 in _main
Jan 16 13:39:56 opsi opsiconfd[2228]: File "multiprocessing/spawn.py", line 122 in spawn_main
Jan 16 13:39:56 opsi opsiconfd[2228]: File "pyi_rth_multiprocessing.py", line 48 in _freeze_support
Jan 16 13:39:56 opsi opsiconfd[2228]: File "__main__.py", line 15 in <module>
Jan 16 13:39:56 opsi opsiconfd[2228]: Current thread's C stack trace (most recent call first):
Jan 16 13:39:56 opsi kernel: AnyIO worker th[2237]: segfault at 7feeb1617b40 ip 00007feeb260ec7b sp 00007feea2a53400 error 4 in libgcc_s.so.1[7feeb2600000+16000] likely on CPU 5 (core 2, socket 1)
Jan 16 13:39:56 opsi kernel: Code: b6 45 00 48 83 c5 01 84 c0 0f 84 a0 00 00 00 3c 4c 75 d4 0f b6 03 48 83 c3 01 41 88 85 71 01 00 00 eb dc 49 8b 87 98 00 00 00 <80> 38 48 0f 84 6e 02 00 00 0f 1f 40 00 b8 05 00 00 00 48 83 c4 38
Jan 16 13:39:56 opsi mariadbd[736]: 2026-01-16 13:39:56 122 [Warning] Aborted connection 122 to db: 'opsi' user: 'opsi' host: 'localhost' (Got an error reading communication packets)
Jan 16 13:39:56 opsi mariadbd[736]: 2026-01-16 13:39:56 121 [Warning] Aborted connection 121 to db: 'opsi' user: 'opsi' host: 'localhost' (Got an error reading communication packets)
Jan 16 13:39:56 opsi mariadbd[736]: 2026-01-16 13:39:56 119 [Warning] Aborted connection 119 to db: 'opsi' user: 'opsi' host: 'localhost' (Got an error reading communication packets)
Jan 16 13:39:56 opsi mariadbd[736]: 2026-01-16 13:39:56 120 [Warning] Aborted connection 120 to db: 'opsi' user: 'opsi' host: 'localhost' (Got an error reading communication packets)
Jan 16 13:39:56 opsi mariadbd[736]: 2026-01-16 13:39:56 118 [Warning] Aborted connection 118 to db: 'opsi' user: 'opsi' host: 'localhost' (Got an error reading communication packets)