https://issues.apache.org/bugzilla/show_bug.cgi?id=55897

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31681|0                           |1
        is obsolete|                            |

--- Comment #15 from [email protected] ---
Created attachment 32079
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32079&action=edit
[PATCH]patch with SO_REUSEPORT support

Attached patch is the fix to address the restart/graceful restart issues.
Thanks very much for Kaspar Brand's feedback!

The patch is based on httpd trunk r1629441. The changes are:

1. Fix the graceful restart issue for prefork/worker/event MPM. 
2. Fix the "server seems busy" and "scoreboard is full" issue on restart for
both worker and event MPM. Prefork does not have this issue.
3. Guard the ap_daemons_to_start >= num_buckets. 
4. Change CPU thread count check from _SC_NPROCESSORS_ONLN to
_SC_NPROCESSORS_CONF. This makes sure num_buckets to be a constant as long as
the system is running. This change addresses the use case like: A user offline
some of the CPU threads and then restart httpd. In this case, I think we need
to make sure num_buckets does not change during the restart. 

Can some please review the patch and help add it into trunk?

Thanks,
Yingqi Lu

-- 
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