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

examples/cpp/helloworld/greet_server hang up with 100% cpu usage #21548

Closed
danielhongwoo opened this issue Dec 24, 2019 · 2 comments
Closed

examples/cpp/helloworld/greet_server hang up with 100% cpu usage #21548

danielhongwoo opened this issue Dec 24, 2019 · 2 comments

Comments

@danielhongwoo
Copy link

danielhongwoo commented Dec 24, 2019

What version of gRPC and what language are you using?

  • v1.26.0
  • c++

What operating system (Linux, Windows,...) and version?

  • Linux, Ubuntu 16.04

What runtime / compiler are you using (e.g. python version or version of gcc)

  • g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609

What did you do?

git clone https://github.com/grpc/grpc.git
cd grpc
git checkout v1.26.0
git submodule update --init
cd examples/cpp/helloworld/
mkdir build
cd build
cmake -DGRPC_AS_SUBMODULE=ON -DBUILD_SHARED_LIBS=ON ..
make -j7

What did you expect to see?

  • helloworld example works fine.

What did you see instead?

  • helloworld example doens't work with 100% cpu usage on v1.26.0.
$ GRPC_VERBOSITY=debug GRPC_TRACE=api ./greeter_server
D1224 13:52:19.215704837   28805 ev_posix.cc:174]            Using polling engine: epollex
D1224 13:52:19.216050358   28805 dns_resolver_ares.cc:503]   Using ares dns resolver
<<< HANG UP for more than 5 minutes >>>
  • but it works just fine on v1.25, v1.24
@stale
Copy link

stale bot commented May 6, 2020

This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 30 days. It will be closed automatically if no further update occurs in 7 day. Thank you for your contributions!

@yashykt
Copy link
Member

yashykt commented May 8, 2020

This was fixed by #21662

@stale stale bot removed the disposition/stale label May 8, 2020
@yashykt yashykt closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants