logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: FastCGI process still did not exit, terminating forcef
Author
Otomatic



Joined: 01 Sep 2011
Posts: 256
Location: Paris, France, EU

PostPosted: Sat 10 May '25 17:57    Post subject: FastCGI process still did not exit, terminating forcef Reply with quote

Hi,

After using FCGI mode, when the Apache service is stopped, the following errors appear in apache_error.log:
Code:

[fcgid:error] [pid 20896] FastCGI process 18312 still did not exit, terminating forcefully
[fcgid:error] [pid 20896] FastCGI process 17620 still did not exit, terminating forcefully
[fcgid:error] [pid 20896] FastCGI process 15144 still did not exit, terminating forcefully

In itself, this isn't critical as it only happens when Apache is stopped, but my past as Principal Quality Controller would like to know what to do to avoid these errors.

- FCGI parameters :
Code:
<IfModule fcgid_module>
  FcgidMaxProcessesPerClass 300
  FcgidConnectTimeout 10
  FcgidProcessLifeTime 1800
  FcgidMaxRequestsPerProcess 0
  FcgidMinProcessesPerClass 0
  FcgidFixPathinfo 0
  FcgidZombieScanInterval 20
  FcgidMaxRequestLen 536870912
  FcgidBusyTimeout 120
  FcgidIOTimeout 120
  FcgidTimeScore 3
  FcgidPassHeader Authorization
  Define PHPROOT ${INSTALL_DIR}/bin/php/php
</IfModule>

- Example of a VirtualHost in FCGI mode :
Code:
<VirtualHost *:80>
  ServerName mes-photos
  DocumentRoot "g:/www/phottello"
  <Directory  "g:/www/phottello/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
  </Directory>
  <IfModule fcgid_module>
    Define FCGIPHPVERSION "8.3.21"
    FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION}
    <Files ~ "\.php$">
      Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
      AddHandler fcgid-script .php
      FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
    </Files>
  </IfModule>
</VirtualHost>
Back to top
mrdj1024



Joined: 03 Apr 2023
Posts: 59
Location: Bridgeton,NJ,USA

PostPosted: Sat 10 May '25 23:40    Post subject: Reply with quote

hi!
i get those errors aswell,i just ignore them,i do wonder what causes them though,running php 8.3.21
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7405
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 12 May '25 12:26    Post subject: Reply with quote

I had those errors with the NTS version. After switching to TS version I had almost none.
Back to top
Otomatic



Joined: 01 Sep 2011
Posts: 256
Location: Paris, France, EU

PostPosted: Wed 14 May '25 8:37    Post subject: Reply with quote

Hi,

All the PHP versions used are TS versions.

As I've already written, this is of no consequence as it only happens when Apache is stopped...
Back to top


Reply to topic   Topic: FastCGI process still did not exit, terminating forcef View previous topic :: View next topic
Post new topic   Forum Index -> Apache