[zeromq-dev] Delayed message reception problem.
Pieter Hintjens
ph at imatix.com
Mon Apr 15 20:59:09 CEST 2013
On Mon, Apr 15, 2013 at 7:25 PM, Divya Mohan <divya.mohan310 at gmail.com> wrote:
> Test ran for more than 48hrs.
> NOTE: Message delay will be seen only after running the test for a couple
> of hours. (in my case after 10 hrs)
Thanks for the test code.
Is there a particular reason you're using multiple threads in the
receiver? Also, why are you creating a pub socket there?
I'd advise you to strip down the receiver further.
Then, if the delay only hits after 10 hours (did you tell us this
before? It's crucial information), it's probably due to a resource
issue of some kind. Very hard to reproduce that without your actual
set-up. Can you do some kind of system monitoring to ensure that (a)
there's no memory leak and (b) there's no other process taking up CPU
at that moment?
Thanks
Pieter
More information about the zeromq-dev
mailing list