Closed markballew closed 9 years ago
@markballew Based on the log files it looks like logstash-forwarder gets killed without any notice as there is nothing in the log file. Does this always happen after 10-15 minutes or just from time-to-time?
I've tested this a few times. It exits out between 10 minutes and an hour consistently. I have a few more boxes in a similar configuration I'll check out today to see if they have the same issue.
I don't know what would be normal in lsf's execution that could cause it to terminate silently. Are you capturing stdout/stderr from the process also? Maybe that has some hints.
I'm just running it as:
logstash-forwarder -config logstash-forwarder.conf
If there are additional flags I can pass to produce more useful output, let me know.
At this time I have no hypothesis as to what is causing these silent exits. Can you truss/strace it and capture the output when it dies?
Sorry to waste your time jordan, I did a ktrace and saw the process get a SIGTERM. It looks like a dev installed a cronjob that is killing this on the hour by accident. Thanks for taking the time and thanks for this awesome project!
I'm having an issue where logstash-forwarder is exiting after running successfully for 10-15 minutes. The machine is under some load (8 on a 8 core box) and 600MB into swap with 16GiB total / 2500MB free RAM. FreeBSD does pre-emptive page swapping, so I don't think it is the process killer.
I turned on logging for logstash itself, and I didn't find any smoking guns there. I grepped for the host name and IP of this machine in the log, but nothing was returned. If there is a better query for me to use, please let me know.
logstash-forwarder-0.4.0.20150507 Name : logstash-forwarder Version : 0.4.0.20150507
FreeBSD stuff 10.1-STABLE FreeBSD 10.1-STABLE #1 r275869: Wed Dec 17 13:23:39 PST 2014