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

delayed log rotation during heavy logging volume #738

Closed
klehigh opened this issue Jan 15, 2020 · 3 comments
Closed

delayed log rotation during heavy logging volume #738

klehigh opened this issue Jan 15, 2020 · 3 comments

Comments

@klehigh
Copy link

klehigh commented Jan 15, 2020

When Zeek is under heavy logging volume, I have noticed logs do not rotate at the set time. We rotate every 15 minutes, but sometimes see logs rotate a few minutes late, or 30+ minutes late. While testing pooled loggers, I noticed one logger instance rotated logs 38 minutes late (thus missing two expected log rotation cycles) and the other instance didn't rotate after an hour.

This has happened across a number of versions. There are no errors in reporter.log or std*.log.

@sethhall
Copy link
Member

When this happens, are you logs also behind? Like the logger rotating 38 minutes late, was the log for the particular log type that rotated late actually writing out logs that were 38 minutes behind too?

@klehigh
Copy link
Author

klehigh commented Jun 24, 2020

Yes, we also see noticeable lag in the logs (indicated by the write_ts value in JSON as well as the bulk of the timestamps in the ts field for otherwise very short connections).

@rsmmr
Copy link
Member

rsmmr commented Aug 13, 2020

That sounds like general overload then, as everything seems to be behind.

@rsmmr rsmmr closed this as completed Aug 13, 2020
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

3 participants