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

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

Comments

@crossoverJie
Copy link
Contributor

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.

Environment

  • 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

image

Dubbo service startup is slow, it takes two hours.

Thread dump like this:

image

More details

@crossoverJie

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
Projects
None yet
2 participants
You can’t perform that action at this time.