Re: TimeoutError happening when Pyro4 under heavy load. How do I handle this?
Irmen de Jong <[email protected]>
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 13-5-2013 22:08, Vernon D. Cole wrote: > The suggestion to try the single thread option helped. The failure settled down to a > reproducible pattern. I am doing a recursive __getattr__ call. Now I only need to > figure out _why_ it is recursing... > Thanks! > -- > Vernon > Great to hear you made progress! This means that your code either triggers a bug in Pyro's threadpool implementation or the pool can't scale to your load with the min/max settings as provided. Another question is: what is causing the massive number of threads? Why are you creating so many different pyro proxies? (because a proxy == a connection == a thread) (Multiple calls on a single proxy are handled by the same thread.) Cheers, Irmen de Jong ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d