{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/tengine/issues/565","labels_url":"https://api.github.com/repos/alibaba/tengine/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/tengine/issues/565/comments","events_url":"https://api.github.com/repos/alibaba/tengine/issues/565/events","html_url":"https://github.com/alibaba/tengine/issues/565","id":53328104,"number":565,"title":"reuse_port导致nginx -t出错","user":{"login":"jlijian3","id":3337735,"avatar_url":"https://avatars.githubusercontent.com/u/3337735?v=3","gravatar_id":"","url":"https://api.github.com/users/jlijian3","html_url":"https://github.com/jlijian3","followers_url":"https://api.github.com/users/jlijian3/followers","following_url":"https://api.github.com/users/jlijian3/following{/other_user}","gists_url":"https://api.github.com/users/jlijian3/gists{/gist_id}","starred_url":"https://api.github.com/users/jlijian3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlijian3/subscriptions","organizations_url":"https://api.github.com/users/jlijian3/orgs","repos_url":"https://api.github.com/users/jlijian3/repos","events_url":"https://api.github.com/users/jlijian3/events{/privacy}","received_events_url":"https://api.github.com/users/jlijian3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-04T07:06:16Z","updated_at":"2015-04-03T09:19:38Z","closed_at":null,"body":"配置增加reuse_port on;\r\n启动nginx后\r\n运行nginx -t出现如下错误\r\n\r\nthe configuration file /usr/local/nginx/conf/nginx.conf syntax is ok\r\nnginx: [emerg] listen() to 0.0.0.0:8080, backlog 8192 failed (98: Address already in use)\r\nconfiguration file /usr/local/nginx/conf/nginx.conf test failed\r\n\r\n停止nginx，再运行nginx -t，正常\r\nthe configuration file /usr/local/nginx/conf/nginx.conf syntax is ok\r\nconfiguration file /usr/local/nginx/conf/nginx.conf test is successful"},"comment":{"url":"https://api.github.com/repos/alibaba/tengine/issues/comments/89234066","html_url":"https://github.com/alibaba/tengine/issues/565#issuecomment-89234066","issue_url":"https://api.github.com/repos/alibaba/tengine/issues/565","id":89234066,"user":{"login":"Profforgr","id":3028576,"avatar_url":"https://avatars.githubusercontent.com/u/3028576?v=3","gravatar_id":"","url":"https://api.github.com/users/Profforgr","html_url":"https://github.com/Profforgr","followers_url":"https://api.github.com/users/Profforgr/followers","following_url":"https://api.github.com/users/Profforgr/following{/other_user}","gists_url":"https://api.github.com/users/Profforgr/gists{/gist_id}","starred_url":"https://api.github.com/users/Profforgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Profforgr/subscriptions","organizations_url":"https://api.github.com/users/Profforgr/orgs","repos_url":"https://api.github.com/users/Profforgr/repos","events_url":"https://api.github.com/users/Profforgr/events{/privacy}","received_events_url":"https://api.github.com/users/Profforgr/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T09:19:38Z","updated_at":"2015-04-03T09:19:38Z","body":"@chobits Should reuse_port in last master work correctly? Still have\r\n```nginx\r\nnginx: [emerg] unknown directive \"reuse_port\" in /usr/local/nginx/conf/nginx.conf\r\n```\r\n\r\nreuse_port should be supported by kernel (3.16). sysctl net.ipv4.tcp_fastopen=1 (variable exists and set to 1). "}}