Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vd5196$e44d$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vd5196$e44d$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: Apache + mod_php performance
Date: Thu, 26 Sep 2024 21:20:38 -0400
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <vd5196$e44d$1@dont-email.me>
References: <vcv0bl$39mnj$1@dont-email.me> <vcvmu1$3cnv1$2@dont-email.me>
 <vd10re$nmp$1@reader1.panix.com> <vd1bdp$3npm3$1@dont-email.me>
 <vd1lgd$dbq$1@reader1.panix.com> <vd1u8j$3qqpg$1@dont-email.me>
 <vd25hj$3s2q8$1@dont-email.me> <vd3kkb$66dq$1@dont-email.me>
 <vd3r5d$74q1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 27 Sep 2024 03:20:39 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1c0eb99617403d5d511f3f96ce19037b";
	logging-data="462989"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18KFG+tXbNoqcxobn0xlgS4kw4E23av2+k="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:t+DxwovbftdK1YhSS3ZL/VZnH5o=
In-Reply-To: <vd3r5d$74q1$1@dont-email.me>
Content-Language: en-US

On 9/26/2024 10:30 AM, Craig A. Berry wrote:
> On 9/26/24 7:38 AM, Craig A. Berry wrote:
>> On 9/25/24 6:14 PM, Arne Vajhøj wrote:
>>> 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

I took a look.

It has:

[.httpd.server.mpm.prefork]prefork.c with 1350 lines calling fork
[.httpd.server.mpm.vms]prefork.c with 3900 lines calling sys$creprc

So it looks like the porting approach was to reimplement prefork
more or less from scratch for VMS.

A very quick search make me think that the mailbox is only used
for control not for data.

So I am still stuck.

Arne