On May 1, 4:25 pm, JY35 <
jysui...@gmail.com> wrote:
> Oupsssss !
>
> Thanks for your help, it was simply a path problem : the good one
> should be path: /var/www/nginx-default/rorprotrack
> Now it works for a little useless app. I've tried to set it for
> another one, but switchpipe kill and restart indefinitely the thin
> process.
If SwitchPipe's doing that, then either the app is not responding
within a certain number of seconds, and SwitchPipe is then forcing a
restart (I think this is in the settings) OR the app is simply not
responding or SwitchPipe cannot connect to it. I have not come across
a Rails application, at least, that takes more than 5 or 6 seconds to
start, but your situation may vary.
> I'll have to look futher deep before asking for some help.
>
> Just a question, is it stupid to imagine to use switchpipe for
> launching php-cgi process ?
I am not particularly familiar with PHP in its CGI mode, but I can't
see why not as long as you can start it from the command line in the
way SwitchPipe expects. Apache with mod_php is, of course, the far
easier option for PHP ;-)
Pete