[Info-vax] Apache + mod_php performance

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


On 9/26/24 6:22 PM, Lawrence D'Oliveiro wrote:
> On Thu, 26 Sep 2024 19:15:40 -0400, Arne Vajhøj wrote:
> 
>> On 9/26/2024 4:40 PM, Lawrence D'Oliveiro wrote:
>>>
>>> On Thu, 26 Sep 2024 09:44:14 -0500, Craig A. Berry wrote:
>>>>
>>>> Whoever invented the term apparently thought fork() was the only
>>>> way to create a subprocess.
>>>
>>> It is the most natural way in this case, because it creates a complete
>>> copy of the parent process, which is what you want.
>>>
>>>> On VMS it will obviously use LIB$SPAWN or SYS$CREPRC.
>>>
>>> Not only is that more expensive, it also requires additional setup to
>>> recreate the effect of fork(2).
>>
>> They have one big advantage over fork on VMS.
>>
>> They exist!
> 
> Not enough to make up for the performance disadvantage, though ...

The ability to restart Apache in a second or so on Linux rather than a
couple seconds on VMS is nice but has nothing to do with the problem
Arne reported, which is about performance after the worker processes are
started.


More information about the Info-vax mailing list