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

supervisord logs are written to filesystem #65

Open
dmartin opened this issue Feb 17, 2023 · 0 comments
Open

supervisord logs are written to filesystem #65

dmartin opened this issue Feb 17, 2023 · 0 comments

Comments

@dmartin
Copy link

dmartin commented Feb 17, 2023

Due to these lines in supervisord.conf
https://github.com/wyveo/nginx-php-fpm/blob/master/supervisord.conf#L6-L9

[supervisord]
logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB        ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10           ; (num of main logfile rotation backups;default 10)

supervisord logs are written to the container's writable layer. This can cause problems if there is a filesystem quota applied to the container. Typically Docker containers write all logs directly to stdout/stderr to be captured by external log drivers, so this behavior is unexpected.

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

No branches or pull requests

1 participant