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

Boxfort consumes all cpu when left open #43

Open
Bqleine opened this issue Nov 4, 2022 · 3 comments
Open

Boxfort consumes all cpu when left open #43

Bqleine opened this issue Nov 4, 2022 · 3 comments

Comments

@Bqleine
Copy link

Bqleine commented Nov 4, 2022

I had an infinite loop in some of my criterion tests, so I was obliged to kill the processes in order to get going. With time I notice a considerable amount of lag on my pc, turns out boxfort workers had been left open, and were consuming all of the cpu.
2022-11-04-152533_621x165_scrot

The workers should have died along with criterion, by either noticing criterion was gone or maybe criterion passing the signal if that's possible.

@Bqleine
Copy link
Author

Bqleine commented Nov 4, 2022

This might relate to pull request #30, although I'm not on FreeBSD

@Snaipe
Copy link
Owner

Snaipe commented Nov 4, 2022

That sounds pretty bad. What version are you using, and do you have a way to reproduce this? I'm not noticing any issues on my end.

@Bqleine
Copy link
Author

Bqleine commented Nov 5, 2022

After doing some quick tests, I was not able to reproduce the issue on a blank project, it seems this only happens when the tests won't exit on SIGTERM (this happened with infinite loops on my bigger project). When the tests are able to close correctly on SIGTERM there's no problem, I'll take a look later in the week to a way to reproduce it.

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

2 participants