Re: hang observed using Pyro4
Arend van Spriel <[email protected]> Sat, 23 May 2015 12:56:25 +0200
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 23-05-15 12:30, Irmen de Jong wrote: > 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. Setting it to 32 on server side does the trick. Thanks. > 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. Will look into that. Bedankt, Arend > 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 > _______________________________________________ > Pyro-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyro-core > ------------------------------------------------------------------------------ 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