syslogd Randomly Restarting
-
Hello. I'm wondering if anyone is seeing frequent restarts of syslogd on PFSense? I see anywhere from 15-30 per day. The only log file I can find literally just says "restart". Nothing before, nothing after. So I end up with a whole list of lines that just say "restart". PFSense version 22.05-RELEASE (amd64), running on a Protectli Vault FW4B. I'm not seeing any other issues like the system not functioning.
I found another post with this over a year ago and ended up being a hardware issue.
-
@jbhardman I seem to recall several threads, maybe this spring/summer after 22.01 or 22.05, discussing it restarts when any log is rotated. People with low log sizes, or high levels of logging (e.g. left the dashboard open = many HTTP requests, or logging lots of firewall traffic) would see it more.
-
@steveits Aha, could be. I will watch that and try and correlate. Thanks.
-
Yes, that. Check the log files in /var/log. You will be able to see which one is being frequently rotated, it's usually pretty obvious. Then check that log to see why it's being filled so often and reduce that and/or increase the file size.
Usually you also see sshguard spamming the system log:
https://redmine.pfsense.org/issues/12747Steve