Comments (7)
lsof -p 2765 | wc -l
1000073
都是socket连接
from che.
Looks like Docker isn;t running on your system. Can you verify that docker info returns some meaningful output?
from che.
docker is already run in my system,you can see log as follows
2015-12-25 11:45:22,534[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /home/wu560130911/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/che.war
2015-12-25 11:45:26,851[ost-startStop-1] [INFO ] [.c.p.d.c.DockerRegistryChecker 43] - Probing registry 'http://localhost:5000'
2015-12-25 11:45:26,871[ost-startStop-1] [INFO ] [.c.p.d.c.DockerRegistryChecker 48] - Probe of registry 'http://localhost:5000' succeed with HTTP response code '200'
2015-12-25 11:45:28,390[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /home/wu560130911/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/che.war has finished in 5,855 ms
2015-12-25 11:45:28,391[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1036] - Deploying web application directory /home/wu560130911/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/ROOT
2015-12-25 11:45:28,429[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1152] - Deployment of web application directory /home/wu560130911/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/ROOT has finished in 38 ms
2015-12-25 11:45:28,433[main] [INFO ] [o.a.c.http11.Http11NioProtocol 469] - Starting ProtocolHandler ["http-nio-8080"]
2015-12-25 11:45:28,461[main] [INFO ] [o.a.catalina.startup.Catalina 638] - Server startup in 70781 ms
2015-12-25 11:46:17,857[8080-Acceptor-0] [ERROR] [o.a.t.util.net.NioEndpoint 709] - Socket accept failed
java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) ~[na:1.8.0_65]
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) ~[na:1.8.0_65]
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) ~[na:1.8.0_65]
at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:682) ~[tomcat-coyote.jar:8.0.28]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
2015-12-25 11:46:17,908[8080-Acceptor-0] [ERROR] [o.a.t.util.net.NioEndpoint 709] - Socket accept failed
from che.
I can see the access to the docker registry, but I didn't see the access to
docker itself.
We see the too many open files issue randomly. It often appears when using
docker through virtualbox & the virtualbox system has disk swapping or
memory constraint issue due to many reuses of the system.
Does "docker ps" work?
Have you tried installing virtualbox, launching docker in a virtualbox vm -
and do you get the same issues as running docker natively?
Tyler Jewell | CEO | tyler@codenvy.com | 978.884.5355
On Fri, Dec 25, 2015 at 3:46 PM, 吴梦升 [email protected] wrote:
docker is already run in my system,you can see log as follows
2015-12-25 11:45:22,534[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig
916] - Deploying web application archive
/home/hzwumsh/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/che.war
2015-12-25 11:45:26,851[ost-startStop-1] [INFO ]
[.c.p.d.c.DockerRegistryChecker 43] - Probing registry '
http://localhost:5000'
2015-12-25 11:45:26,871[ost-startStop-1] [INFO ]
[.c.p.d.c.DockerRegistryChecker 48] - Probe of registry '
http://localhost:5000' succeed with HTTP response code '200'
2015-12-25 11:45:28,390[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig
980] - Deployment of web application archive
/home/hzwumsh/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/che.war
has finished in 5,855 ms
2015-12-25 11:45:28,391[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig
1036] - Deploying web application directory
/home/hzwumsh/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/ROOT
2015-12-25 11:45:28,429[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig
1152] - Deployment of web application directory
/home/hzwumsh/tools/eclipse-che-4.0.0-M6-SNAPSHOT/tomcat/webapps/ROOT has
finished in 38 ms
2015-12-25 11:45:28,433[main] [INFO ] [o.a.c.http11.Http11NioProtocol 469]
- Starting ProtocolHandler ["http-nio-8080"]
2015-12-25 11:45:28,461[main] [INFO ] [o.a.catalina.startup.Catalina 638]- Server startup in 70781 ms
2015-12-25 11:46:17,857[8080-Acceptor-0] [ERROR]
[o.a.t.util.net.NioEndpoint 709] - Socket accept failed
java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) ~[na:1.8.0_65]
at
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
~[na:1.8.0_65]
at
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
~[na:1.8.0_65]
at
org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:682)
~[tomcat-coyote.jar:8.0.28]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
2015-12-25 11:46:17,908[8080-Acceptor-0] [ERROR]
[o.a.t.util.net.NioEndpoint 709] - Socket accept failed—
Reply to this email directly or view it on GitHub
#140 (comment).
from che.
2015-12-25 11:46:17,857[8080-Acceptor-0] [ERROR] [o.a.t.util.net.NioEndpoint 709] - Socket accept failed java.io.IOException: Too many open files actually means there's no connection to Docker socket. Make sure you can run docker ps in the terminal where you launch Che.
Info on your system setup will also help.
from che.
root@mini02-04:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e26315acde08 dockerui/dockerui "/dockerui" 44 hours ago Up 44 hours 0.0.0.0:9000->9000/tcp romantic_spence
e218a1eb2041 registry "docker-registry" 44 hours ago Up 44 hours 0.0.0.0:5000->5000/tcp registry
from che.
Startup script now does a series of checks, including Docker availability.
Closing the issue.
from che.
Related Issues (20)
- Deploy Che step is failing for the Smoke test of Che-Code HOT 6
- As an admin, I would like to specify the `allowList` of the URLs based on which workspaces / CDEs can be started
- "Restart from local devfile" option resulting in http error HOT 9
- In the Che CR provide a way to set the runtime class for all CDE pods HOT 2
- Move stow / kubedoc and other internal features to the Universal Base Image
- Depreacte and remove ubi 8 from the upstream UDI codebase (ubi 9 should be only supported version in the upstream)
- Prevent users from changing `controller.devfile.io/storage-type` on an existing workspace to avoid confusing & frustrating data loss
- Improve behaviour for Restart From Local Devfile action
- Improve error message of dsc/chectl if OpenShift version cannot be determined
- Devfile 2.3.0 support on the Che-Code side
- Che-Code automatic rebase against upstream VS Code is failed
- Increase DNS timeout for `dsc server:deploy` HOT 2
- Upgrade version of devfile/api to 2.3.0
- Release Eclipse Che 7.89.0
- Che-server devfile V1 cleanup
- Resource monitor doesn't work HOT 2
- Restart from Local Devfile fails if the devfile specifies which container to inject the IDE into HOT 6
- Link to Mattermost is broken in docs HOT 1
- chectl: It seems no check OIDC provider configured using `getEnsureOIDCProviderInstalledTask` Task HOT 3
- Issues with Websockets for Che with Nginx-Ingress Controller. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from che.