Re: hang observed using Pyro4

Irmen de Jong <[email protected]> Sat, 23 May 2015 12:30:25 +0200
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 23-5-2015 12:20, Arend van Spriel wrote:
> 
> Luck. This works as well. Not sure what the deal is here. Could it be number of open
> socket connections?

Could very well be.
Pyro's server threadpool size defaults to 16. Try increasing it, or try switching to the
multiplex server type.

Haven't looked at the code but if you find you're running out of connections: don't keep
proxies hanging around for longer than needed.
Easiest is to use them with a with statement, to ensure the connection is released once
the proxy goes out of scope. You can also release manually using _pyroRelease().


Irmen


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y