I have a Router/Dealer setup which is polling on a PULL socket to listen
for jobs. It forks 10 Dealer/Worker processes. When I run it with the
script below it will use about 20% cpu after about 5 min and then about a
minute later use 100% cpu on a ubuntu 16.04 setup. This is all while idle.
I'm not sure of the root cause.

Controller
https://gist.github.com/mazz/f50affc65bbf04a6140e257354b16898

Worker
https://gist.github.com/mazz/34ba3d98296bf5d013037b6ad48b6cb6

import sys
from pushpull.models import homedirs

sys.path[0:0] = homedirs
import actors.controller

if __name__ == '__main__':
    sys.exit(actors.controller.run())
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to