We have a system that has to use gRPC and doesn't support epoll. So we are 
using 'poll' as GRPC_POLL_STRATEGY. With that change we are seeing a 
strange behavior when we send data with 6MB of data size. Below mentioned 
error was seen with the python receiver.

gRPC client(c++) is built with 1.0.0 and gRPC receiver(python) is built 
using 1.9.0.

Please note that with same c++ grpc client running with 'epoll' as  
GRPC_POLL_STRATEGY on a system that supports epoll we don't see the issue 
with the same data. Also the receiver is set with max receiver size of 32MB.

Can you please let me know how can I debug this issue further?

<Error>

E0226 16:01:37.708911000 123145525346304 call.cc:1406]                 
receiving_slice_ready: 
{"created":"@1519689697.708873000","description":"Stream 
removed","file":"src/core/ext/transport/chttp2/transport/chttp2_transport.cc","file_line":2063,"referenced_errors":[{"created":"@1519689697.708859000","description":"Endpoint
 
read 
failed","file":"src/core/ext/transport/chttp2/transport/chttp2_transport.cc","file_line":2410,"occurred_during_write":0,"referenced_errors":[{"created":"@1519689697.708832000","description":"Socket
 
closed","fd":9,"file":"src/core/lib/iomgr/tcp_posix.cc","file_line":421,"grpc_status":14,"target_address":"ipv4:1.2.3.4:39632"}]}]}

</Error>

<Snip>
https://grpc.io/grpc/cpp/md_doc_environment_variables.html

GRPC_POLL_STRATEGY [posix-style environments only] Declares which polling 
engines to try when starting gRPC. This is a comma-separated list of 
engines, which are tried in priority order first -> last. Available polling 
engines include:
   
   - epoll (linux-only) - a polling engine based around the epoll family of 
   system calls
   - poll - a portable polling engine based around poll(), intended to be a 
   fallback engine when nothing better exists
   - legacy - the (deprecated) original polling engine for gRPC

</Snip>

-- 
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/a7404558-bff9-42e0-9072-ab2da2198539%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to