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

Docker runtime slow through frontend only? #6259

Open
richardr1126 opened this issue Jan 14, 2025 · 6 comments
Open

Docker runtime slow through frontend only? #6259

richardr1126 opened this issue Jan 14, 2025 · 6 comments
Labels
bug Something isn't working severity:medium Affecting multiple users

Comments

@richardr1126
Copy link

I am running OpenHands by building from source with the docker compose file. I have also tried the official image. Everything works, but the terminal commands take forever to execute, but what I find odd is that it only has a slow execution time from within the OpenHands interface.

If I execute commands directly within the docker runtime by attaching to the container, everything is very fast. Is there a hidden embedding model or something running inside the OpenHands interface. Why does it take over 2 minutes to return anything from npm i when executed from the OpenHands terminal, but execute super fast in the docker environment terminal?

I am not sure if this is a bug or just me, because it is just really slow when the using things like packages and for install packages. I have checked RAM availability as well, and running on M4 Pro in docker with the default runtime.

@alhimik45
Copy link

Seems its the problem of 0.19 version. All commands fail after default 2 minute timeout instead of returning the output right after finishing. There is no such problem in 0.18

@mamoodi
Copy link
Collaborator

mamoodi commented Jan 14, 2025

There was an issue in version 0.19 which was fixed in 0.20. However, this may still be an issue. I've brought it up with the team to see if someone can take a look.

@mamoodi mamoodi added bug Something isn't working severity:medium Affecting multiple users labels Jan 14, 2025
@richardr1126
Copy link
Author

Thanks for the help. I started on 0.19 when I first downloaded last week. Tried 0.20 too, I'll try 0.18 now.

@amirshawn
Copy link

I can confirm it's going on in 0.20.0 It's actually really frustrating. Things are taking a long time. In 0.19.0 I was about to give a response which seemed to break the stall but in 0.20.0 that doesn't help. It's not even timing out because I don't think the process is even running any more.

@mamoodi
Copy link
Collaborator

mamoodi commented Jan 14, 2025

I'll try to get someone to take a look at this.

@mamoodi
Copy link
Collaborator

mamoodi commented Jan 15, 2025

Hey all I think we have some understanding on this now. For now you can use 0.18 version as that doesn't seem to have the issue.
Hoping to get a fix soon 🤞

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

No branches or pull requests

4 participants