Jason,

I've found that 16 limit in the code. I just don't agree with the behavior
of
closing the connection if the limit is reached. I think mongrel2 could just
stop receiving from handler if the limit is reached.

2012/10/4 Jason Miller <[email protected]>

> Hi Carlo,
>
> Starting with 1.8.0, you can only have 16 outstanding messages to a
> given client at a time, then mongrel2 closes the connection.  You ought
> to be able to connect to the control port and determine how much data
> has gone to each client to rate limit your handler though.  You can also
> up the limit on the number of outstanding messages if you want, 16 is
> completely arbitrary, but know that the data has to exist *somewhere*
> until it goes out the socket, and if it's not in your handler's RAM then
> it's in mongrel2's RAM.
>
> -Jason
>

Reply via email to