#196 ✓invalid
Josh

Cruise hangs when very large artifacts requested

Reported by Josh | June 9th, 2008 @ 03:54 PM

I have a cruise build that generates a 650 MB iso file as an artifact. When you click the link to download it, the cpu on the server goes to 100% and nothing happens. Eventually you have to kill cruise to get any system resources.

Not sure if this is a cruise issue or something in webrick.

Comments and changes to this ticket

  • Michael Schubert

    Michael Schubert June 9th, 2008 @ 08:35 PM

    This is probably due to having webrick/mongrel/whatever try to serve up the artifact. Without knowing to send it as a file download this will continue to happen, I have an outstanding task to use smarter mimetype detection but things that should be downloaded like this would need to be exceptions.

    For now your best bet is to put apache in front of CC.rb and use mod_rewrite to have apache serve up such build artifacts.

  • Michael Schubert

    Michael Schubert June 15th, 2008 @ 08:14 AM

    • State changed from “new” to “invalid”

    you either can run cruise as a cluster of mongrels or use mod_rewrite and apache to serve them. The latter would be better.

    Even if we changed it to serve such things as iso's as downloads, you'd still be locking the single cruise mongrel up serving it.

  • Josh

    Josh June 15th, 2008 @ 09:49 AM

    Thanks for the followup. I took your apache advice. BTW, does cruise run on mod rails? http://www.modrails.com/

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages