syslog-ng is spinning on one CPU logging this: > Aug 27 14:45:39 davinci kernel: traps: syslog-ng[14142] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:42 davinci kernel: show_signal: 10 callbacks suppressed > Aug 27 14:45:42 davinci kernel: traps: syslog-ng[14201] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:42 davinci kernel: traps: syslog-ng[14212] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:42 davinci kernel: traps: syslog-ng[14213] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:43 davinci kernel: traps: syslog-ng[14214] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:43 davinci kernel: traps: syslog-ng[14215] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:43 davinci kernel: traps: syslog-ng[14231] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:43 davinci kernel: traps: syslog-ng[14232] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:44 davinci kernel: traps: syslog-ng[14233] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:45 davinci kernel: traps: syslog-ng[14259] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:45 davinci kernel: traps: syslog-ng[14260] general protection fault ip:7efeb17726fc sp:7ffd9ae8aad8 error:0 in libsyslog-ng-4.0.so.0.0.0 (deleted)[7efeb174b000+78000] > Aug 27 14:45:47 davinci kernel: show_signal: 6 callbacks suppressed Downgrading to 4.0.1 works. Reproducible: Always Steps to Reproduce: 1. Install syslog-ng 4.2.0
It looks like there were several instances of syslog-ng running. Perhaps the upgrade didn't properly stop the 4.0.1 version and that is causing a conflict?
had the same error. but after disabling python use flag as suggested here https://bugs.gentoo.org/907550 and restarting syslog-ng everything runs as it should
Disable python globally, or just for syslog-ng?
Confirmed, disabling python for just app-admin/syslog-ng in package.use avoids the problem. Something python-related is broken. Potentially virtualenv? (see bug 907550)
The comment about extra running instances helped in my case. After several unsuccessful runs of /etc/init.d/syslog-ng restart, I read the note here, tried /etc/init.d/syslog-ng stop, then kill -9 the remaining running instances and then manually starting seems to have helped. There was still some whining about python venv: [2023-09-05T00:06:06.185906] python: private virtualenv is not initialized, use the `syslog-ng-update-virtualenv' script to initialize it or make sure all required Python dependencies are available in the system Python installation; path='/var/lib/syslog-ng/python-venv' [ ok ] but otherwise I have one instance that isn't crashing. So it may be a problem of the upgrade path. That said, I haven't rebooted since then, so I'm not sure if I'll get multiple instances again once I reboot.