Hi,

I am running into a really odd issue where the following line (obtained 
from hello world's greeter_server.py example) freezes when it is executed 
on a HPC cluster. 

server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))

The following stack trace could provide more information on where the 
greeter_server program gets stuck within the gRPC Python library:

Thread 204411 (active): "MainThread"
    __init__ (grpc/_server.py:958)
    create_server (grpc/_server.py:1003)
    server (grpc/__init__.py:2064)
    serve (greeter_server.py:31)
    <module> (greeter_server.py:40)

(Apologies for the poor formatting)

The weird thing about this issue is that 

   - The hello world example (greeter_server + greeter_client) works fine 
   locally.
   - I attempted to debug by adding the "GRPC_VERBOSITY=DEBUG 
   GRPC_TRACE=all" flag (and confirmed it works locally), but nothing gets 
   printed out while running on the HPC cluster.  Furthermore, no exception is 
   thrown, rather the program simply freezes with the above stack trace.
   
I'm wondering if anyone has run into this issue before. I have spoken to 
the administrator of the HPC cluster and as far as I know there are no 
specific restrictions from preventing gRPC servers from being hosted.

Thanks in advance!
    

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/33efef87-682e-48f5-a356-212ce78571d2n%40googlegroups.com.

Reply via email to