On Tue, Mar 24, 2015 at 10:59 PM, Eric Wong <[email protected]> wrote: > Another likely explanation might be you're not draining rack.input every > request, since unicorn does lazy reads off the socket to prevent > rejected uploads from wasting disk I/O[1] > > So you can send a bigger POST request with my example to maybe > reproduce the issue. > > [1] you can use the Unicorn::PrereadInput middleware to forcibly > disable the lazy read: > http://unicorn.bogomips.org/Unicorn/PrereadInput.html
Actually, these are quite large POST requests we're attempting to service (on the order of 4MB). Can you elaborate on the mechanism in play here? Thanks, --Michael
