AllExperts > Perl & CGI 
Search      
Perl & CGI
Volunteer
Answers to thousands of questions
 Home · More Perl & CGI Questions · Answer Library  · Encyclopedia ·
More Perl & CGI Answers
Question Library

Ask a question about Perl & CGI
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Michael Kroher
Expertise
I can help with questions regarding module installation, regular expressions, CGI, web development, server administration, etc.

Experience
I have built my own framework using HTTP::Engine. I have also wrote many scripts to automate system administration tasks. Before using HTTP::Engine, I used CGI.pm as a solution for web applications. I also have experience with a vast array of CPAN modules.

Education/Credentials
I am self taught.

 
   

You are here:  Experts > Computing/Technology > Perl/PHP > Perl & CGI > Help on FAST CGI settings

Perl & CGI - Help on FAST CGI settings


Expert: Michael Kroher - 10/25/2009

Question
Dear Michael
Can you help me to adopt the correct optimum settings for fast cgi? Our site runs on IIS6, PHP & Mysql. Following are the current settings in my fcgiext.ini file

[Types]
php=PHP
[PHP]
ExePath=C:\PHP\php-cgi.exe
InstanceMaxRequests=10000
ActivityTimeout=300
RequestTimeout=300
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10009,PHPRC:C:\PHP\

The average number of visitors per day will not be more than 300. But at peak hours the traffic may go up to 15 to 20 visitors per minute.
Normally the site loads pretty fast. But after about an idle time of 10 or 15 minutes, it takes some time to load.
Whether I should set the –IdleTimeout- setting for a longer period like 15 or 20 minutes?
Kindly advice on correct settings for InstanceMaxRequests, RequestTimeout, php_fcgi_max_request and other settings also.

Regards
Thomas


Answer
Hello,

I'm not familiar with a Windows environment, but I will say that 15 to 20 visitors a minute is not much of a load at all.  I don't believe it's a problem that can be fixed with your config file, I think something else is going on.  Do you have access to "apache benchmark"?

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.