-
Notifications
You must be signed in to change notification settings - Fork 51
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
Restart on crash - or add some redundancy. #33
Comments
Yeah, I'm not sure why this is happening but I think it's to do with docker container resource management. There is probably a systematic solution out there somewhere but I haven't discovered it yet. I might ping some experts on twitter this weekend. |
Hmm slightly different problem this time, got a bug report on twitter. But same solution might apply. For now just restarting the VM works OK.
|
I have added an hourly script to clean up empty containers and do some logging to make it easier to work out what's going on. I suspect it's RAM. In which case I will try add some more to the VM ... |
nice @alexmorley - can you add the script to the repo? |
@blahah Sorry missed this. yes, but I also have a better solution going forward. |
Proposal: Add a (very) lightweight orchestrating server between the front-end and docker-browser-server. It only needs a single API entrypoint. Orchestrator
{
"createdAt": "2011-09-20T01:02:17.931Z",
"ip_addr": "8.8.8.8"
} Docker-Browser-ServerIdeally we would also add the another entry-point to the docker-browser-server API that returns some memory/cpu availability statistics (either overall or per container). {
"createdAt": "2011-08-20T02:06:57.931Z",
"cpu_percentage": "88",
"mem_percentage": "88",
"mem_free": "1028"
} |
working on branch orchestra |
to prevent e.g. #32
The text was updated successfully, but these errors were encountered: