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

Huge log files #521

Closed
Kawanaao opened this issue Aug 20, 2024 · 4 comments
Closed

Huge log files #521

Kawanaao opened this issue Aug 20, 2024 · 4 comments

Comments

@Kawanaao
Copy link
Contributor

Hi all!

I would like to suggest introducing the LOG_LEVEL variable or simply LOG=false into the services (for openrc, I don’t know if this is relevant for systemd), the reason is that scx produces too much information as a service, 140MiB of logs are collected in one day
logrotate, unfortunately, will be redundant due to the need to see errors as well

@sirlucjan
Copy link
Contributor

In systemd, we limited the size of the logo to 50M [1].
Maybe @nycko123 will know what to do with openrc.

  1. https://github.com/sched-ext/scx/blob/main/services/systemd/journald%40sched-ext.conf#L3

@Kawanaao
Copy link
Contributor Author

In systemd, we limited the size of the logo to 50M [1]. Maybe @nycko123 will know what to do with openrc.

  1. https://github.com/sched-ext/scx/blob/main/services/systemd/journald%40sched-ext.conf#L3

In openrc this is done via logrotate, but in any case the problem is more likely that there are too many entries in the logs, I would like to have fewer of them or disable them, since they overwrite all the most important things

@sirlucjan
Copy link
Contributor

rusty, lavd and bpfland have scx_stats support (in -git version). Could you check?

@ptr1337
Copy link
Contributor

ptr1337 commented Sep 28, 2024

There are no log files anymore, this gets handled via scx_stats and of the schedulers --monitor function. I think we can close that issue.

@htejun htejun closed this as completed Oct 29, 2024
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

4 participants