[Brug-talk] rails deployment issues with Dreamhost

Mesut Celik mesut.celik at gmail.com
Fri Nov 30 19:41:36 EST 2007


thx to all for great assitance...

i managed to solve the problem. After carefully reading dreamhost wiki some
problems disappeared but there were still gem spesific issues. With some
googling these were also resolved.

what i did is that i installed every gem to my local path.
vendorizing was good option but i would be happy to see shared gems between
applications....

installing ruby customly to my account wasnt a good option because i didnt
need that much flexiblity.

with regards to hosting, i am happy with DH so far because i havent done
anything changing the world yet ;)
while having experience with more production issues then probably i will
knock out the door of a professional rails hoster...

nice weekend
mesut

2007/11/27, Peter De Berdt (10-forward) <peter at 10-forward.be>:
>
>
> On 27 Nov 2007, at 12:38, Arne Brasseur wrote:
>
> You should also be aware that Dreamhost will kill any FastCGI processes
> that use more than a certain amount of memory. Any users that were being
> served at that time will get a "Server 500" error. Some people have come up
> with solutions, take a look at this:
>
> http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2
>
> And keep if possible the memory footprint of your apps small. Also make a
> seperate user account for every app. The memory usage is counted per user.
>
> Personally I'm a bit disappointed in DH. They should give better Ruby
> support considering they use it as a selling point.
>
>
> Same goes for most other cheap shared hosting solutions, like a2hosting
> etc. Also, they claim to offer you mongrel deployment, which in itself isn't
> really a lie, but it means they'll give you one single mongrel to serve your
> rails app on using a simple ProxyPass and ProxyPassReverse directive in the
> Apache configuration. Cheap hosting is all about making the most noise of
> how many features their hosting servers have, but in reality, it's a lot of
> noise for a very flaky service (and it gets a lot worse if you want support
> for your rails deployment).
>
> Example of what might happen: we tried running a fairly simple Rails app
> (simple website) on both DH and a2hosting (customer insisted on this cheap
> solution), but it used RMagick to do some thumbnailing. Both hosting
> companies killed the rails process as soon as RMagick kicked in from the
> acts_as_attachment plugin, attachment_fu didn't exist at that time (while
> they clearly stated i could use rmagick in our presales questionnaire). We
> then hacked acts_as_attachment to use minimagick instead, which did seem to
> keep up the site, but then the server started failing on a daily basis
> because of "DDoS attacks" their Indian based support company will use as an
> excuse whenever something goes wrong on the server. On top of that, a server
> restart didn't restart the mongrel automatically at a2hosting.
>
> You're simply better off looking for a decent Rails hosting company like
> openminds in belgium or some of the others regularly mentioned on the rails
> mailing list and cough up the few extra € a month, keeping your sanity is
> worth the higher price. Or even better, learn the basics of linux and get a
> vps if you can afford it.
>
> Best regards.
>
>
> Peter De Berdt
> Research & Development
> Software Expert
>
> ______________________
> *10-forward*
> Zwarteweg 28
> B-8433  Middelkerke
> Mobile : (0473) 38 35 86
> info at 10-forward.be
> http://www.10-forward.be
> ______________________
>
>
>
>
> _______________________________________________
> Brug-talk mailing list
> Brug-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/brug-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/brug-talk/attachments/20071201/ec31b5c5/attachment-0001.html 


More information about the Brug-talk mailing list