服务连接nacos报错,too many openfile ,这个问题怎么解决?
2023-02-01 01:48:26,334 [http-nio-8269-exec-4] ERROR [com.alibaba.nacos.client.config.impl.ClientWorker] ClientWorker.java:221 - [fixed-172.18.187.17_8848-66aafefd-42be-458f-b2ce-c62cb85cb173] [sub-server] get server config exception, dataId=db_version.properties, group=DEFAULT_GROUP, tenant=66aafefd-42be-458f-b2ce-c62cb85cb173 java.net.SocketException: Too many open files at java.net.Socket.createImpl(Socket.java:477) at java.net.Socket.connect(Socket.java:604) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.(HttpClient.java:242) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:357) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) at com.alibaba.nacos.client.config.impl.HttpSimpleClient.httpGet(HttpSimpleClient.java:63) at com.alibaba.nacos.client.config.http.ServerHttpAgent.httpGet(ServerHttpAgent.java:77) at com.alibaba.nacos.client.config.http.MetricsHttpAgent.httpGet(MetricsHttpAgent.java:48) at com.alibaba.nacos.client.config.impl.ClientWorker.getServerConfig(ClientWorker.java:216) at com.alibaba.nacos.client.config.NacosConfigService.getConfigInner(NacosConfigService.java:158) at com.alibaba.nacos.client.config.NacosConfigService.getConfig(NacosConfigService.java:114) at org.springframework.cloud.alibaba.nacos.endpoint.NacosConfigHealthIndicator.doHealthCheck(NacosConfigHealthIndicator.java:57) at org.springframework.boot.actuate.health.AbstractHealthIndicator.health(AbstractHealthIndicator.java:82) at org.springframework.boot.actuate.health.CompositeHealthIndicator.health(CompositeHealthIndicator.java:95) at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:50) at org.springframework.boot.actuate.health.HealthEndpointWebExtension.health(HealthEndpointWebExtension.java:53) at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。