# Dreamhost deployment questions

**URL:** <https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833>\
**Category:** Deployment\
**Created:** [October 21, 2007, 6:00am UTC](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833 "2007-10-21T06:00:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [October 21, 2007, 6:00am UTC](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833/1 "2007-10-21T06:00:08Z")

</div>

Hi,

I currently host a couple apps with HostingRails, and this has generally  
been okay–after a few bumps. I’ve been trying to help my brother get  
his app together on Dreamhost and have run into some quirks I’d love to  
have elucidated.

There seems to be an indeterminate lag between when the source code is  
changed (svn update) and when (or if) the changes are reflected in the  
app. It seems changing a view has an immediate effect, while changes to  
controllers don’t seem to take effect for quite while (or at all).  
This last change I’ve put in has not taken effect and it’s now been over  
three hours.

My questions are these:

1. wtf?
2. I assume that there is some job that restarts the server or some such  
thing. Do es anyone know about this or where I could read about this?  
There wiki is abysmal.

It would be great is Dreamhost got their rails act together a little  
better, as it would be a very inexpensive option for hosting  
demonstration projects, etc. But right now, I’m uncomfortable with  
them. I’d be interested to hear if Dreamhost is worth putting time and  
energy into.

Any thoughts?  
EB

---

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [October 21, 2007, 6:06am UTC](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833/2 "2007-10-21T06:06:56Z")

</div>

pkill -9 dispatch.fcgi

On 10/21/07, Elliott B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ## changed (svn update) and when (or if) the changes are reflected in the 2. I assume that there is some job that restarts the server or some such EB
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Jeff X.  
Software Journeyman - [http://gigix.thoughtworkers.org](http://gigix.thoughtworkers.org)  
Open Source Contributor - [http://rubyworks.rubyforge.org](http://rubyworks.rubyforge.org)  
Technical Evangelist - [http://www.infoq.com/cn/](http://www.infoq.com/cn/)

---

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [October 21, 2007, 6:12am UTC](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833/3 "2007-10-21T06:12:58Z")

</div>

Hi Jeff,

Thanks for your swift reply.

If I kill this dispatch.fcgi, the updated controllers will be reloaded?

I’ll try this.

Thanks,  
EB

Jeff X. wrote:

> pkill -9 dispatch.fcgi
> 
> On 10/21/07, Elliott B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > ## changed (svn update) and when (or if) the changes are reflected in the 2. I assume that there is some job that restarts the server or some such EB
> > 
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > >
> 
> –  
> Jeff X.  
> Software Journeyman - [http://gigix.thoughtworkers.org](http://gigix.thoughtworkers.org)  
> Open Source Contributor - [http://rubyworks.rubyforge.org](http://rubyworks.rubyforge.org)  
> Technical Evangelist - [http://www.infoq.com/cn/](http://www.infoq.com/cn/)

---

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [October 23, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833/4 "2007-10-23T22:12:38Z")

</div>

That’s how Rails works in production mode. All classes are cached.  
Views,  
because they are not classes, are not cached.
