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
Error message from WS #1088
Comments
Can yuu share the project? |
sorry, what do you mean by "share" ? |
Is it publicly available so that I can take a look and try to reproduce? |
can I send it to you privately somehow? |
support(at)codenvy.com |
sorry, I cannot..the environment is whitelisted to our org. IPs |
I cannot reproduce it with any projects on my side. I need the exact copy of your env with the project and command. |
@itaimalek any hints on how I might try reproducing this one? |
I'm sorry. but I cannot expose business data outside our network, you can try to do : |
@itaimalek no need to.. I have just reproduced it with a meteor app. Looks like a process inside a container interferes with ws agent somehow. |
Cool !
|
I think I have found out what happens. Inside every dev machine container, Che is running a workspace agent which is a Tomcat server. It consumes RAM. When a meteor app is starting is needs RAM as well. Workspace container is capped at 1GB ram by default. When out of memory issue occurs a workspace agent either malfunctions or the kernel just kills it a the most ram consuming process. I have started a ws with 2GB and cannot reproduce the issue anymore. |
I'll try with more RAM,
|
There is not, but I think it is due to a docker limitation. In studying the docker run docks there is an infinite option which lets the container grow its memory consumption in demand. Perhaps we should make this option available in Che? |
Actually in thinking about it, we could expose all of the memory management components directly into the dashboard for Che. We would not permit this in Codenvy as we would have no way to manage memory from aggressive user containers. https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources |
@itaimalek you cannot interfere with configuration of a running container. Docker won't let you do that. @TylerJewell No limitation is a default behavior for |
But we force users to apply a memory constraint in the dashboard. So it is a question of enforcement. |
@TylerJewell I think the problem here is for Che to gracefully fail when the workspace is out of resources and this is exactly what happens here. |
@eivantsov Well there are two separate and distinct issues:
I want to leave this issue open for a long period of time as there are numerous development tasks we can get from this. |
@TylerJewell Can you for the defined fixed memory size copy a container workspace, then destroy that container workspace and then recreate a copy of workspace with more ram? |
@james10174 we do plans to better detect issues with the workspace agent. Ideally, when it's down or unreachable, we will display a message and try to re-start it or offer a user to launch this workspace with more ram. |
@eivantsov - can you please cross link any Jira issues on this topic? Let's add them in here as cross-links until we can rewrite them into GitHub properly. |
@itaimalek I am closing this issue as a duplicate. You may follow this one - #1988 |
Thanks |
Hi, after a while I get this from WS
Terminal still works, but I cannot see my files.
This happens right after I run
npm -g install
This is what installed:
The text was updated successfully, but these errors were encountered: