#1  
Old 15th December 2011, 20:33
mejason69 mejason69 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default FastCGI spawing with NGiNX

Been dabbling with Joomla and followed this guide from how to forge to get my hands dirty. http://www.howtoforge.com/running-jo...e-ubuntu-11.10

Was hoping that someone can help me out with setting up FastCGI spawning. The how to forge article seems to spawn a single instance of FastCGI at boot time. This concerned me since NGiNX can spawn multiple workers depending on what you set in the conf and you may end up with a bottleneck under load if you have a single FastCGI process handling all the requests from those workers. After doing some digging I found the following (http://wiki.nginx.org/PHPFcgiExample). The code is more complex but appears to spawn FastCGI as needed up to the limit that I set.

Can someone point me as to the "correct" way to do this, I am leaning toward the NGiNX wiki.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 16th December 2011, 12:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

You don't use PHP-FPM, right?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th December 2011, 19:05
mejason69 mejason69 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Checked and package not installed.....


Quote:
Originally Posted by falko View Post
You don't use PHP-FPM, right?
Reply With Quote
  #4  
Old 17th December 2011, 18:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Do you use Debian or Ubuntu? For recent Ubuntu versions, there's a PHP-FPM package, while there isn't for Debian Squeeze.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th December 2011, 18:16
mejason69 mejason69 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

After your previous post I started to look into php5-fpm and found this and this. I think I am going to try adding the dotdeb repo for squeeze and use their packages for nginx and php5-fpm in a test vm and see how it goes. If that seems flaky then I am going to try the solution from the nginx forums that somehow seems like the next best solution.

Thanks for your input....
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nginx doesn´t restart after installation of ISPConfig 3 cyprus Installation/Configuration 2 6th November 2011 19:48
A Working Nginx Catchall with ISPConfig 3. renders Tips/Tricks/Mods 4 15th April 2011 22:53
SSL Problem vlados Installation/Configuration 8 31st January 2011 14:06
Nginx and PHP and Fastcgi Paladinemishakal Installation/Configuration 1 4th January 2011 14:45
Nginx on Fedora 11 Nammut HOWTO-Related Questions 1 3rd October 2009 17:35


All times are GMT +2. The time now is 16:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.