Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dubbo service startup is slow #4556

crossoverJie opened this issue Jul 12, 2019 · 1 comment · Fixed by #4603


Copy link

commented Jul 12, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.


  • Dubbo version: 2.6.2
  • Operating System version: Linux
  • Java version: 1.8

Steps to reproduce this issue

  1. Restart dubbo service.
  2. Ping hostname becomes slow.

Expected Result

Start dubbo service quickly.

Actual Result


Dubbo service startup is slow, it takes two hours.

Thread dump like this:


More details


This comment has been minimized.

Copy link
Contributor Author

commented Jul 12, 2019

When I configured /etc/hosts:

xx.xx.xx.xx(ip) hostname

Dubbo returned to normal.

So I think it needs to increase the timeout here:

hostToBind = InetAddress.getLocalHost().getHostAddress();

@chickenlj chickenlj added this to the 2.7.4 milestone Jul 12, 2019

crossoverJie added a commit to crossoverJie/dubbo that referenced this issue Jul 18, 2019
beiwei30 added a commit that referenced this issue Aug 1, 2019
rambogototravel added a commit to rambogototravel/dubbo that referenced this issue Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.