Re: [users@httpd] Segmentation fault

2022-03-09 Thread Dino Ciuffetti
Already tried to disable the opcache PHP extension?
# sudo phpdismod opcache
It should be your problem.

Also, it seems you are on prefork, please try to set MaxConnectionsPerChild to 
something near 1 when you are using mod_php or big modules like this to 
avoid any memory leak building slowly, if any.
9 marzo 2022 14:15, "Ivan Ionut" mailto:ivan.io...@tehnopol-gl.ro?to=%22Ivan%20Ionut%22%20)>
 wrote:
My apache2 version:

Server version: Apache/2.4.18 (Ubuntu)
Server built: 2020-08-12T21:35:50

My php version:

PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 
06:54:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 
1999-2018, by Zend Technologies

My os version:

Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial

Hi, from last 2-3 months i have a lot of these segmentations(2-3 times 
per week);

[Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: 
child pid 22481 exit signal Segmentation fault (11), possible coredump in 
/etc/apache2
[Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child pid 
21895 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child pid 
22189 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child pid 
22562 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child pid 
22491 exit

...

Every site on the server has an error with: "Secure Connection Failed" 
or "The Connection was reset"

After I restart apache2 everything is ok.

Before this error.. I had a lot of errors (that I do not remember the 
exact log messages) ... the apache2 requested to increase the number of 
servers/workers, so the only I made some modifications

/etc/apache2/mods-available/mpm_prefork.conf


ServerLimit 4000
StartServers 905
MinSpareServers 405
MaxSpareServers 420
MaxRequestWorkers 2000
MaxConnectionsPerChild 0


Today with some tutorial and with the help of gdb... I did get some 
output of a segmentated apache2 process:

#0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so
No symbol table info available.
#1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so
No symbol table info available.
#2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#5 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#11 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#17 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#21 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#22 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#23 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#24 0xb6fbffbf in ?? () from 

Re: [users@httpd] Segmentation fault

2022-03-09 Thread Frank Gingras
Ivan,

Keep the replies in the ML for everyone to see.

See the fpm wiki page at:

https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM

On Wed, 9 Mar 2022 at 11:13, Frank Gingras  wrote:

> Hello,
>
> A mod_php segfault is most likely linked to a php extension.
>
> You have two options here:
>
> 1) Unload each php extension until you find the culprit
>
> 2) Switch to php-fpm, and configure httpd to use the event mpm via
> proxy_fcgi to pass the requests to php-fpm
>
> On Wed, 9 Mar 2022 at 08:15, Ivan Ionut  wrote:
>
>> *My apache2 version:*
>>
>> Server version: Apache/2.4.18 (Ubuntu)
>> Server built: 2020-08-12T21:35:50
>>
>> *My php version:*
>>
>> PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019
>> 06:54:26) ( NTS )
>> Copyright (c) 1997-2018 The PHP Group
>> Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
>> with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c)
>> 1999-2018, by Zend Technologies
>>
>> *My os version:*
>>
>> Distributor ID: Ubuntu
>> Description: Ubuntu 16.04.6 LTS
>> Release: 16.04
>> Codename: xenial
>>
>>
>> Hi, from last 2-3 months i have a lot of  these segmentations(2-3 times
>> per week);
>>
>> [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051:
>> child pid 22481 exit signal Segmentation fault (11), possible coredump in
>> /etc/apache2
>> [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051:
>> child pid 21895 exit signal Segmentation fault (11), possible coredump in
>> /etc/apache2
>> [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051:
>> child pid 22189 exit signal Segmentation fault (11), possible coredump in
>> /etc/apache2
>> [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051:
>> child pid 22562 exit signal Segmentation fault (11), possible coredump in
>> /etc/apache2
>> [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051:
>> child pid 22491 exit
>>
>> ...
>>
>> Every site on the server has an error with: "Secure Connection Failed" or
>> "The Connection was  reset"
>>
>> After I restart apache2 everything is ok.
>>
>> Before this error.. I had a lot of errors (that I do not remember the
>> exact log messages) ... the apache2 requested to increase the number of
>> servers/workers, so the only I made some modifications
>>
>> /etc/apache2/mods-available/mpm_prefork.conf
>>
>> 
>> ServerLimit 4000
>> StartServers 905
>> MinSpareServers 405
>> MaxSpareServers 420
>> MaxRequestWorkers 2000
>> MaxConnectionsPerChild 0
>> 
>>
>>
>> Today with some tutorial and with the help of gdb... I did get some
>> output of a segmentated apache2 process:
>>
>>
>> #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so
>> No symbol table info available.
>> #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so
>> No symbol table info available.
>> #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/
>> libphp7.3.so
>> No symbol table info available.
>> #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/
>> libphp7.3.so
>> No symbol table info available.
>> #11 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/
>> libphp7.3.so
>> No symbol table info available.
>> #12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/
>> libphp7.3.so
>> No symbol table info available.
>> #17 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/
>> libphp7.3.so
>> No symbol table info available.
>> #18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
>> No symbol table info available.
>> #21 0xb6fc1b2a in ?? () from 

[users@httpd] Are this option

2022-03-09 Thread Marc Serra
Hi, I want to configure an apache server to support a high load site. Are
these settings correct?

/etc/apache2/mods-enabled/mpm_event.conf


StartServers 2
MinSpareThreads  75
MaxSpareThreads  250
ThreadLimit  64
ThreadsPerChild  25
MaxRequestWorkers 1500
MaxConnectionsPerChild   0
ServerLimit 75


I used a combination of
https://httpd.apache.org/docs/2.4/en/mod/mpm_common.html and
https://support.plesk.com/hc/en-us/articles/214529205-Apache-keeps-going-down-on-a-Plesk-server-server-reached-MaxRequestWorkers-setting
...

MaxRequestWorkers = (Total RAM - Memory used for Linux, DB, etc.) / average
Apache process size
=>
1500 = (64000 - 6) / 40

The default ServerLimit value is 16. To increase it, you must also raise
MaxRequestWorkers using the following formula: ServerLimit value x 25 =
MaxRequestWorkers value. For example, if ServerLimit is set to 20, then
MaxRequestWorkers will be 20 x 25 = 500.
=>
75 x 25 = 1500



The hardware includes 64GB of memory, AMD Ryzen 7 PRO 3700 8-Core Processor
and NVME disks.

I'm using Apache 2.4.41 with event MPM on ubuntu 20.04 ...

Server version: Apache/2.4.41 (Ubuntu)
Server built:   2022-01-05T14:49:56
Server's Module Magic Number: 20120211:88
Server loaded:  APR 1.6.5, APR-UTIL 1.6.1
Compiled using: APR 1.6.5, APR-UTIL 1.6.1
Architecture:   64-bit
Server MPM: event
  threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/etc/apache2"
 -D SUEXEC_BIN="/usr/lib/apache2/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="mime.types"
 -D SERVER_CONFIG_FILE="apache2.conf"

And this loaded Modules...
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 access_compat_module (shared)
 aclr_module (shared)
 actions_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgid_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 fcgid_module (shared)
 filter_module (shared)
 headers_module (shared)
 include_module (shared)
 mime_module (shared)
 mpm_event_module (shared)
 negotiation_module (shared)
 proxy_module (shared)
 proxy_fcgi_module (shared)
 proxy_http_module (shared)
 proxy_wstunnel_module (shared)
 remoteip_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)
 suexec_module (shared)
 unique_id_module (shared)
 userdir_module (shared)


Thank's for your time.

-- 


   
  
  
  
 Manxa 1876, S.L.
Ctra. Les 
Tries, 85.17800 Olot (Girona)
*Tel. 972 27 45 30 www.manxa.com 
* 
  *Manxa 
Industrial *
 
  *Manxa Ferros *
   *Manxa Ferreteria i Parament de la Llar 
*
  

  



-- 


El contingut d’aquest correu electrònic i els seus annexos és 
estrictament confidencial. En el cas que no siguis el destinatari i hagis 
rebut aquest missatge per error, preguem que ho comuniquis al remitent i 
procedeixis a la seva eliminació, sense difondre, emmagatzemar o copiar el 
seu contingut. Imprimeix aquest correu només si és necessari.

El contenido 
de este correo electrónico y sus anexos es estrictamente confidencial. En 
el caso de que no seas el destinatario y hayas recibido este mensaje por 
error, rogamos lo comuniques al remitente y procedas a su eliminación, sin 
difundir, almacenar o copiar su contenido. Imprimir este correo solo si es 
necesario.

The content of this email and its attachments is strictly 
confidential. If you are not the recipient and you have received this 
message by mistake, please notify the sender and proceed to its 
elimination, without spreading, storing or copying its content. Print this 
email only if necessary.

Le contenu de cet e-mail et de ses pièces jointes 
est strictement confidentiel. Dans le cas où vous n'êtes pas le 
destinataire et avez reçu ce message par erreur, veuillez en informer 
l'expéditeur et procéder à sa suppression, sans diffuser, stocker 

Re: [users@httpd] Segmentation fault

2022-03-09 Thread Frank Gingras
Hello,

A mod_php segfault is most likely linked to a php extension.

You have two options here:

1) Unload each php extension until you find the culprit

2) Switch to php-fpm, and configure httpd to use the event mpm via
proxy_fcgi to pass the requests to php-fpm

On Wed, 9 Mar 2022 at 08:15, Ivan Ionut  wrote:

> *My apache2 version:*
>
> Server version: Apache/2.4.18 (Ubuntu)
> Server built: 2020-08-12T21:35:50
>
> *My php version:*
>
> PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019
> 06:54:26) ( NTS )
> Copyright (c) 1997-2018 The PHP Group
> Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
> with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c)
> 1999-2018, by Zend Technologies
>
> *My os version:*
>
> Distributor ID: Ubuntu
> Description: Ubuntu 16.04.6 LTS
> Release: 16.04
> Codename: xenial
>
>
> Hi, from last 2-3 months i have a lot of  these segmentations(2-3 times
> per week);
>
> [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: child
> pid 22481 exit signal Segmentation fault (11), possible coredump in
> /etc/apache2
> [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child
> pid 21895 exit signal Segmentation fault (11), possible coredump in
> /etc/apache2
> [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child
> pid 22189 exit signal Segmentation fault (11), possible coredump in
> /etc/apache2
> [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child
> pid 22562 exit signal Segmentation fault (11), possible coredump in
> /etc/apache2
> [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child
> pid 22491 exit
>
> ...
>
> Every site on the server has an error with: "Secure Connection Failed" or
> "The Connection was  reset"
>
> After I restart apache2 everything is ok.
>
> Before this error.. I had a lot of errors (that I do not remember the
> exact log messages) ... the apache2 requested to increase the number of
> servers/workers, so the only I made some modifications
>
> /etc/apache2/mods-available/mpm_prefork.conf
>
> 
> ServerLimit 4000
> StartServers 905
> MinSpareServers 405
> MaxSpareServers 420
> MaxRequestWorkers 2000
> MaxConnectionsPerChild 0
> 
>
>
> Today with some tutorial and with the help of gdb... I did get some output
> of a segmentated apache2 process:
>
>
> #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so
> No symbol table info available.
> #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so
> No symbol table info available.
> #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/
> libphp7.3.so
> No symbol table info available.
> #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #11 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/
> libphp7.3.so
> No symbol table info available.
> #12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #17 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/
> libphp7.3.so
> No symbol table info available.
> #18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #21 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #22 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so
> No symbol table info available.
> #23 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/
> libphp7.3.so
> No symbol table info available.
> #24 0xb6fbffbf in ?? () from 

[users@httpd] Segmentation fault

2022-03-09 Thread Ivan Ionut

My apache2 version:

Server version: Apache/2.4.18 (Ubuntu)
Server built: 2020-08-12T21:35:50

My php version:

PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 
06:54:26) ( NTS )

Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 
1999-2018, by Zend Technologies


My os version:

Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial

Hi, from last 2-3 months i have a lot of  these segmentations(2-3 times 
per week);


[Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: 
child pid 22481 exit signal Segmentation fault (11), possible coredump 
in /etc/apache2
[Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: 
child pid 21895 exit signal Segmentation fault (11), possible coredump 
in /etc/apache2
[Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: 
child pid 22189 exit signal Segmentation fault (11), possible coredump 
in /etc/apache2
[Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: 
child pid 22562 exit signal Segmentation fault (11), possible coredump 
in /etc/apache2
[Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: 
child pid 22491 exit


...

Every site on the server has an error with: "Secure Connection Failed" 
or "The Connection was  reset"


After I restart apache2 everything is ok.

Before this error.. I had a lot of errors (that I do not remember the 
exact log messages) ... the apache2 requested to increase the number of 
servers/workers, so the only I made some modifications


/etc/apache2/mods-available/mpm_prefork.conf


ServerLimit 4000
StartServers 905
MinSpareServers 405
MaxSpareServers 420
MaxRequestWorkers 2000
MaxConnectionsPerChild 0


Today with some tutorial and with the help of gdb... I did get some 
output of a segmentated apache2 process:


#0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so
No symbol table info available.
#1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so
No symbol table info available.
#2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#4 0xb71adaf3 in execute_ex () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#5 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#10 0xb71a9f11 in execute_ex () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#11 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#16 0xb71a9f11 in execute_ex () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#17 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#21 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#22 0xb71a9f11 in execute_ex () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#23 0xb71112cd in zend_call_function () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#24 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#25 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#26 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#27 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so
No symbol table info available.
#28 0xb71a9f11 in execute_ex () from 
/usr/lib/apache2/modules/libphp7.3.so

No symbol table info available.
#29 0xb71b22e4 in zend_execute () from 

[users@httpd] Re: Balancer-manager column "To" and "From" meaning

2022-03-09 Thread Lars Van Casteren
I’m presuming the To column means traffic send to the specific worker url and 
the From column means traffic send back from that worker url, but some 
confirmation would be nice 

Thx,
L


From: Lars Van Casteren 
Date: Tuesday, 8 March 2022 at 22:04
To: "users@httpd.apache.org" 
Subject: Balancer-manager column "To" and "From" meaning

Is there a page that provides some info about the balancer-manager Worker 
stats, particularly the “To” and “From” columns.
I searched online to find some details but haven’t found anything and I’m not 
sure what they mean.


Thanks!
Lars