[zeromq-dev] I cannot explain why zloop gets interrupted
Michaël Melchiore
rohel01 at gmail.com
Mon Jul 29 19:14:07 CEST 2013
Hello all,
The following involves zmq and czmq latest stable releases on CentOS 6.4
x86_64
I am using a zloop to efficiently multiplex three zmq sockets. I have
noticed the zloop gets interrupted and I cannot explain why. Turning
verbose mode on, I get the following trace:
[bin at centos6]>melchiore ./test_proxy_server.out
13-07-29 19:02:17 I: zloop: register REP poller (0x7febf0000900, 0)
13-07-29 19:02:17 I: zloop: register PULL poller (0x7febf0000f90, 0)
13-07-29 19:02:17 I: zloop: register PAIR poller (0xe02310, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
13-07-29 19:02:17 I: zloop: call REP socket handler (0x7febf0000900, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
13-07-29 19:02:17 I: zloop: call PULL socket handler (0x7febf0000f90, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
13-07-29 19:02:17 I: zloop: call PAIR socket handler (0xe02310, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
13-07-29 19:02:17 I: zloop: call PULL socket handler (0x7febf0000f90, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
13-07-29 19:02:17 I: zloop: call PAIR socket handler (0xe02310, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
13-07-29 19:02:17 I: zloop: call PAIR socket handler (0xe02310, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
13-07-29 19:02:17 I: zloop: call PULL socket handler (0x7febf0000f90, 0)
13-07-29 19:02:17 I: zloop: polling for 3600000 msec
*13-07-29 19:02:17 I: zloop: interrupted (-1) - Unknown error 156384765*
So, I set up my own signal handler with the zsys module, but it does not
get called during execution. I am a bit lost as to where I should
investigate next...
Pointers welcome !
Regards,
Michaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130729/514646b9/attachment.htm>
More information about the zeromq-dev
mailing list