New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help wanted] Error in no particular time #346
Comments
You need to check the timeout value setting in your MySQL database server. Run the following query:
Then post results here. As far as I remember currently traccar is configured to warm up connections every 600 seconds, so if your server closes connection earlier then you will get these issues. |
Thanks from the prompt answer:
|
Your timeouts look good (the default values). Well, I don't know why it is happening. I guess you need to investigate the log file (both tracker-server.log and wrapper.log) for error messages before this one. I can say that on all of my servers running 24x7 (I have three of them) I am using MySQL and don't have such issue. |
Thank you for your prompt answer. I will further investigate the problem. Please leave it open for a few days, in case someone else comment anything useful. Out of curiosity, in my server there are 7 devices registered that send data (positions) in a interval of 10 to 30 seconds 24/7. Maybe the error has to do with the load of the server? |
No problem, let's leave it open until there are some update. Your case is a very lightweight. I don't think it produces much load. Anyway, you can try to monitor the workload of your server just in case. |
Any update on this issue? |
I managed to increase the memory allocated to Java and now the application seems to run smoother with no more mistakes. For the time being I will close it. Thanks! |
Hi!
I get this error in the wrapper log:
I don't know what causes that, but when this happens the UI becomes very unstable and not usable. If I restart traccar everything is good. This can happen twice or three times in one day or it won't happen at all.
Thank you in advance for any suggestions.
EDIT: I am using 0.9.0 version
The text was updated successfully, but these errors were encountered: