-
Notifications
You must be signed in to change notification settings - Fork 3
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
Log files cut off for large flights #2
Comments
Just to add a bit more context here, the log file in its entirety is 489MB -- but the
1. Start a new shell in the MongoDB container for LogUI.
2. Run the following command when inside the MongoDB container shell.
Some things to note here:
Depending on the number of events, this may take a while! It creates a file in your container called 3. Once complete, leave the container shell.
4. You can then copy the file that was created to your host's filesystem.
The file 5. Once this is done, log back into the MongoDB container shell.
6. Delete the file in the container's filesystem, and exit.
That should be it! That will give you all of the data for the given flight. |
One potential solution. So the Gunicorn worker process times out, and when it does, the download, which is still taking place, is terminated. The progress of the download will obviously depend on your connection speed. I think this times out after a consistent period. I could adjust the Maybe this is a potential solution: use a different worker process. Could try and use |
When trying to download the log file for a large flight (more than 300 sessions), the log file is cut off before the end of the file. On the server-side, the HTTP worker times out and exits (
[CRITICAL] WORKER TIMEOUT
). This is also the moment when the incomplete file starts downloading in the browser.The text was updated successfully, but these errors were encountered: