[zeromq-dev] PUSH does not seem to release PULL connection message memory

Marc Norton mnorton at clicksecurity.com
Mon Nov 10 18:01:27 CET 2014


Yep, my bad, I thought I did.  Sorry for the terse message before - I guess
I hit return to quick.  Here is the whole story.

--I have a simple PUSH socket that writes continuously to whomever is
connected.

--My PULL socket program just reads the events, and introduces a delay
 using usleep() to help
  cause ZMQ queuing to happen.

--If I kill off the PULL program, and re-start it, the RES memory just
keeps on growing, and never goes down.

I expected that the RES memory would stabilize .... Perhaps I don't
understand something basic here - hence the question.  Note that if I
comment out the usleep() call in pull.c  the memory does not grow.

marc


On Mon, Nov 10, 2014 at 8:20 AM, Bob Clarke <optionguy71 at gmail.com> wrote:

> Marc: I have not seen any reply to this. Do you have a simple test program
> to verify the leak?
>
> Bob
>
> On Thu, Nov 6, 2014 at 2:03 PM, Marc Norton <mnorton at clicksecurity.com>
> wrote:
>
>> ZMQ Version 4.0.4/Unbuntu 12.04
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
> _______________________________________________
> 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/20141110/184ef895/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pull.c
Type: text/x-csrc
Size: 2644 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141110/184ef895/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: push.c
Type: text/x-csrc
Size: 2755 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141110/184ef895/attachment-0001.c>


More information about the zeromq-dev mailing list