> Do you meant that that fact of zeromq never stop sending the memory will > fill?
yes, more or less > > Then I think that I must to find a way to check this condition (16 limit > reached) > from the control port. Is there a way to do it? > i am working on that both for uWSGI and blastbeat, i am trying various solutions, currently the one giving better result is using a token bucket on the handler with a fixed limit (based on mongrel2 limit). It is a bit complex (from a non-low level developer pov) but the other solutions requires more logic (like using gevent.sleep in a python handler to slowdown sending) The token bucket code is explained here: https://github.com/unbit/blastbeat/blob/master/src/writequeue.c (here is used a bandwidth limiter, but the concept is the same) -- Roberto De Ioris http://unbit.it
