ilaurens

Active Member
Jul 13, 2013
28
0
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:
[email protected] [~]# 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
 

24x7ss

Well-Known Member
Sep 30, 2014
272
17
68
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.
 

ilaurens

Active Member
Jul 13, 2013
28
0
1
cPanel Access Level
Root Administrator
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.
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...)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Have you enabled FCGI via EasyApache and enabled it via "WHM Home » Service Configuration » Configure PHP and suEXEC"?

Thank you.