grpc (some )Threads are not closing properly

126 views
Skip to first unread message

Chandra Vennapusa Kishore Reddy

unread,
Mar 31, 2021, 2:18:13 AM3/31/21
to grpc.io
Hello,
I am new to Grpc and so far like it very much.


30-03-2021 12:33:22.374 ^[[35m[grpc-shared-destroyer-0]^[[0;39m ^[[1;31mERROR^[[0;39m i.grpc.internal.LogExceptionRunnable.run - Exception wh$
io.grpc.netty.shaded.io.netty.channel.ChannelException: eventfd_write(...) failed: Bad file descriptor
        at io.grpc.netty.shaded.io.netty.channel.epoll.Native.eventFdWrite(Native Method)
        at io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoop.wakeup(EpollEventLoop.java:182)
        at io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.shutdownGracefully(SingleThreadEventExecutor.java:615)
        at io.grpc.netty.shaded.io.netty.util.concurrent.MultithreadEventExecutorGroup.shutdownGracefully(MultithreadEventExecutorGroup.java:$
        at io.grpc.netty.shaded.io.grpc.netty.Utils$DefaultEventLoopGroupResource.close(Utils.java:346)
        at io.grpc.netty.shaded.io.grpc.netty.Utils$DefaultEventLoopGroupResource.close(Utils.java:318)
        at io.grpc.internal.SharedResourceHolder$2.run(SharedResourceHolder.java:152)
        at io.grpc.internal.LogExceptionRunnable.run(LogExceptionRunnable.java:43)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:830)

zda...@google.com

unread,
Apr 7, 2021, 1:19:19 PM4/7/21
to grpc.io
Could you provide more context how to reproduce the issue? Is any RPC failing, or is it just a warning when the channel is shutting down?
Reply all
Reply to author
Forward
0 new messages