-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
连接过多 #140
Comments
lsof -p 2765 | wc -l 都是socket连接 |
Looks like Docker isn;t running on your system. Can you verify that docker info returns some meaningful output? |
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 |
I can see the access to the docker registry, but I didn't see the access to We see the too many open files issue randomly. It often appears when using Does "docker ps" work? Tyler Jewell | CEO | tyler@codenvy.com | 978.884.5355 On Fri, Dec 25, 2015 at 3:46 PM, 吴梦升 notifications@github.com wrote:
|
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. |
root@mini02-04:~# docker ps |
Startup script now does a series of checks, including Docker availability. Closing the issue. |
编译安装eclipse-che-4.0.0-M6-SNAPSHOT,启动后,socket连接迅速涨到10万个,第一次请求后,tomcat报错
2015-12-25 16:32:12,226[main] [ERROR] [o.a.c.core.StandardServer 464] - StandardServer.await: accept:
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method) ~[na:1.8.0_65]
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409) ~[na:1.8.0_65]
at java.net.ServerSocket.implAccept(ServerSocket.java:545) ~[na:1.8.0_65]
at java.net.ServerSocket.accept(ServerSocket.java:513) ~[na:1.8.0_65]
at org.apache.catalina.core.StandardServer.await(StandardServer.java:446) ~[catalina.jar:8.0.28]
at org.apache.catalina.startup.Catalina.await(Catalina.java:713) [catalina.jar:8.0.28]
at org.apache.catalina.startup.Catalina.start(Catalina.java:659) [catalina.jar:8.0.28]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351) [bootstrap.jar:8.0.28]
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485) [bootstrap.jar:8.0.28]
The text was updated successfully, but these errors were encountered: