Anunţ

Caută printre mesajele de pe forum înainte de a scrie unul nou!
Formulează corect întrebarea sau problema pe care o ai.
Respectă regulile forumului și Codul de Conduită!

#1 19 Nov 2019 09:23:37

emenem
Membru
Înregistrat: 26 Feb 2011
Mesaje: 141

Problema apache2

Am un server pe Ubuntu 16.04.6 LTS si de cand am pus o aplicatie pe wordpress pe el...apache2 face crash o data la 3-7 zile.

Ce am gasit in logs

Cod:

[Tue Nov 19 08:48:30.437216 2019] [core:notice] [pid 9459] AH00051: child pid 23863 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:30.437296 2019] [core:notice] [pid 9459] AH00051: child pid 23870 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:30.437339 2019] [core:notice] [pid 9459] AH00051: child pid 23876 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:30.437374 2019] [core:notice] [pid 9459] AH00051: child pid 23884 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:30.437387 2019] [core:notice] [pid 9459] AH00051: child pid 23889 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:30.437397 2019] [core:notice] [pid 9459] AH00051: child pid 23890 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:30.437408 2019] [core:notice] [pid 9459] AH00051: child pid 23891 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:31.439576 2019] [core:notice] [pid 9459] AH00051: child pid 23867 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:31.439653 2019] [core:notice] [pid 9459] AH00051: child pid 23882 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:31.439667 2019] [core:notice] [pid 9459] AH00051: child pid 23886 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:32.441197 2019] [core:notice] [pid 9459] AH00051: child pid 23887 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:35.451832 2019] [core:notice] [pid 9459] AH00051: child pid 23864 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:35.451914 2019] [core:notice] [pid 9459] AH00051: child pid 3797 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:35.451964 2019] [core:notice] [pid 9459] AH00051: child pid 3798 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:36.453017 2019] [mpm_prefork:info] [pid 9459] AH00162: server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 31 idle, and 38 total children
[Tue Nov 19 08:48:36.460320 2019] [core:notice] [pid 9459] AH00051: child pid 23860 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:36.460379 2019] [core:notice] [pid 9459] AH00051: child pid 23869 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:36.460428 2019] [core:notice] [pid 9459] AH00051: child pid 23873 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:36.460499 2019] [core:notice] [pid 9459] AH00051: child pid 23874 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:36.460554 2019] [core:notice] [pid 9459] AH00051: child pid 23877 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:36.460602 2019] [core:notice] [pid 9459] AH00051: child pid 23881 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:36.460617 2019] [core:notice] [pid 9459] AH00051: child pid 4264 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:39.464994 2019] [core:notice] [pid 9459] AH00051: child pid 23871 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:39.465041 2019] [core:notice] [pid 9459] AH00051: child pid 23892 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:39.465088 2019] [core:notice] [pid 9459] AH00051: child pid 3799 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:39.465105 2019] [core:notice] [pid 9459] AH00051: child pid 4261 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:40.468815 2019] [core:notice] [pid 9459] AH00051: child pid 23859 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:40.468901 2019] [core:notice] [pid 9459] AH00051: child pid 23861 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:40.468960 2019] [core:notice] [pid 9459] AH00051: child pid 23872 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:40.469014 2019] [core:notice] [pid 9459] AH00051: child pid 23880 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:40.469068 2019] [core:notice] [pid 9459] AH00051: child pid 23883 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:40.469086 2019] [core:notice] [pid 9459] AH00051: child pid 4270 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:46.485716 2019] [core:notice] [pid 9459] AH00051: child pid 23932 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:47.488572 2019] [core:notice] [pid 9459] AH00051: child pid 23866 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:47.488656 2019] [core:notice] [pid 9459] AH00051: child pid 23879 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:47.488675 2019] [core:notice] [pid 9459] AH00051: child pid 4297 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.492952 2019] [core:notice] [pid 9459] AH00051: child pid 23858 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.493037 2019] [core:notice] [pid 9459] AH00051: child pid 23868 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.493056 2019] [core:notice] [pid 9459] AH00051: child pid 23888 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.493103 2019] [core:notice] [pid 9459] AH00051: child pid 3329 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.493164 2019] [core:notice] [pid 9459] AH00051: child pid 3796 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.493181 2019] [core:notice] [pid 9459] AH00051: child pid 4269 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.493196 2019] [core:notice] [pid 9459] AH00051: child pid 4282 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:48.493211 2019] [core:notice] [pid 9459] AH00051: child pid 4285 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.494242 2019] [mpm_prefork:info] [pid 9459] AH00162: server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 20 idle, and 31 total children
[Tue Nov 19 08:48:49.500806 2019] [core:notice] [pid 9459] AH00051: child pid 23865 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.500838 2019] [core:notice] [pid 9459] AH00051: child pid 23885 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.500853 2019] [core:notice] [pid 9459] AH00051: child pid 4256 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.500868 2019] [core:notice] [pid 9459] AH00051: child pid 4268 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.500884 2019] [core:notice] [pid 9459] AH00051: child pid 4291 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.500898 2019] [core:notice] [pid 9459] AH00051: child pid 4300 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.500911 2019] [core:notice] [pid 9459] AH00051: child pid 4310 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:49.500925 2019] [core:notice] [pid 9459] AH00051: child pid 4321 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:50.501999 2019] [mpm_prefork:info] [pid 9459] AH00162: server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 16 children, there are 28 idle, and 31 total children
[Tue Nov 19 08:48:50.533164 2019] [core:notice] [pid 9459] AH00051: child pid 4271 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:48:58.585220 2019] [core:notice] [pid 9459] AH00051: child pid 4279 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Nov 19 08:49:10.414925 2019] [core:info] [pid 9459] AH00096: removed PID file /var/run/apache2/apache2.pid (pid=9459)
[Tue Nov 19 08:49:10.414948 2019] [mpm_prefork:notice] [pid 9459] AH00169: caught SIGTERM, shutting down
[Tue Nov 19 08:49:11.414353 2019] [ssl:info] [pid 4439] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Nov 19 08:49:11.417645 2019] [ssl:info] [pid 4439] AH01876: mod_ssl/2.4.18 compiled against Server: Apache/2.4.18, Library: OpenSSL/1.0.2g
[Tue Nov 19 08:49:11.452561 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(397): AH00821: shmcb_init allocated 512000 bytes of shared memory
[Tue Nov 19 08:49:11.452577 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(413): AH00822: for 511944 bytes (512000 including header), recommending 32 subcaches, 88 indexes each
[Tue Nov 19 08:49:11.452581 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(446): AH00824: shmcb_init_memory choices follow
[Tue Nov 19 08:49:11.452584 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(448): AH00825: subcache_num = 32
[Tue Nov 19 08:49:11.452587 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(450): AH00826: subcache_size = 15992
[Tue Nov 19 08:49:11.452590 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(452): AH00827: subcache_data_offset = 2128
[Tue Nov 19 08:49:11.452592 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(454): AH00828: subcache_data_size = 13864
[Tue Nov 19 08:49:11.452602 2019] [socache_shmcb:debug] [pid 4440] mod_socache_shmcb.c(456): AH00829: index_num = 88
[Tue Nov 19 08:49:11.452662 2019] [socache_shmcb:info] [pid 4440] AH00830: Shared memory socache initialised
[Tue Nov 19 08:49:11.452666 2019] [ssl:info] [pid 4440] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Nov 19 08:49:11.455509 2019] [ssl:info] [pid 4440] AH01876: mod_ssl/2.4.18 compiled against Server: Apache/2.4.18, Library: OpenSSL/1.0.2g
[Tue Nov 19 08:49:11.476504 2019] [mpm_prefork:notice] [pid 4440] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Tue Nov 19 08:49:11.476526 2019] [mpm_prefork:info] [pid 4440] AH00164: Server built: 2019-04-03T13:34:47
[Tue Nov 19 08:49:11.476534 2019] [core:notice] [pid 4440] AH00094: Command line: '/usr/sbin/apache2'
[Tue Nov 19 08:49:11.476537 2019] [core:debug] [pid 4440] log.c(1546): AH02639: Using SO_REUSEPORT: yes (1)
[Tue Nov 19 08:49:11.476540 2019] [mpm_prefork:debug] [pid 4440] prefork.c(1028): AH00165: Accept mutex: fcntl (default: sysvsem)
[Tue Nov 19 08:49:24.500598 2019] [mpm_prefork:info] [pid 4440] AH00162: server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 31 idle, and 43 total children
[Tue Nov 19 08:55:42.364505 2019] [core:info] [pid 4440] AH00096: removed PID file /var/run/apache2/apache2.pid (pid=4440)
[Tue Nov 19 08:55:42.364536 2019] [mpm_prefork:notice] [pid 4440] AH00169: caught SIGTERM, shutting down

In min 08:49 am dat un restart la apache2.

In /etc/apache2/mods-available/mpm_prefork.conf am modificat de vreo 2 ori valorile, iar asta e ultima varianta folosita pana la ultimul crash

Cod:

<IfModule mpm_prefork_module>
    StartServers             35
    MinSpareServers       35
    MaxSpareServers      50
    MaxRequestWorkers     150
    MaxConnectionsPerChild   0
</IfModule>

Offline

 

#2 19 Nov 2019 11:26:23

Alexandru.Cucu
Administrator
Locaţie: -21.8021247, -154.6975949
Înregistrat: 17 Jun 2008
Mesaje: 6885
Site web

Re: Problema apache2

Esti la zi cu actualizarile?
Se reproduce doar la cateva zile?

Cel mai probabil un bug in ceva modul de Apache, dar va trebui sa analizezi coredump-ul.

Cateva indicatii aici pentru segfault cauzat de PHP:
http://www.omh.cc/blog/2008/mar/6/fixin … aused-php/

Offline

 

#3 19 Nov 2019 12:29:35

pogonici
Membru
Locaţie: Bucuresti
Înregistrat: 07 Apr 2010
Mesaje: 151

Re: Problema apache2

uite ce zice aici:
Apache and php not working child pid xxx exit signal Segmentation fault (11)

Editat ultima oară de pogonici (19 Nov 2019 12:30:07)

Offline

 

#4 19 Nov 2019 15:11:06

emenem
Membru
Înregistrat: 26 Feb 2011
Mesaje: 141

Re: Problema apache2

Am apache/2.4.18 si php 7.3.7 si aveam  memory_limit = 128M, cu ocazia asta am setat 512M.
Nu prea ma incanta varianta cu coredump(sa nu stric cumva ceva), am dezactivat pluginul wordfence din wordpress...si daca mai da vreun crash in urmatoarele 2 saptamani mai revin pe aici.

Offline

 

Antet forum

Powered by FluxBB