News

opened on Apr 18 我在项目中使用connection = new DataSourceProxy (dataSource).getConnection ()获取数据源,当并并发量起来之后使用监控发现线程数量一直没降下来,最终导致java.lang.OutOfMemoryError: unable to create native thread: possibly out of ...
我的 Java 程序通过 Nginx 做代理访问 Apns,代理层偶现会出现 DNS 解析超时,然而这个超时会导致 ApnsChannelPool pendingCreateChannelFutures 没有 remove channel,最终导致 pendingCreateChannelFutures 的数量等于 capacity,从而没有任何一个可用的 connection 发送数据。