The memory of the SUB process goes up.
If I remove the getline() call and the SUB process keeps up, the RAM
stays still for both. Those programs compile with gcc pretty easily, if
you feel like trying it out. Maybe my Ubuntu is just messed up.
I assume since its CONFLATE is on, maybe the PUB
When you say “the system memory skyrockets” are you talking about the memory
used by the SUB process or PUB process?
I would expect the memory of the PUB process to increase as it will be queueing
messages.
> On 20 Jun 2018, at 21:02, Kevin Wang wrote:
>
> the system memory skyrockets,
__
Hi,
I am trying to use CONFLATE on a sub socket, and noticed that if the
messages are not "popped" off as they come, the memory of the program
keeps increasing.
Here is a basic example:
PUB:
#include
int main(){
zsock_t *pub = zsock_new(ZMQ_PUB);
zsock_bind(pub, "%s"
OK I think I finally get the ZMQ_PAIR concept.
From Wikipedia:
Monogamy is a form of relationship in which an individual has only one partner
during their lifetime — alternately, only one partner at any one time (serial
monogamy)
A ZMQ_PAIR concept is *monogamy*
I originally thought it was *s
As I mentioned, only one pipe is accepted at any given time. Just
because externally it seems like the connection has dropped, it doesn't
mean the TCP socket is gone yet and thus the pipe will still be there,
and further connection will be refused.
Your best bet is to try and use the heartbeat opt
Yes it does work over TCP and it does attempt to reconnect when you restart the
bind end.
In the background the zmq::tcp_connector attempts to make the reconnection. It
does all the right things and ends up in zmq::tcp_connecter_t::out_event and
calls the last line _socket->event_connected (_en
Some of you may recognize my email from some emails to the list, GitHub issues
and pull requests. I'm leading a project to implement a middleware solution
based on ZeroMQ at my employer: a large-ish (~1,000 employees) global provider
of software and services to the financial community.
I'm
Hi,
is there a community-endorsed channel (i.e. site, mailing list, ) where
people, who need zeromq work done or their problems solved by a skilled
member of the community, could post a description etc... and vice versa,
where the community contractors could offer their services?
I am not awa