close unused sockets

Galant7 years ago

Hi,
I have too many sockets opened at the same time, and I got a "Too many open files" exception.

Is there a way to check, when a new socket is being opened, if its IMEI is already exist in another socket and close the old one if it does?
Thank you!

Anton Tananaev7 years ago

Please read following guide:

https://www.traccar.org/optimization/