[zeromq-dev] ROUTER and INPROC question

Rob falcone.rob at gmail.com
Wed Oct 5 19:43:03 CEST 2011


Pieter Hintjens <ph <at> imatix.com> writes:

> 
> Hi Robert,
> 
> Sorry for the slow answer.
> 
> Can you provide a minimal example where it does not work? I.e. one
> ROUTER to one DEALER, one message sent and not received...
> 
> Thanks
> 
> -Pieter
> 
> On Mon, Oct 3, 2011 at 8:22 PM, Robert Falcone <falcone.rob <at> gmail.com> 
wrote:
> > I am currently running an application with ZeroMQ 2.1.7 on Windows.
> > I have a fairly simple implementation with a ROUTER and several DEALERS.
> > Each DEALER runs in a thread and sends/receives messages from the ROUTER.
> > Since the DEALERS are all in the same process I recently switched from a tcp
> > connection to inproc connection.
> > I noticed messages from one the DEALERS were not being delivered to the
> > ROUTER.
> > The DEALER thread was receiving messages from the ROUTER fine.
> > I stepped thru and the DEALER thread and it had no error on the send call.
> > For now I have switched back to tcp connections, so far no problems.
> > I am not sure if the problem is the inproc connection or something else.
> > Any ideas on how to proceed to isolate the problem would be appreciated.
> > Thanks in advance.
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev <at> lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> >
> 


The problem does not appear to be limited to the INPROC connections, I switched 
back to TCP connections and noticed the same problem.


The ROUTER continues to work. It receives messages from 4 out of 5 DEALERS. 
When the application starts all 5 DEALERS work fine. 

It appears that one DEALERS messages stop getting delivered to the ROUTER. I 
have debugged the one troubled DEALER and it gets no error on the send. The 
ROUTERS poll thread is running continues to get messages from 4 DEALERS. 

I do a netstat and the TCP connection still exists.

Also, the router is successfully sending messages to the troubled DEALER.







More information about the zeromq-dev mailing list