For reference I came here after investigating https://logstash.jira.com/browse/LOGSTASH-665
It appears that the bug comes from filewatch which can't use stat.st_dev on Solaris. But (see my comment 22253 on the bug report) after replacing occurences of stat.dev_major and stat.dev_minor by nil, the bug disappeared.
I need an indication on the safety risk of this hack since I am not used to ruby, and in case there would not be too much, I suggest you should catch the exception and use nill as a default value.
For reference I came here after investigating https://logstash.jira.com/browse/LOGSTASH-665
It appears that the bug comes from filewatch which can't use stat.st_dev on Solaris. But (see my comment 22253 on the bug report) after replacing occurences of stat.dev_major and stat.dev_minor by nil, the bug disappeared.
I need an indication on the safety risk of this hack since I am not used to ruby, and in case there would not be too much, I suggest you should catch the exception and use nill as a default value.