[Info-vax] Apache + mod_php performance

Craig A. Berry craigberry at nospam.mac.com
Thu Sep 26 10:30:04 EDT 2024


On 9/26/24 7:38 AM, Craig A. Berry wrote:
> 
> On 9/25/24 6:14 PM, Arne Vajhøj wrote:
>> On 9/25/2024 5:10 PM, Arne Vajhøj 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.
>>
>> Does anyone know internals of Apache on VMS?
>>
>> Based on some messages in error_log it looks like
>> it uses mailboxes APACHE$AWS_CONTROL_MBX_nn.
>>
>> If every request result in mailbox comm between
>> master process and a child process, then that could
>> slow down things.
> 
> I vaguely remember that there was a separate image installed with
> privileges that increased socket buffer size from 255 bytes to something
> reasonable and these sockets were used as pipes for IPC.
> 
> The following links still seem to work if you want (old) sources:
> 
> https://ftp.hp.com/pub/openvms/apache/CSWS-V20-2-ALPHA-SRC-KIT.BCK_SFX_AXPEXE
> 
> https://ftp.hp.com/pub/openvms/apache/CSWS-V20-2-I64-SRC-KIT.BCK_SFX_I64EXE
> 

Trial and error shows that *slightly* later versions are available at
the same place:

https://ftp.hp.com/pub/openvms/apache/CSWS-V21-1-ALPHA-SRC-KIT.BCK_SFX_AXPEXE

https://ftp.hp.com/pub/openvms/apache/CSWS-V21-1-I64-SRC-KIT.BCK_SFX_I64EXE

Dunno why VSI doesn't release source code for their v2.4 port.



More information about the Info-vax mailing list