[zeromq-dev] Memory leak help

Gregory Taylor gtaylor at gc-taylor.com
Mon Apr 23 07:06:56 CEST 2012


It looks like I'm getting stuck in this loop:

https://github.com/dliverman/eve-market-ping-map/blob/master/ws_server.py#L163

When the use closes the page, the subscriber socket never closes. Each
greenlet gets stuck in the infinite loop.

It seems like I need a way to poll with each loop iteration, but not
block. like this is currently doing:

system_id = subscriber.recv()

Any ideas?

Greg



More information about the zeromq-dev mailing list