Hello I was wondering what is good to add on the Apache include editor about fcgid and i found two options: Option 1: <IfModule mod_fcgid.c> MaxRequestsPerProcess 500 MaxProcessCount 15 DefaultMaxClassProcessCount 15 DefaultMinClassProcessCount 0 IPCConnectTimeout 60 IPCCommTimeout 60 PHP_Fix_Pathinfo_Enable 1 IdleTimeout 300 IdleScanInterval 30 BusyTimeout 120 BusyScanInterval 90 ErrorScanInterval 3 ZombieScanInterval 3 ProcessLifeTime 3600 </IfModule> Option 2: <IfModule mod_fcgid.c> FcgidProcessLifeTime 8200 FcgidIOTimeout 8200 FcgidConnectTimeout 400 </IfModule> Or is it better to use a mix of them and what to keep? Thank you
If you make the timeout values higher you wont receive timeouts from your webserver at all but this can increase the load on the server, so you can try the mixed, check the following it has explanations for each statement, this will help you decide. <IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi IPCConnectTimeout 20 # IdleTimeout n (300 seconds) # An idle fastcgi application will be terminated after IdleTimeout seconds. IdleTimeout 900 # IdleScanInterval n (120 seconds) # The scan interval for idle fastcgi applications. IdleScanInterval 120 # BusyTimeout n (300 seconds) # A fastcgi application will be terminated if handing a single request # longer than busy timeout. BusyTimeout 300 # BusyScanInterval n (120 seconds) # The scan interval for busy timeout fastcgi applications. BusyScanInterval 120 # ErrorScanInterval n (3 seconds) # The scan interval for exit pending fastcgi applications. fastcgi # applications will be terminated within this scanning. ErrorScanInterval 9 # ZombieScanInterval n (3 seconds) # The scan interval for zombie process. ZombieScanInterval 9 # ProcessLifeTime n (3600 seconds) # A fastcgi application will be terminated if lifetime expired, # even no error is detected. ProcessLifeTime 3600 # MaxProcessCount n (1000) # The max count of total fastcgi process count. MaxProcessCount 15 # DefaultMaxClassProcessCount n (100) # The maximum number of fastcgi application instances allowed to run for # particular one fastcgi application. DefaultMaxClassProcessCount 8 # DefaultMinClassProcessCount n (3) # The minimum number of fastcgi application instances for any one fastcgi # application. # Idle fastcgi will not be killed if their count is less than n # Set this to 0, and tweak IdleTimeout DefaultMinClassProcessCount 6 </IfModule> Code (markup):