Python 2: 100% CPU load on server after request

237 views
Skip to first unread message

faschi...@gmail.com

unread,
Feb 13, 2017, 6:26:08 AM2/13/17
to grpc.io
Hi,

I was trying out the greeter example in the repository and I noticed that the server uses 100% CPU after the first request.
This only happens when started with Python 2, and not with Python 3.

I'm using Python 2.7.13 on Arch Linux, grpc is installed with pip in a fresh virtualenv.
Does anyone experience the same problem?

Thanks,
Alexander

Nathaniel Manista

unread,
Feb 13, 2017, 2:13:29 PM2/13/17
to faschi...@gmail.com, grpc.io
I've filed this report as issue 9688. This is the first we've heard of any CPU-pegging problem.

Confirm that you installed grpcio 1.1.0? How reproducible is this problem? Are you able to reduce the reproduction steps to some minimum? Does running the example terminate? Does running the example hang your machine? Are you able to use a profiler or debugger to determine what gRPC is doing with all that CPU usage?
-Nathaniel
Reply all
Reply to author
Forward
0 new messages