Path: ...!news.roellig-ltd.de!news.mb-net.net!open-news-network.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Craig A. Berry" Newsgroups: comp.os.vms Subject: Re: Apache + mod_php performance Date: Thu, 26 Sep 2024 19:52:30 -0500 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 27 Sep 2024 02:52:31 +0200 (CEST) Injection-Info: dont-email.me; posting-host="41a6ff1f34d861205d3ec8e02aef0012"; logging-data="465358"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cWB6sriYQWhFRbZlsLHwwHrFzUpef5RI=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:vx8Itcx/ekkjH6SIzPTzSugTB7E= Content-Language: en-US In-Reply-To: Bytes: 2407 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.