我们正在aws云上运行magento应用程序,其中两个实例位于应用程序负载平衡器后面(未启用粘性会话)。
实例内存为64GB
Magento会话和缓存在Redis缓存中配置(受AWS托管)
Apache pre_fork config
KeepAliveTimeout 120
MaxKeepAliveRequests 1000
MaxSpareServers 80
MaxRequestWorkers 800
MaxConnectionsPerChild 8000
ALB请求计数已达到5k请求的峰值
in the apache error log I am seeing following , out the two server one server cpu is shooting and Apache doesn't respond to any incoming request causing causing a 502 error in ALB
[Tue Jul 16 16:12:12.896236 2019] [core:notice] [pid 29446] AH00052: child pid 8244 exit signal Segmentation fault (11)
[Tue Jul 16 16:15:29.095124 2019] [core:notice] [pid 29446] AH00052: child pid 31489 exit signal Segmentation fault (11)
[Tue Jul 16 16:15:58.128221 2019] [core:notice] [pid 29446] AH00052: child pid 4840 exit signal Segmentation fault (11)
[Tue Jul 16 16:17:03.205102 2019] [core:notice] [pid 29446] AH00052: child pid 10689 exit signal Segmentation fault (11)
[Tue Jul 16 16:17:20.222127 2019] [core:notice] [pid 29446] AH00052: child pid 9380 exit signal Segmentation fault (11)
[Tue Jul 16 16:17:21.223224 2019] [core:notice] [pid 29446] AH00052: child pid 7296 exit signal Segmentation fault (11)
[Tue Jul 16 16:28:40.987961 2019] [mpm_prefork:notice] [pid 29446] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Jul 16 16:30:11.248470 2019] [suexec:notice] [pid 12278] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jul 16 16:30:11.267057 2019] [auth_digest:notice] [pid 12278] AH01757: generating secret for digest authentication ...
[Tue Jul 16 16:30:11.267531 2019] [lbmethod_heartbeat:notice] [pid 12278] AH02282: No slotmem from mod_heartmonitor
[Tue Jul 16 16:30:11.267791 2019] [ssl:warn] [pid 12278] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jul 16 16:30:11.299091 2019] [mpm_prefork:notice] [pid 12278] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Tue Jul 16 16:30:11.299117 2019] [core:notice] [pid 12278] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'