[zeromq-dev] Python Streamer Push/Pull Device "losing" messages
benjaminrk at gmail.com
Fri Oct 21 20:33:33 CEST 2011
Before anyone spends too much time reproducing this in other languages, I
have identified it something Python specific.
Summary: the device subprocess is getting torn down forcefully by garbage
collection at the end of the script, which is what caused message loss. Any
method of preventing that (e.g. not trying to exit until the device has done
what it is supposed to, setting Process.daemon=True, etc.).
Further explanation on
On Fri, Oct 21, 2011 at 11:09, James Thornton <james at jamesthornton.com>wrote:
> On Fri, Oct 21, 2011 at 8:06 AM, Chuck Remes <cremes.devlist at mac.com>
> > I don't have a python environment set up, so reproducing this exactly
> isn't feasible for me.
> > I may rewrite it in Ruby and see what happens.
> No problem. I reproduced it on Ubuntu under ZMQ 1.2.11 and the latest
> pyzmq -- filed an issue here
> - James
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev