ES 5.x does not create the PID file when starting with bin/elasticsearch -d -p pid


(Duy Do) #1

According the official document Elasticsearch should create a PID file when starting with the command bin/elasticsearch -d -p pid but it does not.

ES versions: 5.x
OS: macOS Sierra
Java: 1.8.0_91

All the versions 1.x & 2.x create the PID file when starting with that command. It seems this is a bug on 5.x.


(Nik Everett) #2

Can you have a look at the logs? We use -p pid all the time.


(Duy Do) #3

My mistake, the PID file is created when Elasticsearch started completely.

Thanks @nik9000.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.