[zeromq-dev] Zeromq messages getting dropped

Ritesh Adval riteshadval at gaikai.com
Thu Jan 17 00:53:51 CET 2013

Hi Charles,

I have test program in JAVA, I am not a C programmer so i will probably
take me time to reproduce this in C. Can someone first take a look at my
JAVA program to see if I am not doing anything stupid.  Should I create bug
and attach Java maven project?
Its very easy to run it, all you need is zeromq 2.2.0 installed and jzmq
built and installed by building jzmq (https://github.com/zeromq/jzmq).
I can add instructions to the bug report. Once confirmed that program
looks right I can try to create a C version of the test but will take me
some time.

let me know.


On Wed, Jan 16, 2013 at 10:55 PM, Charles Remes <lists at chuckremes.com>wrote:

> On Jan 16, 2013, at 4:08 PM, Ritesh Adval <riteshadval at gaikai.com> wrote:
> > Hi Charles,
> >
> > Yes I close the socket in my thread after sending 100 messages, and I
> expect that LINGER will make sure messages are sent to the other end, I
> expected that context termination will block and make sure any pending
> messages are sent, but thats not happening. context termination returns
> quickly.
> >
> > Just now tried again in my unit test by setting LINGER to
> Integer.MAX_VALUE explicitly in all my sockets and ran the test again and
> it did fail with messages getting dropped.
> >
> > The interesting thing is only the 100th message  (The last one) from
> some of my concurrent threads are getting dropped.
> Time to show someone the code. That's the easiest way to figure it out. If
> you can reproduce this in C, that will get a lot more attention.
> Here's how to open an issue:
> http://www.zeromq.org/docs:issue-tracking
> cr
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130116/e48c1845/attachment.htm>

More information about the zeromq-dev mailing list