On Wed, Sep 29, 2010 at 2:17 PM, Koert Kuipers <[email protected]>

> I now suspect messages got lost because I repeatedly started the scripts and 
> somehow I ended up with multiple publishers binding to the same endpoint 
> after each other (with a subscriber connected continuously), in which case 
> some get ignored. Could that make sense?

Hmm... two sockets can't bind to the same endpoint, I tried that and
got a nice error.  Two subscribers can connect but they'd both get
messages.  So this isn't an explanation.

> Sorry for the confusion. Consider it a user error until I got a better handle 
> on what went wrong (and I can reproduce it). Best, Koert

Well, thanks for making those test cases already.  I'll be happy to
help if you do get another reproducible case.  Fwiw I started the
tests using a shell script:

killall python
# Program 1
python rep_sub.py &
# Program 2
python pub.py &
# Program 3
python req.py &

That rules out dangling processes and hand-induced delays.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to