Hi,
sorry for my poor English.
My program is the ROUTER model (connecting 2 DEALER programs via unix
domain socket) on linux x86_64,work with tornado ioloop.
I registered a clean function for the sigterm, and in this function i call
the ioloop.stop() ,stream.close() and context.destroy().
I found the context.destroy() call the poll system call (ioloop has been
stoped).
In most case , the poll system call return [{fd=9, revents=POLLIN}], but
sometimes always wait ,which cause the process cann't exit.
The attachment is part of the lsof and strace output.Btw, the tornado ioloop using epoll without pyzmq, but using poll with pyzmq. Thanks.
output.log
Description: Binary data
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
