[Info-vax] Apache + mod_php performance
Lawrence D'Oliveiro
ldo at nz.invalid
Sun Sep 29 21:46:47 EDT 2024
On Sun, 29 Sep 2024 21:42:48 -0400, Arne Vajhøj wrote:
> On 9/29/2024 9:21 PM, Lawrence D'Oliveiro wrote:
>
>> Then it asks another process for a copy of that socket descriptor.
>> Perhaps there is one overall connection-management process that accepts
>> all new connections; if not, another worker that has that socket can
>> pass it along.
>
> It should not be a problem of copying a socket descriptor from one
> process to another process - I believe it is just an int.
>
> But will it work in the other process????
That’s not how you do it. You pass it with the SCM_RIGHTS ancillary-data
option in Unix-family sockets
<https://manpages.debian.org/7/unix.7.en.html>.
More information about the Info-vax
mailing list