Noticed some strange behaviour today on our Redhat boxes that we run Logstash on.
I was trying to start Logstash jobs that previously ran fine, and got the error:
Error: Could not find or load main class -Xms5g
After trial and error, I determined it was because I have set GREP_OPTIONS in my profile today:
$ echo $GREP_OPTIONS
--color=always
Unsetting this environment variable returned Logstash's normal behaviour. Why would Logstash be affected by this environment variable? Is it using grep in some way and is the colour setting interfering with Logstash somehow?