Reputation: 953
I have app that is hosted with phusion passanger. App seems to work just fine for me, but sometimes it just shutdowns. Recently I created Cron task that acceses root page each minute so the Passanger wouldn't go to sleep.
It seems to do the work. Spawn time are just litle.
When app shutdowns I tried theese comands suggested by Google search.
touch tmp/restart.txt
no output no change
passenger-config restart-app /darbs
Output: ERROR: Phusion Passenger doesn't seem to be running.*
App log files doesn't show any error.
Upvotes: 1
Views: 2892
Reputation: 18944
Maybe the Passenger temp directory is being removed by your OS, causing a malfunction. Try setting PassengerTempDir to a different place: http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerTempDir
Upvotes: 2