Skip to content

supervisord logs are written to filesystem #65

@dmartin

Description

@dmartin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions