You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When using jsonrpclib to build a RPC Server.
server = SimpleJSONRPCServer(('0.0.0.0', rpc_listening_port))
server.register_function(floatingip_check, 'floatingip_check')
server.serve_forever()
It's found that the RPC Server process is stucked in a recv_from infinite loop.
recvfrom(4, "", 1, 0, NULL, NULL) = 0
recvfrom(4, "", 1, 0, NULL, NULL) = 0
(output from strace)
It seems rpc server doesn't close the socket normally while recvfrom return zero which indicating the peer has performed an shutdown.
Is this a bug of jsonrpclib or I missed something to make it work.
Thanks a lot.
The text was updated successfully, but these errors were encountered:
kldeng
changed the title
recv_from SYSCALL infinite loop
recvfrom SYSCALL infinite loop
Mar 15, 2016
Hi,
When using jsonrpclib to build a RPC Server.
server = SimpleJSONRPCServer(('0.0.0.0', rpc_listening_port))
server.register_function(floatingip_check, 'floatingip_check')
server.serve_forever()
It's found that the RPC Server process is stucked in a recv_from infinite loop.
recvfrom(4, "", 1, 0, NULL, NULL) = 0
recvfrom(4, "", 1, 0, NULL, NULL) = 0
(output from strace)
It seems rpc server doesn't close the socket normally while recvfrom return zero which indicating the peer has performed an shutdown.
Is this a bug of jsonrpclib or I missed something to make it work.
Thanks a lot.
The text was updated successfully, but these errors were encountered: