内存分配失败,中止进程。

内存分配失败,中止进程。

此错误可能由什么原因造成?以下是虚拟机崩溃时的完整日志。

该机器运行轨道,但数据库在不同的机器上,因此虚拟机本身不应该有特殊负载。

App 59191 stdout:
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[ W 2018-01-21 14:42:43.3651 4562/T8 age/Cor/Con/InternalUtils.cpp:96 ]: [Client 1-6207] Sending 502 response: application did not send a complete response
[ N 2018-01-21 14:42:44.4661 4562/Ta age/Cor/CoreMain.cpp:994 ]: Checking whether to disconnect long-running connections for process 16877, application /var/www/html/XXXX
[Sun Jan 21 14:42:47.777743 2018] [core:notice] [pid 37465] AH00051: child pid 59522 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777800 2018] [core:notice] [pid 37465] AH00051: child pid 59523 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777817 2018] [core:notice] [pid 37465] AH00051: child pid 59526 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777833 2018] [core:notice] [pid 37465] AH00051: child pid 59527 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777855 2018] [core:notice] [pid 37465] AH00051: child pid 59528 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777870 2018] [core:notice] [pid 37465] AH00051: child pid 59529 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777886 2018] [core:notice] [pid 37465] AH00051: child pid 59532 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777902 2018] [core:notice] [pid 37465] AH00051: child pid 59533 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777917 2018] [core:notice] [pid 37465] AH00051: child pid 59534 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777933 2018] [core:notice] [pid 37465] AH00051: child pid 59536 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777948 2018] [core:notice] [pid 37465] AH00051: child pid 59537 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777964 2018] [core:notice] [pid 37465] AH00051: child pid 59538 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777983 2018] [core:notice] [pid 37465] AH00051: child pid 59539 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.777999 2018] [core:notice] [pid 37465] AH00051: child pid 59541 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778014 2018] [core:notice] [pid 37465] AH00051: child pid 59542 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778029 2018] [core:notice] [pid 37465] AH00051: child pid 59544 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778055 2018] [core:notice] [pid 37465] AH00051: child pid 59545 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778069 2018] [core:notice] [pid 37465] AH00051: child pid 59546 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778082 2018] [core:notice] [pid 37465] AH00051: child pid 59547 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778096 2018] [core:notice] [pid 37465] AH00051: child pid 59548 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778109 2018] [core:notice] [pid 37465] AH00051: child pid 59549 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:42:47.778123 2018] [core:notice] [pid 37465] AH00051: child pid 59553 exit signal Aborted (6), possible coredump in /etc/apache2
App 59586 stdout:
[Sun Jan 21 14:42:48.779988 2018] [core:notice] [pid 37465] AH00051: child pid 59524 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Sun Jan 21 14:42:48.780038 2018] [core:notice] [pid 37465] AH00051: child pid 59540 exit signal Segmentation fault (11), possible coredump in /etc/apache2
App 59924 stdout:
App 59931 stdout:
[ W 2018-01-21 14:43:43.0161 4562/Ta age/Cor/Con/InternalUtils.cpp:96 ]: [Client 2-6205] Sending 502 response: application did not send a complete response
[ N 2018-01-21 14:43:43.8161 4562/Ta age/Cor/CoreMain.cpp:994 ]: Checking whether to disconnect long-running connections for process 17194, application /var/www/html/XXXX
App 60060 stdout:
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[ N 2018-01-21 14:53:00.9188 4562/T4 age/Cor/CoreMain.cpp:994 ]: Checking whether to disconnect long-running connections for process 60060, application /var/www/html/XXXX
[ W 2018-01-21 14:53:01.8681 4562/Ta age/Cor/Con/InternalUtils.cpp:96 ]: [Client 2-6253] Sending 502 response: application did not send a complete response
[ W 2018-01-21 14:53:01.8691 4562/T3 age/Cor/App/Poo/AnalyticsCollection.cpp:102 ]: Process (pid=59924, group=/var/www/html/XXXX) no longer exists! Detaching it from the pool.
[ N 2018-01-21 14:53:01.8692 4562/T3 age/Cor/CoreMain.cpp:994 ]: Checking whether to disconnect long-running connections for process 59924, application /var/www/html/XXXX
[Sun Jan 21 14:53:06.706284 2018] [core:notice] [pid 37465] AH00051: child pid 60392 exit signal Aborted (6), possible coredump in /etc/apache2
[Sun Jan 21 14:53:06.706343 2018] [core:notice] [pid 37465] AH00051: child pid 60418 exit signal Aborted (6), possible coredump in /etc/apache2

答案1

错误[crit] Memory allocation failed, aborting process.指向内存不足。有相同的问题在 Stack Overflow 上有很好的答案。

您可以添加额外的 RAM,如果不可能,请添加交换或更改 Apache 配置。

相关内容