bonidier/synodlna-index

inotifywait crashes

Opened this issue · 2 comments

On my system inotifywait has a tendency to crash after a while, not straight away but after a few days.
Does the current script check if inotifywait is running and restart it if it failed?

Hi @andlommy , thanks for using and your feedback !

Did you get logs about inotifywait crash reasons ?

/opt/etc/init.d/S99synodlna-reindex-inotify log

You should also look at inotify-tools issues, maybe one of them will match this behavior
https://github.com/rvoicilas/inotify-tools/issues

Currently, the init.d script doesn't check constantly if inotifywait is up, only if it's started, but that's a nice idea !

Fault i get is segmentation fault.
Good pointer to inotify-tools package, however i've done all tests and no failures. This only happens after after a few days of inotifywait running