<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On 27 Nov 2007, at 12:38, Arne Brasseur wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">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:<br><br><a class="moz-txt-link-freetext" href="http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2">http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2</a><br><br>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.<br><br>Personally I'm a bit disappointed in DH. They should give better Ruby support considering they use it as a selling point.</span></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">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).</span></div><div><br class="webkit-block-placeholder"></div><div>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.</div><div><br class="webkit-block-placeholder"></div><div>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.</div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br class="khtml-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Best regards.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Peter De Berdt</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Research &amp; Development</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Software Expert</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><b style="font-weight: bold; "><span class="Apple-style-span" style="font-weight: bold; ">10-forward</span></b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Zwarteweg 28</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">B-8433  Middelkerke<span class="Apple-converted-tab">  </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Mobile : (0473) 38 35 86</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:info@10-forward.be">info@10-forward.be</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://www.10-forward.be">http://www.10-forward.be</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br></body></html>