[Twisted-Python] Reason of calling Stale Broker inside loopback

Glyph glyph at twistedmatrix.com
Sat Mar 30 15:07:25 EDT 2013


On Mar 29, 2013, at 9:09 AM, Sergey Gerasimov <sergun at gmail.com> wrote:

> Hello,
>  
> 1.       What is the reason of error “DeadReferenceError: Calling Stale Broker”?
> My program uses PB inside loopback, so I shouldn’t have any disconnects. 

It means something disconnected.  Disconnects can happen for many reasons; perhaps your process terminated, perhaps an unhandled exception caused a problem.

> 2.       I call many time remote method returning pb.Referenceable. Can it be a reason of topic 1 or generally lead to system’s degradation?

That should be fine. But I can't see your code, so I have no idea what you mean by "many time".  If you can provide a *short* example of a program with this problem (not your whole program, just the shortest one that works), we might be able to help more.

-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20130330/c005e641/attachment.htm 


More information about the Twisted-Python mailing list