You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there's no sonar.conf file, sonar restarts every 10 seconds, creating huge CPU spikes that can disrupt a print. It shows this message when happening:
WARN: No configuration file found ... INFO: Using fallback setup ...
This message is misleading because it gives the impression that Sonar will use the fallback config, but it's not. The fallback config is the one in the resources directory and it has this line:
enable: false
I would expect the service to stop, but it's still restarting every 5-10 seconds.
What did you expect to happen
I expect the service to stop for good when there's no config file. If not, then I would expect it to show a better warning than the current one.
How to reproduce
Just delete the sonar.conf file.
Additional information
No response
The text was updated successfully, but these errors were encountered:
faelenor
changed the title
Sonar generates huge CPU spikes every 10 seconds when there's no config file
Sonar generates huge CPU spikes every 5-10 seconds when there's no config file
Sep 8, 2024
What happened
When there's no sonar.conf file, sonar restarts every 10 seconds, creating huge CPU spikes that can disrupt a print. It shows this message when happening:
This message is misleading because it gives the impression that Sonar will use the fallback config, but it's not. The fallback config is the one in the resources directory and it has this line:
I would expect the service to stop, but it's still restarting every 5-10 seconds.
What did you expect to happen
I expect the service to stop for good when there's no config file. If not, then I would expect it to show a better warning than the current one.
How to reproduce
Just delete the sonar.conf file.
Additional information
No response
The text was updated successfully, but these errors were encountered: