vitalidze / traccar-web

Traccar Web UI mod
http://traccar.litvak.su/
152 stars 145 forks source link

Devices went offline #1139

Open akmal1999 opened 7 years ago

akmal1999 commented 7 years ago

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

vitalidze commented 7 years ago

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.

akmal1999 commented 7 years ago

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,

vitalidze commented 7 years ago

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.