The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FCGI Invalid command?

Discussion in 'Workarounds and Optimization' started by ilaurens, Nov 26, 2014.

  1. ilaurens

    ilaurens Active Member

    Joined:
    Jul 13, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hallo,

    At the moment I decided to Tweak my FCGI server with the following settings:

    Code:
    FcgidMinProcessesPerClass 0
    FcgidMaxProcessesPerClass 25
    FcgidMaxProcesses 2400
    FcgidIdleTimeout 120
    FcgidProcessLifeTime 240
    FcgidIdleScanInterval 60
    
    MaxRequestsPerProcess 30000
    ZombieScanInterval 6
    
    MaxRequestLen 20468982
    
    I'm doing this in a include editor @post virtualhost global

    I'm receiving this error:
    Code:
    Configuration problem detected on line 1 of file /usr/local/apache/conf/includes/post_virtualhost_global.conf.tmp:	Invalid command 'FcgidMaxProcesses', perhaps misspelled or defined by a module not included in the server 
    I tried it also like this:
    Code:
    MinProcessesPerClass 0
    Loaded modules:
    Code:
    root@pluto [~]# httpd -M
    Loaded Modules:
     core_module (static)
     authn_file_module (static)
     authn_core_module (static)
     authz_host_module (static)
     authz_groupfile_module (static)
     authz_user_module (static)
     authz_core_module (static)
     access_compat_module (static)
     auth_basic_module (static)
     cache_module (static)
     cache_disk_module (static)
     socache_shmcb_module (static)
     socache_dbm_module (static)
     so_module (static)
     include_module (static)
     filter_module (static)
     deflate_module (static)
     http_module (static)
     mime_module (static)
     log_config_module (static)
     logio_module (static)
     env_module (static)
     mime_magic_module (static)
     expires_module (static)
     headers_module (static)
     unique_id_module (static)
     setenvif_module (static)
     version_module (static)
     proxy_module (static)
     proxy_connect_module (static)
     proxy_http_module (static)
     slotmem_shm_module (static)
     ssl_module (static)
     mpm_worker_module (static)
     unixd_module (static)
     status_module (static)
     autoindex_module (static)
     asis_module (static)
     info_module (static)
     suexec_module (static)
     cgi_module (static)
     negotiation_module (static)
     dir_module (static)
     actions_module (static)
     userdir_module (static)
     alias_module (static)
     rewrite_module (static)
     bwlimited_module (shared)
     fcgid_module (shared)
     security2_module (shared)
    
    Any idea what could be wrong? I'm using Apache 2.4 and PHP 5.5
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    As per the error it clearly shows that issue is with "FcgidMaxProcesses 2400" and as per your installed module fcgid max process module is not installed on the server because of that it is giving error.
     
  3. ilaurens

    ilaurens Active Member

    Joined:
    Jul 13, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    None of them works. Even if I remove the so called rotten apples.

    It's basic optimalization so, I do not see a reason why it could not work. My last setup before I reinstalled the OS worked fine the same configs of that website(values might be different though...)
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page