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

Digitaljs_online sometimes stops responding #55

Open
PythonLinks opened this issue Jul 10, 2023 · 6 comments
Open

Digitaljs_online sometimes stops responding #55

PythonLinks opened this issue Jul 10, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@PythonLinks
Copy link

https://digitaljs.tilk.eu/

It will not synthesize my code, nor your examples.

I am at a stage where it would be very interesting if your demo would also say how large a circuit is.
Ideally luts, or even transistors would be helpful.

Chris

@spineki
Copy link

spineki commented Aug 5, 2023

I have the same issue.

If I load one example (SR Latch for example) and click "Synthetize and simulate!", nothing happens.

Opening the brower network panel, It seems that the target api url is wrong.

HTTP/1.1 502 Bad Gateway
Server: nginx/1.18.0
Date: Sat, 05 Aug 2023 22:20:12 GMT
Content-Type: text/html
Content-Length: 157
Connection: keep-alive
Strict-Transport-Security: max-age=31536000

@tilk
Copy link
Owner

tilk commented Aug 6, 2023

Restarted the service again. It looks like someone is abusing the service and triggering the OOM killer.

I am at a stage where it would be very interesting if your demo would also say how large a circuit is.
Ideally luts, or even transistors would be helpful.

This is technology-dependent, and DigitalJS doesn't work at that level right now.

@tilk tilk closed this as completed Aug 6, 2023
@tilk tilk changed the title Site is not working Digitaljs_online stops responding after Yosys killed by OOM Aug 6, 2023
@tilk
Copy link
Owner

tilk commented Aug 6, 2023

Reopening as it would be good if the site was able to survive Yosys death.

@tilk tilk reopened this Aug 6, 2023
@tilk tilk added the bug Something isn't working label Aug 6, 2023
@shinkuan
Copy link

shinkuan commented Nov 3, 2023

I'm experiencing same issue now.

I have the same issue.

If I load one example (SR Latch for example) and click "Synthetize and simulate!", nothing happens.

Opening the brower network panel, It seems that the target api url is wrong.

HTTP/1.1 502 Bad Gateway
Server: nginx/1.18.0
Date: Sat, 05 Aug 2023 22:20:12 GMT
Content-Type: text/html
Content-Length: 157
Connection: keep-alive
Strict-Transport-Security: max-age=31536000

@tilk
Copy link
Owner

tilk commented Dec 8, 2023

For now, I have added auto-restarting in the systemd configuration. Hope it helps.

@tilk tilk changed the title Digitaljs_online stops responding after Yosys killed by OOM Digitaljs_online sometimes stops responding Jan 19, 2024
@tilk
Copy link
Owner

tilk commented Jan 19, 2024

I've now introduced a request limit (per IP) and a connection limit (for the entire server). This might reduce the service's responsiveness, but it may help with the lockups. The root cause of the lockups is still unknown.

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

4 participants