{"action":"created","issue":{"url":"https://api.github.com/repos/joyieldInc/predixy/issues/94","repository_url":"https://api.github.com/repos/joyieldInc/predixy","labels_url":"https://api.github.com/repos/joyieldInc/predixy/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/joyieldInc/predixy/issues/94/comments","events_url":"https://api.github.com/repos/joyieldInc/predixy/issues/94/events","html_url":"https://github.com/joyieldInc/predixy/issues/94","id":516976487,"node_id":"MDU6SXNzdWU1MTY5NzY0ODc=","number":94,"title":"CLOSE_WAITE","user":{"login":"Toifyx","id":16380059,"node_id":"MDQ6VXNlcjE2MzgwMDU5","avatar_url":"https://avatars1.githubusercontent.com/u/16380059?v=4","gravatar_id":"","url":"https://api.github.com/users/Toifyx","html_url":"https://github.com/Toifyx","followers_url":"https://api.github.com/users/Toifyx/followers","following_url":"https://api.github.com/users/Toifyx/following{/other_user}","gists_url":"https://api.github.com/users/Toifyx/gists{/gist_id}","starred_url":"https://api.github.com/users/Toifyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toifyx/subscriptions","organizations_url":"https://api.github.com/users/Toifyx/orgs","repos_url":"https://api.github.com/users/Toifyx/repos","events_url":"https://api.github.com/users/Toifyx/events{/privacy}","received_events_url":"https://api.github.com/users/Toifyx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-11-04T06:26:22Z","updated_at":"2019-11-04T14:50:57Z","closed_at":null,"author_association":"NONE","body":"\r\n由于 [https://github.com/openresty/lua-resty-redis ](url) openresty/lua-resty-redis，不支持cluster模式，所以我用predixy代理。当我在压测nginx性能时，predixy出现大量CLOSE_WAITE请求未关闭情况。导致nginx连接不上predixy。有可能是我哪里配置不对嘛，或者predixy有bug。\r\n\r\npredixy ：1.0.5 release\r\n\r\ncluster config:\r\n```\r\nClusterServerPool {\r\n    MasterReadPriority 60\r\n    StaticSlaveReadPriority 50\r\n    DynamicSlaveReadPriority 50\r\n    RefreshInterval 1\r\n    ServerFailureLimit 10\r\n    ServerRetryTimeout 1\r\n    Password \"xxx\"\r\n    Servers {\r\n        + xxx:xxx\r\n        + xxx:xxx\r\n        + xxx:xxx\r\n    }\r\n}\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/16380059/68102516-11840300-ff0e-11e9-8ea0-e12d8ebccba3.png)\r\n\r\n\r\n/etc/sysctl.conf\r\n```\r\n# Kernel sysctl configuration file for Red Hat Linux\r\n#\r\n# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and\r\n# sysctl.conf(5) for more details.\r\n\r\n# Controls IP packet forwarding\r\nnet.ipv4.ip_forward = 0\r\n\r\n# Controls source route verification\r\nnet.ipv4.conf.default.rp_filter = 1\r\n\r\n# Do not accept source routing\r\nnet.ipv4.conf.default.accept_source_route = 0\r\n\r\n# Controls the System Request debugging functionality of the kernel\r\nkernel.sysrq = 0\r\n\r\n# Controls whether core dumps will append the PID to the core filename.\r\n# Useful for debugging multi-threaded applications.\r\nkernel.core_uses_pid = 1\r\n\r\n# Controls the use of TCP syncookies\r\nnet.ipv4.tcp_syncookies = 1\r\n\r\n# Disable netfilter on bridges.\r\nnet.bridge.bridge-nf-call-ip6tables = 0\r\nnet.bridge.bridge-nf-call-iptables = 0\r\nnet.bridge.bridge-nf-call-arptables = 0\r\n\r\n# Controls the default maxmimum size of a mesage queue\r\nkernel.msgmnb = 65536\r\n\r\n# Controls the maximum size of a message, in bytes\r\nkernel.msgmax = 65536\r\n\r\n# Controls the maximum shared segment size, in bytes\r\nkernel.shmmax = 68719476736\r\n\r\n# Controls the maximum number of shared memory segments, in pages\r\nkernel.shmall = 4294967296\r\n###pvdriver<begin>\r\nnet.ipv4.conf.all.arp_notify = 1\r\nnet.ipv4.conf.default.arp_notify = 1\r\nnet.ipv4.conf.eth0.arp_notify = 1\r\nnet.ipv4.conf.lo.arp_notify = 1\r\n###pvdriver<end>\r\n\r\nvm.overcommit_memory = 1\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joyieldInc/predixy/issues/comments/549388981","html_url":"https://github.com/joyieldInc/predixy/issues/94#issuecomment-549388981","issue_url":"https://api.github.com/repos/joyieldInc/predixy/issues/94","id":549388981,"node_id":"MDEyOklzc3VlQ29tbWVudDU0OTM4ODk4MQ==","user":{"login":"fortrue","id":2887732,"node_id":"MDQ6VXNlcjI4ODc3MzI=","avatar_url":"https://avatars3.githubusercontent.com/u/2887732?v=4","gravatar_id":"","url":"https://api.github.com/users/fortrue","html_url":"https://github.com/fortrue","followers_url":"https://api.github.com/users/fortrue/followers","following_url":"https://api.github.com/users/fortrue/following{/other_user}","gists_url":"https://api.github.com/users/fortrue/gists{/gist_id}","starred_url":"https://api.github.com/users/fortrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortrue/subscriptions","organizations_url":"https://api.github.com/users/fortrue/orgs","repos_url":"https://api.github.com/users/fortrue/repos","events_url":"https://api.github.com/users/fortrue/events{/privacy}","received_events_url":"https://api.github.com/users/fortrue/received_events","type":"User","site_admin":false},"created_at":"2019-11-04T14:50:57Z","updated_at":"2019-11-04T14:50:57Z","author_association":"CONTRIBUTOR","body":"predix日志记录的什么"}}
{"actor":{"display_login":"fortrue"}}