MapleLove2014 commented on issue #961:
URL: https://github.com/apache/brpc/issues/961#issuecomment-2900129555

   > 目前服务运行过程中会产生少许CLOSE_WAIT, 然后导致程序关闭时卡在 Server.Join() 这一步。 
请问以下这种情况可能是什么原因导致的呢?
   
   我们这边使用brpc0.9版本作为thrift 
server,当client的请求体的thrift定义和server的定义不一致时,复现了这个必超时+CLOSE_WAIT的问题。
   比如client端请求体定义:
   struct Request{
   1: required i32 id;
   }
   但是server请求体的定义是:
   struct Request{
   1: optional i32 id;
   }
   
   这种情况下如果发起请求就会直接超时+CLOSE_WAIT,改成相同的定义之后,就没这个问题了。
   
   但我的这种情况和你的应该不同,我这个是所有的请求都必会超时,CLOSE_WAIT特别多


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to