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

Freeze (100% cpu usage) on solve #74

Closed
telaak opened this issue Apr 15, 2024 · 2 comments
Closed

Freeze (100% cpu usage) on solve #74

telaak opened this issue Apr 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@telaak
Copy link

telaak commented Apr 15, 2024

Certain input e.g.

{
    cut_width: 0,
    max_length: 600,
    target_sizes: [{ length: "106", quantity: "12" }],
}

causes uvicorn (at least according to top) to go up to 100% cpu usage, freeze and be unable to respond to any request until restarted.

The hosted version at https://cutsolver.modisch.me/ is also currently stuck due to this.

@ModischFabrications
Copy link
Owner

Oh wow, didn't notice that, must have been at least a week. Thanks for saying something!

I have restarted the instance and am looking into fixing it, potentially by updating the frontend to the new v1.1.0 format.

@ModischFabrications ModischFabrications self-assigned this Apr 15, 2024
@ModischFabrications ModischFabrications added the bug Something isn't working label Apr 15, 2024
@ModischFabrications
Copy link
Owner

The pure solver with proper env setup should have been working since v1.1.0, the frontend was also updated in ModischFabrications/CutSolverFrontend#75

Do remember to update your API usage if you host it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants