traccar-web icon indicating copy to clipboard operation
traccar-web copied to clipboard

Devices went offline

Open akmal1999 opened this issue 7 years ago • 3 comments

Hi,

All of a sudden most of the devices went offline and I see 2 devices working. Can you help, please? I tried restarting the service but, no luck.

tracker-server (1).zip

akmal1999 avatar Jun 02 '17 11:06 akmal1999

Your system ran out of open files/sockets:

INFO   | jvm 1    | 2017/06/02 11:24:14 | Caused by:
java.io.FileNotFoundException:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.141.x86_64/jre/lib/ext/localedata.jar
(Too many open files)

You can google for this issue or look on traccar forums/issue tracker for solution.

vitalidze avatar Jun 02 '17 18:06 vitalidze

Hi,

I think this is the solution what do you think? Specially the last comment in the bottom of the page.

https://github.com/tananaev/traccar/issues/1861

regards,

akmal1999 avatar Jun 02 '17 19:06 akmal1999

You can increase file limit, but it's better to deal with the source of problem. Usually there are stale connections, which remain even after device was disconnected. You can fix them by defining some resetDelay property in traccar config.

vitalidze avatar Jun 02 '17 19:06 vitalidze