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
2 tasks done
crossoverJie opened this issue Jul 12, 2019 · 1 comment · Fixed by #4603
Closed
2 tasks done

Dubbo service startup is slow #4556

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

Comments

@crossoverJie
Copy link
Contributor

  • 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
Copy link
Contributor Author

crossoverJie 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 pushed a commit that referenced this issue Aug 1, 2019
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 a pull request may close this issue.

2 participants