Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    May 2007
    Posts
    106

    Question FCGI best settings for optimal performance

    Since I run FCGI, can you suggest how to "tweak settings," in a way that, for example, a Xeon-based server (two four cores) with 16GB RAM would perform best?

  2. #2
    Member
    Join Date
    Feb 2011
    Posts
    36

    Default Re: FCGI best settings for optimal performance

    This is my question too, I get Error 500 when I have around 50 visitor at a same time while FCGI is selected I do not have this problem in dso, I have only one domain on My server and I have 2GHz CPU and 4GB RAM,

    I found on the web that this setting will tune the FCGI
    IdleTimeout 3600
    ProcessLifeTime 7200
    # MaxProcessCount 1000
    DefaultMinClassProcessCount 3
    DefaultMaxClassProcessCount 100
    IPCConnectTimeout 8
    IPCCommTimeout 360
    BusyTimeout 300

    But I do not know where should I set them.

    Thank you for any sort of advice

  3. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,304
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: FCGI best settings for optimal performance

    You could add the entries to /usr/local/apache/conf/php.conf file, which contains the other FCGI directives. If you edit this file, you'll have to ensure the file is not replaced during EasyApache update. You could use a script at /scripts/posteasyapache to simply replace any copy cPanel adds with your own version.

    Please note that any time you run either /usr/local/cpanel/bin/rebuild_phpconf or WHM > Apache Configuration > PHP and SuExec Configuration area, you'll be replacing php.conf file with the cPanel version.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  4. #4
    Member
    Join Date
    May 2007
    Posts
    106

    Default Re: FCGI best settings for optimal performance

    Any thoughts on optimizing for a dual quad-core Xeon 5520 with 16GB RAM?

    Peace,
    Gene

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,304
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: FCGI best settings for optimal performance

    I don't have any suggestions as I don't have sufficient expertise in larger activity machines for FCGI settings. It would be preferable to have someone who is doing FCGI hosting on an active machine respond to optimal settings for that environment.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  6. #6
    Member
    Join Date
    May 2007
    Posts
    106

    Default Re: FCGI best settings for optimal performance

    And maybe a script one could run after an EasyApache update, so the settings aren't lost.

    Peace,
    Gene

  7. #7
    Member
    Join Date
    Feb 2011
    Posts
    36

    Default Re: FCGI best settings for optimal performance

    I don't have any suggestions as I don't have sufficient expertise in larger activity machines for FCGI settings. It would be preferable to have someone who is doing FCGI hosting on an active machine respond to optimal settings for that environment.
    What do you recommend for a large website, I have VPS with 4GB RAM and 2GHz CPU but I always have cpu usage problem, I have only ONE domain on my VPS and I currently use DSO (for PHP) + Nginx (for static Contents) and found dso has better performance but i do not have FTP access because of permission problem. in addition dso behavior is something wired sometime I have 100 CPU usage with few request.

    with FCGI and SuPHP the load is extremely high, I want to know what the heavy traffic website do and which web server they choose, Perhaps I should think about LiteSpeed or Something.

  8. #8
    Member
    Join Date
    Feb 2008
    Posts
    82

    Default Re: FCGI best settings for optimal performance

    Hi

    can we add those settings like here
    http://forums.cpanel.net/f5/mod_fcgi...em-217742.html


    to Main >> Service Configuration >> Apache Configuration >> Include Editor >> Post VirtualHost Include

    so we don;t need to rewrite /usr/local/apache/conf/php.conf everytime?

  9. #9
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,304
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: FCGI best settings for optimal performance

    You could add the settings to that file if you prefer.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Optimizing Server for Optimal Use
    By rwagener11 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-11-2008, 02:28 PM
  2. Optimal apache 2 config High traffic site.
    By webcloaker in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-14-2008, 07:40 AM
  3. Optimal number of MYSQLD instances?
    By ClearSky in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-28-2007, 02:54 PM
  4. Optimal users number
    By nmotika in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-16-2004, 06:49 AM
  5. OPtimal Apache Build?
    By Miso in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-21-2003, 11:40 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube