"Read error: #<IOError: closed stream>" and uploads

Alexey Bondar alexey.bondar at gmail.com
Sun Jan 23 16:28:51 EST 2011


Hi. 

Unicorn 3.3.1 fails with "Read error: #<IOError: closed stream>" on request with attachments bigger than ~150kb. 

Ruby: 1.9.2-p0
Rails: 3.0.1

Full stack trace: http://pastie.org/private/w1vwhbhdm9xtwwnpqog6wa
Configuration: http://pastie.org/private/hdpiqs0d3xj3qmsjwg

I use nginx 0.8.x as frontend server. Nginx client_body_buffer_size is 128mb.

Any ides why this happens?


More information about the mongrel-unicorn mailing list