Saturday October 30, 2010

[Time] NameMessage
[01:09] twomashi using xreq/xrep sockets without a device, do I have to do all the routing myself?
[01:09] twomashi im trying to replicate this:
[01:09] twomashi
[01:10] twomashi making a load balancing router using 2 XREP sockets
[01:22] pieterh hi twomashi
[01:22] pieterh have you read chapter 3 of the guide?
[01:22] twomashi hey
[01:22] twomashi perhaps not all of it.
[01:22] twomashi I'll do that.
[01:22] mikko hmm
[01:22] pieterh it specifically covers custom routing using XREP
[01:23] mikko epgm keeps giving Fatal: file ../foreign/openpgm/libpgm-5.0.91~dfsg/openpgm/pgm/include/impl/notify.h: line 120 (pgm_notify_init): assertion failed: (notify->pipefd[0])
[01:23] mikko on first send
[01:23] mikko start daemon, send from client -> fatal, send again -> all fine
[01:23] pieterh mikko: using master?
[01:24] mikko yep
[01:24] pieterh there have been quite a lot of changes with OpenPGM/5
[01:24] mikko ill ask steve-o as soon as hes in
[01:24] pieterh twomashi, what Brian Granger described in that email is basically the key to all 'interesting' types of custom routing
[01:25] pieterh Ch3 explains it in exhaustive detail, enjoy
[01:25] twomashi ok, will do
[01:25] twomashi thanks
[01:25] pieterh np
[01:37] mikko hmm, a lot of assertions with pgm
[01:37] pieterh mikko: you might want to retry with 2.0.10 which iirc still uses OpenPGM/2
[01:38] pieterh but I'm pretty sure if you can provide reproducible cases, Steve-o will find the causes
[01:38] mikko seems intermittent
[01:39] pieterh i suggest logging them anyhow
[01:40] pieterh we're going to do some more intensive pgm tests next week
[01:40] pieterh but the openpgm/5 integration to 0MQ is pretty new
[01:41] mikko im trying to test whether epgm would be good fit for web site session handling
[01:41] mikko write into local ipc pipe which distributes over epgm
[01:41] pieterh sounds perfect
[01:41] mikko gonna test zfl_hash soon as well
[01:42] pieterh :-) great
[01:42] pieterh you're working in C?
[01:42] mikko yes
[01:42] pieterh nice
[01:43] pieterh i'm interested in critiques of the zfl design
[01:44] mikko i was thinking about how well zfl_hash suits for in-memory storage
[01:44] mikko a couple of GB per node
[01:44] pieterh it's basically the hash container we built for OpenAMQ
[05:19] kev009 how does inproc compare to shared mem?
[07:43] sustrik mikko: probably a wrong connection string
[07:44] sustrik the second ip should a multicast group imo
[07:47] sustrik kev009_: inproc uses local memory
[07:47] sustrik it's more efficient than shared mem
[07:47] kev009 sustrik: hmm, how is that possible?
[07:48] kev009 shared memory being two threads with same address space rather than two processes with posix shm
[07:48] sustrik then it's the same :)
[07:48] sustrik i though you meant posix shmem
[07:49] kev009 in your opinion, is it easier than using pthreads mutex and reader/writer locks?
[07:52] sustrik see here:
[08:22] mikko sustrik: i eventually found that out
[08:22] mikko sustrik: still getting strange assertions
[08:30] mikko
[08:30] mikko after epgm sub socket has been blocking on a recv() for a while
[08:30] mikko seems very intermittent and can't reproduce easily
[12:17] lestrrat mikko: updated perl binding to work with ithreads
[13:09] CIA-21 zeromq2: 03Martin Sustrik 07master * rb358df9 10/ (145 files in 8 dirs):
[13:09] CIA-21 zeromq2: Name of "GNU Lesser Public License" corrected.
[13:09] CIA-21 zeromq2: Signed-off-by: Martin Sustrik <> -
[14:17] CIA-21 zeromq2: 03Martin Sustrik 07master * r3d8eb07 10/ (src/pgm_socket.cpp src/pgm_socket.hpp):
[14:17] CIA-21 zeromq2: Coding style fixed for pgm_socket
[14:17] CIA-21 zeromq2: Signed-off-by: Martin Sustrik <> -
[16:18] CIA-21 zeromq2: 03Martin Sustrik 07master * r085b709 10/ (doc/zmq_close.txt doc/zmq_term.txt):
[16:18] CIA-21 zeromq2: Documentation for zmq_close and zmq_term fixed.
[16:18] CIA-21 zeromq2: Signed-off-by: Martin Sustrik <> -
[16:28] mikko lestrrat: it builds / tests OK now
[16:29] sustrik great
[16:31] sustrik the master version doesn't seem to build for some reason
[16:31] sustrik xs/perl_zeromq.xs:484: error: too few arguments to function ‘PerlZMQ_Socket_create’
[16:33] mikko ZeroMQPerl-master_ZeroMQ2-master_GCC builds
[16:33] mikko maint build for ZeroMQ2 core is running now
[16:33] mikko so zeromq against maint will build soon
[16:33] sustrik ah
[16:33] sustrik sorry
[16:34] mikko i had to make them in steps
[16:34] mikko otherwise the queue gets a bit long
[16:34] sustrik sure, i haven't checked the timestamp on the last bit
[16:34] mikko master -> 17:00, maint -> 17:30 iirc
[16:35] sustrik and there it goes!
[16:35] sustrik nice
[16:41] mikko i can't reproduce this epgm assertion with a simple program
[16:41] mikko
[16:41] mikko those are the ones i get intermittently
[16:42] sustrik we are going to do some testing of pgm shortly so hopefully we'll get the assetion orselves
[16:45] sustrik anyway, you can report the problem to the mailing list
[16:46] sustrik maybe steve-o would be able to figure out what's going on
[18:23] daniel greetings; I've downloaded zeromq, but I can't find any instructions on how to START the service
[18:23] daniel how do I start zeromq daemon?
[18:25] daniel I've checked the manual, but the first thing it does is dive right into the code
[18:25] daniel and there isn't an admin section I can see
[18:26] daniel and the INSTALL file is missing from the distirbution
[19:04] guido_g there is no daemon
[19:05] sustrik he've quit
[19:05] guido_g thx
[19:05] guido_g just noticed it
[19:06] sustrik but he's right, INSTALL file is missing
[19:09] guido_g saying "there is notihing to start, read the fine guide!" :)
[23:20] gandhijee hey guys, i am trying to crosscompile ZeroMQ for arm-linux
[23:21] gandhijee when ever i try, i get an error -
[23:21] gandhijee any ideas?
[23:34] gandhijee ??
[23:57] gandhijee anyone even here?