Sujet : Re: Apache + mod_php performance
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.vmsDate : 29. Sep 2024, 23:57:11
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdcm06$1tmdr$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Pan/0.160 (Toresk; )
On Sun, 29 Sep 2024 10:46:12 -0400, Arne Vajhøj wrote:
That is not how Apache prefork MPM works.
If that’s not how it works, then how can you serve a client from more than
one member of the worker pool?
And I don't understand the "put all the client context into shared
memory" either. Are you saying that if socket descriptors are put in
shared memory then any process that map that memory can use those
sockets????
No, but the shared-memory context can contain an index into a table of
socket descriptors in private per-process memory. If the process trying to
server a client context does not actually have a socket descriptor in the
slot for that context, it can ask for one.