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

emperor log file filling the disk #484

Open
ivmfnal opened this issue Oct 26, 2020 · 0 comments
Open

emperor log file filling the disk #484

ivmfnal opened this issue Oct 26, 2020 · 0 comments

Comments

@ivmfnal
Copy link

ivmfnal commented Oct 26, 2020

Sometimes my uwsgi emperor starts writing its log with messages like this:

Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...
Mon Oct 26 00:00:02 2020 - logsize: 18446744073709551615, triggering rotation to /home/dbidata3/www/uwsgi/logs/protodune_ucon_prod-errors.log.1603688402...

As you can see, the messages are written at the rate ~100Hz, so the logs disk gets filled with them.

I have not been able to figure out why this is happening, but I think it starts when particular uwsgi vassal gets reloaded.

Is there something I can do to prevent this ?

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