Log File Drastically Increased

halshehri8 years ago

Hello,

I have the server installed on ubuntu server. Yesterday something weird happened. The log file drastically increased till the server riches the maximum capacity 20GB within 4 hours.

I'm not sure what info to share here but I'm including couple of lines from the end of the file:

INFO   | jvm 1    | 2016/12/16 23:51:58 | [qtp903388835-34-acceptor-0@20e8656c-ServerConnector@795aa654{HTTP/1.1}{0.0.0.0:8082}] WARN org.eclipse.jetty.server.ServerConnector - 
INFO   | jvm 1    | 2016/12/16 23:51:58 | java.io.IOException: Too many open files
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:377)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:500)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2016/12/16 23:51:58 | [qtp903388835-34-acceptor-0@20e8656c-ServerConnector@795aa654{HTTP/1.1}{0.0.0.0:8082}] WARN org.eclipse.jetty.server.ServerConnector - 
INFO   | jvm 1    | 2016/12/16 23:51:58 | java.io.IOException: Too many open files
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:377)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:500)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
INFO   | jvm 1    | 2016/12/16 23:51:58 | 	at java.lang.Thread.run(Thread.java:745)
Anton Tananaev8 years ago

You should read following page:

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

halshehri8 years ago

Thank you so much. I'm going to do these changes