From b69826e5222f8d94aa0afa78794586722e4e91a9 Mon Sep 17 00:00:00 2001
From: Mike Rumph
Listen
ers or Apache HTTP servers on
+ the same IP address and portSetting the SO_REUSEPORT
option on the listening socket(s)
+ consequently allows multiple processes (sharing the same EUID
,
+ e.g. root
) to bind to the the same IP address and port,
+ without the binding error raised by the system in the usual case.
This also means that multiple instances of Apache httpd configured on a
+ same IP:port
and with a positive ListenCoresBucketsRatio
+ would start without an error too, and then run with incoming connections
+ evenly distributed accross both instances (this is NOT a recommendation or
+ a sensible usage in any case, but just a notice that it would prevent such
+ possible issues to be detected).
Within the same instance, Apache httpd will check and fail to start if
+ multiple Listen
directives on the exact same IP (or
+ hostname) and port are configured, thus avoiding the creation of some
+ duplicated buckets which would be useless and kill performances. However
+ it can't (and won't try harder to) catch all the possible overlapping cases
+ (like a hostname resolving to an IP used elsewhere).
Açıklama: | Birden fazla Çok Süreçlilik Modülü (MPM) tarafından gerçeklenmiş yönergeler bütünü. |
---|---|
Durum: | MPM |