You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/12/16 17:39:55 UTC
[GitHub] [rocketmq] hdp-piplus opened a new issue #1655:
ClientRemotingProcessor execute receiveReplyMessage method timeout
hdp-piplus opened a new issue #1655: ClientRemotingProcessor execute receiveReplyMessage method timeout
URL: https://github.com/apache/rocketmq/issues/1655
main reasons are as follows
```
if (requestHeader.getBornHost() != null) {
msg.setBornHost(RemotingUtil.string2SocketAddress(requestHeader.getBornHost()));
}
if (requestHeader.getStoreHost() != null) {
msg.setStoreHost(RemotingUtil.string2SocketAddress(requestHeader.getStoreHost())); }
```
the RemotingUtil.string2SocketAddress method create new InetSocketAddress instance , when run code ``addr = InetAddress.getByName(hostname);`` it cost a long time, and the ``RequestResponseFuture`` instance was removed from ``RequestFutureTable`` map。
env :
os: centos linux 7 64bit
jdk: openjdk 8
ip: 172.18.5.188 eth0
the mechine is one of the kubernates node , and there are many vethxxxx network device
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services