[Info-vax] Apache + mod_php performance
Arne Vajhøj
arne at vajhoej.dk
Tue Sep 24 20:24:42 EDT 2024
On 9/24/2024 5:28 PM, Lawrence D'Oliveiro wrote:
> On Tue, 24 Sep 2024 14:28:05 -0400, Arne Vajhøj wrote:
>> I am not impressed by Apache + mod_php performance on VMS.
>
> I recall that Apache offers a choice of worker processes or worker
> threads. I suspect mod_php is not thread-safe, so you have to use multiple
> worker processes. And process creation on VMS is expensive.
Apache on VMS starts multiple processes. But they should
be reusable (otherwise it would be CGI reimplemented). The
client test app use 20 threads, so Apache should
only need to start 20 child processes and let them
process requests. So even though process creation indeed
is expensive on VMS, then it should not kill performance
like what I see.
Arne
More information about the Info-vax
mailing list