Skip to content

bugfix/start_thread_pool_server undefined Setting error#7

Open
wuxiaoyi wants to merge 3 commits into
huacnlee:masterfrom
wuxiaoyi:master
Open

bugfix/start_thread_pool_server undefined Setting error#7
wuxiaoyi wants to merge 3 commits into
huacnlee:masterfrom
wuxiaoyi:master

Conversation

@wuxiaoyi

@wuxiaoyi wuxiaoyi commented Dec 7, 2016

Copy link
Copy Markdown
Contributor

发现用NonblockingServer的时候有点问题,client端close链接之后,server端不会关闭链接(没回发Fin给客户端),导致服务端的大量TCP链接一直在CLOST_WAIT状态。改用ThreadPoolServer就没有这个问题。感觉应该是thrift这个gem的bug,还没时间仔细研究。
先把这个起ThreadPoolServer的bug改了吧。。

@huacnlee

huacnlee commented Dec 7, 2016

Copy link
Copy Markdown
Owner

啥也没改啊,就打了个 Log

@wuxiaoyi

wuxiaoyi commented Dec 7, 2016

Copy link
Copy Markdown
Contributor Author

原来的log写错了,没有Setting这变量,应该用config.thread_size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants