Hi and big thanks! :)

I have increased Spawning timeout to 10 already and have set
PHP_FCGI_CHILDREN to 15 (and fyi - before migrating to php-fpm I am
still am getting 504 on the Cherokee admin pages -- I am on a Linode
w/ 512 RAM).

Below is how I understand to migrate to php-fpm, please comment.

On Sun, 13 Nov 2011 20:49:03 +0100
Stefan de Konink <[email protected]> wrote:

> Op 13-11-11 20:29, [email protected] schreef:
> > Is this a result of misconfiguration of php or cherokee or
> > insufficient server resources?
> 
> Most likely to few CHILDREN processes, you could also migrate to
> php-fpm.

I appreciate the guidance, thank you Stefan.

I would like to migrate to php-fpm as you suggest.

I think this is the way to migrate. Please advise if correct/incorrect.

Tips garnished from Daniel Lo Nigro here:

http://lists.octality.com/pipermail/cherokee/2011-November/015200.html

On Debian Squeeze:

apt-get install php-fpm

Once installed run:

/etc/init.d/php5-fpm start

"get Cherokee to use its port (which is port 9000 by default)."

This part I do not know where to edit the config.

"Set the "interpreter" in the Cherokee configuration to "false" as it's
no longer needed (php-fpm handles the spawning)."

Set the Interpreter field to empty? i.e. remove:

/usr/bin/php-cgi -b 127.0.0.1:47990

After making the correct changes above, Graceful restart and done?

Is this a correct way to migrate to php-fpm?

Thank you all kindly, again.   --Hans

> Stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.18 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEAREKAAYFAk7AHy8ACgkQYH1+F2Rqwn0+4gCfUWHUzIjzEEA9vz11jTH9VgUy
> PAUAnjEasm9YeSLKRQnbebSTtTzqQBOH
> =Qofi
> -----END PGP SIGNATURE-----
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to