[zeromq-dev] PUB/SUB socket result in server's crash

Martin Sustrik sustrik at 250bpm.com
Thu Jul 21 11:35:08 CEST 2011

On 07/21/2011 11:23 AM, yy l wrote:
> First, thank you very much!
> As you said, "test" code is almost commented out. But that is exactly
> what I confused. My server doesn't send any data but only bind the
> socket. However, it's memory still grows continunously.

It's hard to diagnose it offline. My guess would be that clinet 
reconnects continously and connection gets rejected by the server.

One diagnostic would be to check the network traffic (say via wireshark) 
and find out following:

1. Is connection being created?
2. Is it being dropped?
3. Does 1 & 2 happen in an infinite cycle?
4. Which party shuts down the connection, client or server?


More information about the zeromq-dev mailing list