疑似极光推送导致pipe增加,fd泄露数量增加到1024导致app crash问题

1247599259
2018-12-26 03:36 1.2k 0

log_1225_2044_JIGUANG-JCore.txt (469.0 KB)

疑似极光推送导致pipe增加,fd数量增加到1024问题,麻烦查找下

极光报如下错误时,查询fd数量发现pipe增加

06-06 22:34:18.421   550 25311 D AlarmManager: Target = com.midea.ems creator = com.midea.ems type = 0 action = null
06-06 22:34:24.469 17053 28580 W JIGUANG-JCore: [SisPolicy] singleSendSis failed, error:cn.jiguang.d.b.a.e: Can not get sis response from host: - 192.168.31.1 - null
06-06 22:34:27.578 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7002): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:27.985 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7004): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.037 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7006): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.094 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7003): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.135 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7007): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.241 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7009): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.321 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7005): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.357 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7000): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.419 17053 28580 W JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.ConnectException: failed to connect to /192.168.31.1 (port 7008): isConnected failed: ECONNREFUSED (Connection refused)
06-06 22:34:28.453 17053 28580 E JIGUANG-JCore: [SisInfo] Unexpected - invalid sis - ips array len is 0

pipe增加log(日志只是示例,时间点不对的)

```
lr-x------ system system 2034-01-05 04:22 79 -> pipe:[8424315]
l-wx------ system system 2034-01-05 04:22 8 -> /dev/cpuctl/bg_non_interactive/tasks
l-wx------ system system 2034-01-05 04:22 80 -> pipe:[8425680]
l-wx------ system system 2034-01-05 04:22 81 -> pipe:[8425115]
lr-x------ system system 2034-01-05 04:22 82 -> pipe:[8424310]
l-wx------ system system 2034-01-05 04:22 83 -> pipe:[8424315]
l-wx------ system system 2034-01-05 04:22 84 -> pipe:[8424310]
lr-x------ system system 2034-01-05 04:22 85 -> pipe:[8425695]
l-wx------ system system 2034-01-05 04:22 86 -> pipe:[8425695]
lr-x------ system system 2034-01-05 04:22 87 -> pipe:[8425040]
lr-x------ system system 2034-01-05 04:22 88 -> pipe:[8425702]
l-wx------ system system 2034-01-05 04:22 89 -> pipe:[8425040]
lr-x------ system system 2034-01-05 04:22 9 -> /dev/properties
l-wx------ system system 2034-01-05 04:22 90 -> pipe:[8425702]
lr-x------ system system 2034-01-05 04:22 91 -> pipe:[8425707]
lr-x------ system system 2034-01-05 04:22 92 -> pipe:[8425777]
l-wx------ system system 2034-01-05 04:22 93 -> pipe:[8425707]
l-wx------ system system 2034-01-05 04:22 94 -> pipe:[8425777]
lr-x------ system system 2034-01-05 04:22 95 -> pipe:[8425122]
l-wx------ system system 2034-01-05 04:22 96 -> pipe:[8424431]
lr-x------ system system 2034-01-05 04:22 97 -> pipe:[8425119]
l-wx------ system system 2034-01-05 04:22 98 -> pipe:[8425119]
l-wx------ system system 2034-01-05 04:22 99 -> pipe:[8425122]
root@astar-evb30:/proc/17014/fd # ls | wc -l
238

2个回答

热门排序