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@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
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to