[Chicago] threads and xmlrpc?

Lukasz Szybalski szybalski at gmail.com
Thu Jan 29 15:51:20 CET 2009


On Thu, Jan 29, 2009 at 7:41 AM, Martin Maney <maney at two14.net> wrote:
> On Thu, Jan 29, 2009 at 12:08:56AM -0600, Lukasz Szybalski wrote:
>> I'm running a threaded app using some calls via xmlrpc. The problem I
>> run into is that connection is reset by peer after about 10min (~500
>> calls). I use a single connection and a queue of 8 threads to get the
>
> What's running on the server side?  Especially if the timeout happens
> after a more or less constant number of requests on different tries, I
> would assume the server caps the number of requests in one of several
> ways (per-connection, per-handler thread/process, whatever).


I'm trying to download stuff from pypi via their xmlrpc. So what you
are saying is I should limit the number of threads to something less
then 5 and see what happens?

Thanks,
Lucas


More information about the Chicago mailing list