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

Frequent Data Node periodical runs in Server instance #21975

Closed
bernd opened this issue Mar 13, 2025 · 1 comment · Fixed by #22054
Closed

Frequent Data Node periodical runs in Server instance #21975

bernd opened this issue Mar 13, 2025 · 1 comment · Fixed by #22054

Comments

@bernd
Copy link
Member

bernd commented Mar 13, 2025

Description

We noticed that two Data Node periodicals are running in a Server instance, and they are executed every two seconds.

  1. DataNodeConfigurationPeriodical

This polls the certificate_exchange for new certificates. The exchange is usually empty, so it's fast. I was just wondering if this is supposed to run on every node or just Data Node? The class name suggests Data Node only.

  1. DataNodeCertRenewalPeriodical

This periodical checks every two seconds if certificates need to be renewed. When it runs, it reads the keystone from the disk. That seems pretty excessive. Does this need to run every two seconds? And same as above, this is also supposed to run on a server node?

Your Environment

  • Graylog Version: 6.2.0-SNAPSHOT
@bernd
Copy link
Member Author

bernd commented Mar 20, 2025

I can't reproduce the issue anymore. Only the DataNodeHousekeepingPeriodical is running on the server node (as it's supposed to be). We saw the issue during a debugging session in the IDE. I have no idea how that happened.

So the only open issue is the excessive interval for the DataNodeCertRenewalPeriodical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants