Named shared memory on macOS Monterey

2022-05-17 Thread Jim Jagielski
Anyone else notice that the later version of macOS really prefer
that APR use posix for shared memory for both anon and name-based,
instead of posix for anon and sysv/ipc for name?

The issue seems to be that the kernel params are much lower than
previous versions as well as it being nigh-impossible to reset
those sysctl params on each boot, due to SIP.

Shouldn't we prefer posix over sysv in any case?


Re: svn commit: r1901009 - in /httpd/httpd/branches/2.4.x: CHANGES STATUS changes-entries/md_acme_failover.txt changes-entries/mod_proxy_log_backend_port.txt modules/http2/h2_mplx.c modules/http2/h2_v

2022-05-17 Thread Rainer Jung



Hi Jim,

it looks like the unrelated file 
changes-entries/mod_proxy_log_backend_port.txt was removed by accident 
during this commit? I don't see its contents already in CHANGES.


I had not yet used the make target "update-changes" when applying the 
backend port patch, so the changes-entries file was left for final 
CHANGES consolidation in purpose. I will add it back soon.


Best regards,

Rainer

Am 17.05.2022 um 20:17 schrieb j...@apache.org:

Author: jim
Date: Tue May 17 18:17:44 2022
New Revision: 1901009

URL: http://svn.apache.org/viewvc?rev=1901009=rev
Log:
Merge r from trunk:

Submitted by: icing, rpluem, ylavic
Reviewed by: jim

Github: closes #317

Removed:
 httpd/httpd/branches/2.4.x/changes-entries/md_acme_failover.txt
 httpd/httpd/branches/2.4.x/changes-entries/mod_proxy_log_backend_port.txt

...


Re: travis CI failing in 2.4.x

2022-05-17 Thread Stefan Eissing
Thanks for checking. I merged the change Yann mentioned and travis is 
considering maybe starting the ci suite some day in the future...we'll see.



> Am 17.05.2022 um 15:33 schrieb Rainer Jung :
> 
> Forget the below. The real error was already detected by others and 25.000 
> lines higher in the console output:
> 
> t/modules/heartbeat.t (Wstat: 0 Tests: 1 Failed: 1)
> 
>  Failed test:  1
> 
> Files=141, Tests=7232, 130 wallclock secs ( 2.85 usr  0.26 sys + 47.35 cusr 
> 10.50 csys = 60.96 CPU)
> 
> Result: FAIL
> 
> Failed 1/141 test programs. 1/7232 subtests failed.
> 
> ...
> 
> Am 17.05.2022 um 15:24 schrieb Rainer Jung:
>> Not yet a full explanation but:
>> - the build fails due to "The job exceeded the maximum log length, and has 
>> been terminated." shortly before line 30.000
>> - the difference to the succeeeding "Linux Ubuntu Focal, ASan" is, that the 
>> ErrorLog of the run is not part of this log output handled by Travis.
>> - the lines you saw look pretty normal to me (depending on the modules we 
>> build). And it is not the exact same line repeating, but just the same type 
>> of line for every request executed during the tests.
>> I guess, the build configs differ, so that travis handled the ErrorLog 
>> differently?
>> Best regards,
>> Rainer



Re: travis CI failing in 2.4.x

2022-05-17 Thread Rainer Jung
Forget the below. The real error was already detected by others and 
25.000 lines higher in the console output:


t/modules/heartbeat.t (Wstat: 0 Tests: 1 Failed: 1)

  Failed test:  1

Files=141, Tests=7232, 130 wallclock secs ( 2.85 usr  0.26 sys + 47.35 
cusr 10.50 csys = 60.96 CPU)


Result: FAIL

Failed 1/141 test programs. 1/7232 subtests failed.

...

Am 17.05.2022 um 15:24 schrieb Rainer Jung:

Not yet a full explanation but:

- the build fails due to "The job exceeded the maximum log length, and 
has been terminated." shortly before line 30.000


- the difference to the succeeeding "Linux Ubuntu Focal, ASan" is, that 
the ErrorLog of the run is not part of this log output handled by Travis.


- the lines you saw look pretty normal to me (depending on the modules 
we build). And it is not the exact same line repeating, but just the 
same type of line for every request executed during the tests.


I guess, the build configs differ, so that travis handled the ErrorLog 
differently?


Best regards,

Rainer


Re: travis CI failing in 2.4.x

2022-05-17 Thread Rainer Jung

Not yet a full explanation but:

- the build fails due to "The job exceeded the maximum log length, and 
has been terminated." shortly before line 30.000


- the difference to the succeeeding "Linux Ubuntu Focal, ASan" is, that 
the ErrorLog of the run is not part of this log output handled by Travis.


- the lines you saw look pretty normal to me (depending on the modules 
we build). And it is not the exact same line repeating, but just the 
same type of line for every request executed during the tests.


I guess, the build configs differ, so that travis handled the ErrorLog 
differently?


Best regards,

Rainer


Re: travis CI failing in 2.4.x

2022-05-17 Thread Stefan Eissing



> Am 17.05.2022 um 15:20 schrieb Yann Ylavic :
> 
> Hi,
> 
>> 
>> We have the CI for 2.4.x failing for some time in endless log messages for 
>> "Linux Ubuntu Focal, ASan, pool-debug"
>> 
>> [Mon May 16 14:36:38.939810 2022] [optional_hook_import:error] [pid 
>> 64983:tid 140667614734080] AH01866: Optional hook test said: GET 
>> /getfiles-perl-pod/perlapi.pod HTTP/1.1
>> 5989[Mon May 16 14:36:38.939815 2022] [optional_fn_export:error] [pid 
>> 64983:tid 140667614734080] AH01871: Optional function test said: GET 
>> /getfiles-perl-pod/perlapi.pod HTTP/1.1
>> 
>> Anyone got an idea?
> 
> While both r1900026 and r1899841 were in the backport proposal
> (STATUS), it seems that the former only made it to 2.4.x in r1900751,
> the latter fixed the same issue in trunk a while ago
> (https://app.travis-ci.com/github/apache/httpd/jobs/566966513#L4124)
> so it's probably what's missing.

Thanks! I'll merge it and see if this fixes things.

> 
> Cheers;
> Yann.



Re: travis CI failing in 2.4.x

2022-05-17 Thread Yann Ylavic
Hi,

>
> We have the CI for 2.4.x failing for some time in endless log messages for 
> "Linux Ubuntu Focal, ASan, pool-debug"
>
> [Mon May 16 14:36:38.939810 2022] [optional_hook_import:error] [pid 64983:tid 
> 140667614734080] AH01866: Optional hook test said: GET 
> /getfiles-perl-pod/perlapi.pod HTTP/1.1
> 5989[Mon May 16 14:36:38.939815 2022] [optional_fn_export:error] [pid 
> 64983:tid 140667614734080] AH01871: Optional function test said: GET 
> /getfiles-perl-pod/perlapi.pod HTTP/1.1
>
> Anyone got an idea?

While both r1900026 and r1899841 were in the backport proposal
(STATUS), it seems that the former only made it to 2.4.x in r1900751,
the latter fixed the same issue in trunk a while ago
(https://app.travis-ci.com/github/apache/httpd/jobs/566966513#L4124)
so it's probably what's missing.

Cheers;
Yann.


travis CI failing in 2.4.x

2022-05-17 Thread Stefan Eissing
We have the CI for 2.4.x failing for some time in endless log messages for 
"Linux Ubuntu Focal, ASan, pool-debug"

[Mon May 16 14:36:38.939810 2022] [optional_hook_import:error] [pid 64983:tid 
140667614734080] AH01866: Optional hook test said: GET 
/getfiles-perl-pod/perlapi.pod HTTP/1.1
5989[Mon May 16 14:36:38.939815 2022] [optional_fn_export:error] [pid 64983:tid 
140667614734080] AH01871: Optional function test said: GET 
/getfiles-perl-pod/perlapi.pod HTTP/1.1

Anyone got an idea?

Seems to have started with "Merge r1900026 from trunk:"? 
https://github.com/apache/httpd/commit/b64b0488b12dc81df972bff4747d9b9c68fbad3f

Kind Regards,
Stefan