Skip to content
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

Fault tolerance #82

Merged
merged 9 commits into from
Nov 20, 2020
Merged

Fault tolerance #82

merged 9 commits into from
Nov 20, 2020

Conversation

pgrill
Copy link
Collaborator

@pgrill pgrill commented Nov 18, 2020

No description provided.

libs/area_reporting.py Outdated Show resolved Hide resolved
libs/area_threading.py Outdated Show resolved Hide resolved
Co-authored-by: Renzo Gambone <42361379+renzodgc@users.noreply.github.com>
amd64-usbtpu.Dockerfile Outdated Show resolved Hide resolved
[program:api]
command=python3 run_processor_api.py --config %(ENV_CONFIG_FILE)s
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maxbytes = 0 means unlimited? What if we put a limit here, say 200Mb for each log? If this is going to be running possibly for years then that would be good

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stdout_logfile_maxbytes parameter defines the number of bytes required to rotate the log file (http://supervisord.org/logging.html#activity-log-rotation). The value 0 means the logfile is never rotated .
We are using /dev/stdout as logfile, so the rotation is not required.

@pgrill pgrill merged commit bf82aad into galliot-us:master Nov 20, 2020
@mats-claassen mats-claassen deleted the Fault-Tolerance branch November 20, 2020 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants