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

[leo_storage] Suppress error logs on start #963

Closed
mocchira opened this issue Dec 29, 2017 · 1 comment
Closed

[leo_storage] Suppress error logs on start #963

mocchira opened this issue Dec 29, 2017 · 1 comment

Comments

@mocchira
Copy link
Member

Log lines like below occasionally get appeared on leo_storage start.

[W]     storage_3@127.0.0.1     2017-12-29 11:32:23.923 +0900   1514514743      null:null       0       lager_error_logger_h dropped 11 messages in the last second that exceeded the limit of 500 messages/sec

This can happen in case ops(operation per second) against error_logger exceeded error_logger_hwm.
I think many INFO level messages yielded on startup cause ops to exceed the threshold so it may be good to raise the default (current: 500) in leo_storage.conf however it's difficult to choose the optimal number as the higher value error_logger_hwm is set, the higher odds leo_storage can get stuck.

@mocchira
Copy link
Member Author

rabbitmq/rabbitmq-server#1472 this solution (raising the error_logger_hwm only during the boot then setting the original value back once the boot finished) can be applied to this issue.

@mocchira mocchira added this to the 1.4.0 milestone Jan 26, 2018
mocchira added a commit to mocchira/leofs that referenced this issue Feb 9, 2018
@mocchira mocchira closed this as completed Feb 9, 2018
@mocchira mocchira self-assigned this Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant