{"action":"created","issue":{"url":"https://api.github.com/repos/session-replay-tools/tcpcopy/issues/229","labels_url":"https://api.github.com/repos/session-replay-tools/tcpcopy/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/session-replay-tools/tcpcopy/issues/229/comments","events_url":"https://api.github.com/repos/session-replay-tools/tcpcopy/issues/229/events","html_url":"https://github.com/session-replay-tools/tcpcopy/issues/229","id":112756374,"number":229,"title":"压力大时稳定丢包，定时日志每次都刷出大量unsend日志","user":{"login":"ijasonjiang","id":2681726,"avatar_url":"https://avatars.githubusercontent.com/u/2681726?v=3","gravatar_id":"","url":"https://api.github.com/users/ijasonjiang","html_url":"https://github.com/ijasonjiang","followers_url":"https://api.github.com/users/ijasonjiang/followers","following_url":"https://api.github.com/users/ijasonjiang/following{/other_user}","gists_url":"https://api.github.com/users/ijasonjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/ijasonjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijasonjiang/subscriptions","organizations_url":"https://api.github.com/users/ijasonjiang/orgs","repos_url":"https://api.github.com/users/ijasonjiang/repos","events_url":"https://api.github.com/users/ijasonjiang/events{/privacy}","received_events_url":"https://api.github.com/users/ijasonjiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T08:38:26Z","updated_at":"2015-10-27T08:35:28Z","closed_at":null,"body":"流量大的时候，出现大量丢包。\r\n\r\n这里的packaget num上限我看是程序里宏定义设置的MAX_UNSEND_THRESHOLD=32768\r\n\r\n缓存的package数目过大导致的丢包该如何fix\r\n\r\n可以调大哪些参数限制试试？\r\n\r\nps，manual里虽然提到了unsend日志的问题，但是未找到解法方法。\r\n\r\n日志如下：\r\n\r\n2015/10/19 17:28:42 +507 [warn] unsend:candidate erased:20874,p:38663\r\n2015/10/19 17:28:42 +507 [warn] unsend:candidate erased:9308,p:46899\r\n2015/10/19 17:29:12 +507 [notice] active:4,rel reqs:1809,obs del:0\r\n2015/10/19 17:29:12 +507 [notice] conns:1813,resp packs:68756,c-resp packs:0\r\n2015/10/19 17:29:12 +507 [notice] send Packets:74868,send content packets:67626\r\n2015/10/19 17:29:12 +507 [notice] send fin Packets:2,send reset packets:1806\r\n2015/10/19 17:29:12 +507 [notice] reconnect for closed :0,for no syn:1811\r\n2015/10/19 17:29:12 +507 [notice] retransmit:0\r\n2015/10/19 17:29:12 +507 [notice] successful retransmit:0\r\n2015/10/19 17:29:12 +507 [notice] syn cnt:2,all clt packs:65962,clt cont:47061\r\n2015/10/19 17:29:12 +507 [notice] total client content retransmit:0,frag:0\r\n2015/10/19 17:29:12 +507 [notice] total captured pakcets:847758\r\n2015/10/19 17:29:12 +507 [notice] no responses after 60 secends\r\n2015/10/19 17:29:12 +507 [notice] session size:4\r\n2015/10/19 17:29:12 +507 [warn] unsend:crazy number of packets:40354,p:38663\r\n2015/10/19 17:29:12 +507 [warn] unsend:too many packets:18714,p:46899\r\n2015/10/19 17:29:12 +507 [warn] unsend:candidate erased:8296,p:34383\r\n2015/10/19 17:29:12 +507 [warn] unsend:candidate erased:4131,p:57333"},"comment":{"url":"https://api.github.com/repos/session-replay-tools/tcpcopy/issues/comments/151414013","html_url":"https://github.com/session-replay-tools/tcpcopy/issues/229#issuecomment-151414013","issue_url":"https://api.github.com/repos/session-replay-tools/tcpcopy/issues/229","id":151414013,"user":{"login":"ijasonjiang","id":2681726,"avatar_url":"https://avatars.githubusercontent.com/u/2681726?v=3","gravatar_id":"","url":"https://api.github.com/users/ijasonjiang","html_url":"https://github.com/ijasonjiang","followers_url":"https://api.github.com/users/ijasonjiang/followers","following_url":"https://api.github.com/users/ijasonjiang/following{/other_user}","gists_url":"https://api.github.com/users/ijasonjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/ijasonjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijasonjiang/subscriptions","organizations_url":"https://api.github.com/users/ijasonjiang/orgs","repos_url":"https://api.github.com/users/ijasonjiang/repos","events_url":"https://api.github.com/users/ijasonjiang/events{/privacy}","received_events_url":"https://api.github.com/users/ijasonjiang/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T08:35:28Z","updated_at":"2015-10-27T08:35:28Z","body":"能否给个联系方式，具体咨询下"}}