{"action":"created","issue":{"url":"https://api.github.com/repos/XX-net/XX-Net/issues/4657","repository_url":"https://api.github.com/repos/XX-net/XX-Net","labels_url":"https://api.github.com/repos/XX-net/XX-Net/issues/4657/labels{/name}","comments_url":"https://api.github.com/repos/XX-net/XX-Net/issues/4657/comments","events_url":"https://api.github.com/repos/XX-net/XX-Net/issues/4657/events","html_url":"https://github.com/XX-net/XX-Net/issues/4657","id":192451548,"number":4657,"title":"自动调整ip扫描线程数请问大家都调整在多少呢？感觉可用ip数量还是少。要手动扫描后才会多。","user":{"login":"whhxmwhh","id":7959854,"avatar_url":"https://avatars.githubusercontent.com/u/7959854?v=3","gravatar_id":"","url":"https://api.github.com/users/whhxmwhh","html_url":"https://github.com/whhxmwhh","followers_url":"https://api.github.com/users/whhxmwhh/followers","following_url":"https://api.github.com/users/whhxmwhh/following{/other_user}","gists_url":"https://api.github.com/users/whhxmwhh/gists{/gist_id}","starred_url":"https://api.github.com/users/whhxmwhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whhxmwhh/subscriptions","organizations_url":"https://api.github.com/users/whhxmwhh/orgs","repos_url":"https://api.github.com/users/whhxmwhh/repos","events_url":"https://api.github.com/users/whhxmwhh/events{/privacy}","received_events_url":"https://api.github.com/users/whhxmwhh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-30T01:35:32Z","updated_at":"2016-11-30T06:29:26Z","closed_at":null,"body":"自动调整ip扫描线程数\r\n\r\n思路：\r\n\r\n在缺乏ip时，开大线程扫描ip数\r\n加快扫描的速度\r\n在有足够好ip之后，降低扫描的线程数，减少资源开销\r\n足够多ip的定义：\r\n\r\n对ip的ssl握手时间进行排序，前100个ip的握手耗时作为度量标准\r\n根据经验，200ms是足够好，700ms最差\r\n自动调整的规则：\r\n\r\n200ms 停止扫描\r\n300ms 启动10个线程\r\n400ms 启动20个线程\r\n...\r\n700ms 启动50个线程\r\n默认最多50个线程，如果调整这个数字，按比例调整规则。\r\n\r\n---\r\n## 提问之前\r\n1. 首先请确认你使用的是[最新版本](https://github.com/XX-net/XX-Net/blob/master/code/default/download.md)，你的问题可能已经在新版本里解决了。\r\n2. 请阅读[故障速查手册](https://github.com/XX-net/XX-Net/wiki/故障速查手册)，大部分问题都能在这里找到答案。\r\n3. 请在 [issue](https://github.com/XX-net/XX-Net/issues) 区搜索有无类似的问题。\r\n\r\n---\r\n## 问题内容\r\n1. 请尽可能详细的描述你的问题，如问题能重现请附带重现方法。\r\n2. 当你的问题得到解决后，记得关闭问题。\r\n3. 可以参考[示例 issue](https://github.com/XX-net/XX-Net/issues/3193)。\r\n\r\n### 附加内容\r\n1. 提交 issue 时请贴出诊断信息、GAEProxy 日志，以便开发者和其他用户更好地帮助你。\r\n2. 如果是部署相关的问题，请一并附带部署日志。\r\n3. 如果你有任何与这个问题有关的信息，也请一并发出来。\r\n4. 如果你没有提供诊断信息，我们很可能会忽略这个问题。\r\n\r\n#### 获取诊断信息\r\n点击[状态页](http://127.0.0.1:8085)下方的【诊断信息】按钮，如没有这个按钮，请将显示详细信息从【OFF】改为【ON】。\r\n\r\n#### 获取日志\r\n打开 [GAEProxy 日志页](http://127.0.0.1:8085/?module=gae_proxy&menu=logging) 复制网页右边部分的内容。\r\n\r\n---\r\n请在阅读完后点击上边的 Write，删除说明内容，然后描述你遇到的问题。\r\n"},"comment":{"url":"https://api.github.com/repos/XX-net/XX-Net/issues/comments/263794363","html_url":"https://github.com/XX-net/XX-Net/issues/4657#issuecomment-263794363","issue_url":"https://api.github.com/repos/XX-net/XX-Net/issues/4657","id":263794363,"user":{"login":"jzp820927","id":5740066,"avatar_url":"https://avatars.githubusercontent.com/u/5740066?v=3","gravatar_id":"","url":"https://api.github.com/users/jzp820927","html_url":"https://github.com/jzp820927","followers_url":"https://api.github.com/users/jzp820927/followers","following_url":"https://api.github.com/users/jzp820927/following{/other_user}","gists_url":"https://api.github.com/users/jzp820927/gists{/gist_id}","starred_url":"https://api.github.com/users/jzp820927/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzp820927/subscriptions","organizations_url":"https://api.github.com/users/jzp820927/orgs","repos_url":"https://api.github.com/users/jzp820927/repos","events_url":"https://api.github.com/users/jzp820927/events{/privacy}","received_events_url":"https://api.github.com/users/jzp820927/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T06:29:26Z","updated_at":"2016-11-30T06:29:26Z","body":"目前也只能这样了。"}}
{"actor":{"display_login":"jzp820927"}}