[Mongrel] problem in downloading large file with apache+mongrel

Luis Lavena luislavena at gmail.com
Wed Sep 22 11:33:54 EDT 2010

On Wed, Sep 22, 2010 at 12:01 PM, Amit Tomar <lists at ruby-forum.com> wrote:
> Processing StreamsController#download (for at 2010-09-22
> 20:22:06) [GET]
>  Parameters: {"id"=>"6600"}
>  ?[4;36;1mSQL (0.0ms)?[0m   ?[0;1mSET NAMES 'utf8'?[0m
>  ?[4;35;1mSQL (0.0ms)?[0m   ?[0mSET SQL_AUTO_IS_NULL=0?[0m
>  ?[4;36;1mStream Columns (0.0ms)?[0m   ?[0;1mSHOW FIELDS FROM
> `streams`?[0m
>  ?[4;35;1mStream Load (0.0ms)?[0m   ?[0mSELECT * FROM `streams` WHERE
> (`streams`.`id` = 6600) ?[0m
>  ?[4;36;1mCACHE (0.0ms)?[0m   ?[0;1mSELECT * FROM `streams` WHERE
> (`streams`.`id` = 6600) ?[0m
> 0) ?[0m
> Completed in 65347ms (View: 0, DB: 0) | 200 OK
> [http://src/streams/download/6600]

Rails log do not help, we need to know Apache headers, responses and
also mongrel headers sent to apache via the proxy.

Please use curl --head on mongrel to request the URL and provide the
complete output
Also do the same from apache.

Beyond that, I cannot help you more because I don't have time to
attempt replicate your environment and scenario.
Luis Lavena
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

More information about the Mongrel-users mailing list