Do you mean you created 9 threads or grpc created 9 threads? I assume you are working on an async grpc server? Are those threads your rpc handling threads? grpc creates some threads internally to do some work offload.
On Tuesday, November 28, 2017 at 2:19:28 AM UTC-8, [email protected] wrote: > > Typo : Even when no connection is in progress > > > > On Tuesday, 28 November 2017 15:47:26 UTC+5:30, [email protected] > wrote: >> >> Hello , >> >> gRPC version : 1.0.0 >> >> 9 pthreads are created during server startup (equivalent to the cores >> available). I am following the follwing sequence to shutdown the server : >> - server_->shutdown() >> - cq_0>shutdown() >> >> The above sequence stops listening at the mentioned IP:Port combination >> but somehow isn't cleaning those existing pthreads even when streaming / >> GET request is in progress. >> Please suggest if i am missing some shutdown step & also could you >> redirect me the relevant piece of code responsible for server shutdown. I >> checked server.cc, dynamic_thread_pool.cc all logic appears fine. >> >> -Thanks >> Shikha >> >> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/dac9f8f1-79d8-43b2-99b8-9039f6ea02ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
