Capistrano & Dreamhost
I’ve been having the problem on dreamhost whereby I capistrano up my app, the fcgi processes restart ok, but then the changes don’t seem to have taken effect. Even with multiple reapings it wouldn’t pick up the new version. Very frustrating.
At first I thought it was some sort of caching issue, but then I worked out that if I kill all the dispatchers then the new one that spawns picks up the new version. My knowledge of this stuff is all too superficial!
- Should there normally only ever be one dispatch.fcgi process running?
- When there are zombie dispatchers, does a random one get used for each request? (It seems so.)
- Why doesn’t the reaper make the process pick up the new version?
