-
Notifications
You must be signed in to change notification settings - Fork 15
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
Not exiting final thread #991
Comments
Hello @k0mand1r,
|
Thank you for your reply. I did not capture stderr. I can rerun with capturing stderr to a file.
|
This was the error when running with 8 threads this morning. It's trying to delete a component which has previously been deleted in the MainThread. It seems based on this behaviour that:
threaded search with --threads 1
8 threads
1 thread
stacktrace --threads 1
|
Thanks for all this data @k0mand1r. That helps a lot wrt to your points:
No. It's just that the API is paginated so to get all the objects we need to iterate through several pages (parameter
Yes. That seems to be the bug, but I puzzled how there can be a duplicate on the list of objects to delete since the tool iterates only once on all the objects. I will investigate. |
Ok. I think I understood. |
Hello @k0mand1r, After investigation on my side, I never managed to have the same project added twice to the list so I am not sure how it happens on your side (Maybe if you have a project and a project branch that meet the purge criteria).
Let me know. |
Hi @okorach, Thank you for your reply. I was away for a bit. Kind regards, |
SQ CE: 10.1
sonar-tools: 2.9
Seems like the application is not fully closing all threads. sonar-housekeeper has been stuck for 1hr like this.
The command was running for 1hr, before getting stuck.
sonar-housekeeper -t $SONAR_TOKEN -u $SONAR_HOST_URL -v DEBUG -P 180 --mode delete
Any tips on how to solve this?
The text was updated successfully, but these errors were encountered: