https://bz.apache.org/bugzilla/show_bug.cgi?id=63796

            Bug ID: 63796
           Summary: I keep getting a lot of "worker XXXXXX shared|local
                    already intialized" log entries when debug level
                    logging is enabled for the proxy module
           Product: Apache httpd-2
           Version: 2.4.39
          Hardware: PC
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: savemetenminu...@gmail.com
  Target Milestone: ---

Created attachment 36806
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36806&action=edit
The full set of startup logs

Forgive me if this is not actually a bug but it does look rather strange so I
decided to post it after all. I am running HTTPd inside a docker container.
HTTPd is launched using supervisord. I have enabled debug level logging for
mod_proxy. I have the following configuration which takes care of handling PHP
files by another container with PHP-FPM:
```
ProxyPass /php-fpm-status
fcgi://${COMPOSE_PROJECT_NAME}-php73-fpm:9090/php-fpm-status
ProxyPass /php-fpm-ping
fcgi://${COMPOSE_PROJECT_NAME}-php73-fpm:9090/php-fpm-ping
<Files *.php>
    SetHandler "proxy:fcgi://${COMPOSE_PROJECT_NAME}-php73-fpm:9090"
</Files>
```
Whenever the server is started after restarting the container or restarted
using `supervisord restart apache` I get a massive amount of repeated logs
saying:
```
default-apache24       | [Tue Oct 01 13:49:44.855649 2019] [proxy:debug] [pid
918:tid 140531801212032] proxy_util.c(1929): AH00924: worker
fcgi://default-php73-fpm:9090/php-fpm-status shared already initialized
default-apache24       | [Tue Oct 01 13:49:44.855652 2019] [proxy:debug] [pid
918:tid 140531801212032] proxy_util.c(1986): AH00926: worker
fcgi://default-php73-fpm:9090/php-fpm-status local already initialized
default-apache24       | [Tue Oct 01 13:49:44.855655 2019] [proxy:debug] [pid
918:tid 140531801212032] proxy_util.c(1929): AH00924: worker
fcgi://default-php73-fpm:9090/php-fpm-ping shared already initialized
default-apache24       | [Tue Oct 01 13:49:44.855657 2019] [proxy:debug] [pid
918:tid 140531801212032] proxy_util.c(1986): AH00926: worker
fcgi://default-php73-fpm:9090/php-fpm-ping local already initialized
```
These two pairs of logs (for each ProxyPass configuration directive) are
repeated 36 times and there are 3 sets of those repetitions (I'm assuming these
are for each of the 3 children the main process spawns). I have attached the
full startup log for reference.

Could that actually be a problem with my setup/configuration? Could it be
unclean shutdown that is causing this repetition? What can I do to make the
startup cleaner and trim down on the number of such logs?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to