[Info-vax] Apache + mod_php performance
Arne Vajhøj
arne at vajhoej.dk
Fri Sep 27 12:06:09 EDT 2024
On 9/26/2024 11:44 AM, Dan Cross wrote:
> In article <vd1u8j$3qqpg$1 at dont-email.me>,
> Arne Vajhøj <arne at vajhoej.dk> wrote:
>> It must be Apache.
>>
>> Apache on VMS is prefork MPM. Yuck.
>>
>> MaxSpareServers 10 -> 50
>> MaxClients 150 -> 300
>>
>> actually did improve performance - double from 11 to 22
>> req/sec.
>>
>> But the system did not like further increases. And besides
>> these numbers are absurd high to handle a simulator doing requests
>> from just 20 threads.
>>
>> But not sure what else I can change.
>
> My guess is that communications overhead is slowing things down.
> What happens if you set these super low, ideally so there's a
> single process handling requests, then see what sort of QPS
> numbers you get for your trivial text file.
I set it down to 1.
0.1 req/sec
Note that even if it had performed great then it would not
have been a solution because the real thing the PHP scripts
has significant latency when interacting with external database
so parallelization is a must.
Arne
More information about the Info-vax
mailing list