Any way to restart via CRON?
Posted: Tue Feb 20, 2018 1:41 pm
I'm having an issue where the log server will periodically just stop listening for logs, though on a restart (even just an apply config step), it starts reading them again just fine. It appears to be the listeners themselves that drop, maybe logstash as well, but so far I haven't been able to narrow it down to specific events. I may be short of RAM (64 GB) but I'm about to add 192 GB anyway, so if that's the issue it's about to be fixed. I'd still like to schedule a periodc restart of the Log Server just to clear things out. Is there a single script I can call from cron? Or will I need to use the elasticsearch and logstash scripts in /etc/rc3.d?