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

            Bug ID: 61666
           Summary: regression on httpd reload (could not bind to address
                    0.0.0.0:80)
           Product: Apache httpd-2
           Version: 2.4.28
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_event
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

We have an autotest based automated test system that automatically tests
various httpd and mod_proxy configurations. A few tests failed 100% of the time
after updating from 2.4.25 to 2.4.29.

As soon as the script issues 

As soon as a script issues a "httpd reload", this appears in the logs:

[mpm_event:notice] [pid 2452:tid 3072501504] AH00494: SIGHUP received. 
Attempting to restart
(98)Address already in use: AH00072: make_sock: could not bind to address
0.0.0.0:80
[mpm_event:alert] [pid 2452:tid 3072501504] no listening sockets available,
shutting down


I've tracked it down to this change in httpd 2.4.26:

  *) Don't set SO_REUSEPORT unless ListenCoresBucketsRatio is greater
     than zero.  [Eric Covener]

Commit in questions is this one:
https://github.com/apache/httpd/commit/d3e0ad6e2ba88f465765e0a8c315189c311583a5

Once I revert it, "httpd reload" works just fine.

Looks like graceful shutdowns now cause trouble when doing httpd reloads?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to