-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Op 14-11-11 03:41, [email protected] schreef: > 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).
15 here means: 15 users can concurrently use PHP. So if 15 users use a heavy search function on your site. The 16th has to wait and might get a timeout. php-fpm can 'theoretically' scale the amount of children dynamically, but can't get you the magic memory for it. And with PHP you will need memory. It is also possible that your php script is just to slow (for example takes longer than 15 seconds to compute). This will also result it issues. This is another timeout, you can find it in the FastCGI handler setting go to Tab Restrictions. You might increase that, but keep it below the network timeout. (Found in General: Timout) > Is this a correct way to migrate to php-fpm? No clue, but it looks ok. Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEAREKAAYFAk7Ag4wACgkQYH1+F2Rqwn30+QCffVWpe4uOTS4WWh6iH+Ws5QCU 3rEAn2/Lhtuff1c9nkhzXpS/QEGMQWfB =2KNE -----END PGP SIGNATURE----- _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
