Вчера вечером в одно время перестал работать сайт, ssh и sftp не отвечали. Пришлось перезапускать. Примерно месяц назад была та же ситуация. Как можно найти виновника падения? CentOS 7, с 3 ядрами и в сумме 2848 мб оперативной. Установлен апач и mysql.
Привожу текст логов перед выключением:
Mar 12 20:42:21 kulesh kernel: 42673 total pagecache pages
Mar 12 20:42:21 kulesh kernel: 0 pages in swap cache
Mar 12 20:42:21 kulesh kernel: Swap cache stats: add 0, delete 0, find 0/0
Mar 12 20:42:21 kulesh kernel: Free swap = 0kB
Mar 12 20:42:21 kulesh kernel: Total swap = 0kB
Mar 12 20:42:21 kulesh kernel: 786330 pages RAM
Mar 12 20:42:21 kulesh kernel: 0 pages HighMem/MovableOnly
Mar 12 20:42:21 kulesh kernel: 57203 pages reserved
Mar 12 20:42:21 kulesh kernel: [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
Mar 12 20:42:21 kulesh kernel: [ 341] 0 341 12802 2309 31 0 0 systemd-journal
Mar 12 20:42:21 kulesh kernel: [ 350] 0 350 10582 136 22 0 -1000 systemd-udevd
Mar 12 20:42:21 kulesh kernel: [ 410] 0 410 29177 121 25 0 -1000 auditd
Mar 12 20:42:21 kulesh kernel: [ 432] 0 432 82400 4230 82 0 0 firewalld
Mar 12 20:42:21 kulesh kernel: [ 435] 0 435 82691 2839 82 0 0 rsyslogd
Mar 12 20:42:21 kulesh kernel: [ 436] 0 436 4788 56 14 0 0 irqbalance
Mar 12 20:42:21 kulesh kernel: [ 438] 0 438 137539 3645 88 0 0 tuned
Mar 12 20:42:21 kulesh kernel: [ 439] 0 439 8671 82 22 0 0 systemd-logind
Mar 12 20:42:21 kulesh kernel: [ 440] 81 440 6674 123 17 0 -900 dbus-daemon
Mar 12 20:42:21 kulesh kernel: [ 442] 0 442 31575 153 18 0 0 crond
Mar 12 20:42:21 kulesh kernel: [ 449] 0 449 27501 31 9 0 0 agetty
Mar 12 20:42:21 kulesh kernel: [ 519] 0 519 108366 470 61 0 0 NetworkManager
Mar 12 20:42:21 kulesh kernel: [ 586] 999 586 128590 1967 47 0 0 polkitd
Mar 12 20:42:21 kulesh kernel: [ 913] 0 913 20627 214 41 0 -1000 sshd
Mar 12 20:42:21 kulesh kernel: [ 1873] 0 1873 22987 280 46 0 0 master
Mar 12 20:42:21 kulesh kernel: [ 1896] 89 1896 23030 274 46 0 0 qmgr
Mar 12 20:42:21 kulesh kernel: [ 8605] 0 8605 31500 236 17 0 0 screen
Mar 12 20:42:21 kulesh kernel: [ 8606] 0 8606 28871 130 15 0 0 bash
Mar 12 20:42:21 kulesh kernel: [10938] 27 10938 28804 74 15 0 0 mysqld_safe
Mar 12 20:42:21 kulesh kernel: [11114] 27 11114 422132 32355 126 0 0 mysqld
Mar 12 20:42:21 kulesh kernel: [11640] 0 11640 124512 4472 180 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [14609] 0 14609 31399 109 16 0 0 screen
Mar 12 20:42:21 kulesh kernel: [14610] 0 14610 28871 125 13 0 0 bash
Mar 12 20:42:21 kulesh kernel: [19241] 0 19241 31494 207 17 0 0 screen
Mar 12 20:42:21 kulesh kernel: [19242] 0 19242 28871 127 15 0 0 bash
Mar 12 20:42:21 kulesh kernel: [22538] 0 22538 31463 189 16 0 0 screen
Mar 12 20:42:21 kulesh kernel: [22539] 0 22539 28871 129 15 0 0 bash
Mar 12 20:42:21 kulesh kernel: [30959] 0 30959 31565 294 16 0 0 screen
Mar 12 20:42:21 kulesh kernel: [30960] 0 30960 28838 105 15 0 0 bash
Mar 12 20:42:21 kulesh kernel: [30999] 0 30999 31503 219 16 0 0 screen
Mar 12 20:42:21 kulesh kernel: [31000] 0 31000 28838 105 14 0 0 bash
Mar 12 20:42:21 kulesh kernel: [ 3339] 0 3339 31767 503 17 0 0 screen
Mar 12 20:42:21 kulesh kernel: [ 3340] 0 3340 28838 104 13 0 0 bash
Mar 12 20:42:21 kulesh kernel: [ 2105] 48 2105 152405 5803 187 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [ 3801] 48 3801 153161 5772 189 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [10601] 0 10601 31432 147 15 0 0 screen
Mar 12 20:42:21 kulesh kernel: [10602] 0 10602 28838 104 15 0 0 bash
Mar 12 20:42:21 kulesh kernel: [10626] 0 10626 31422 186 19 0 0 watch
Mar 12 20:42:21 kulesh kernel: [16645] 48 16645 152392 5604 186 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [19730] 0 19730 28869 119 14 0 0 bash
Mar 12 20:42:21 kulesh kernel: [19750] 0 19750 28838 103 14 0 0 bash
Mar 12 20:42:21 kulesh kernel: [19765] 0 19765 28838 106 14 0 0 bash
Mar 12 20:42:21 kulesh kernel: [30761] 48 30761 152660 5495 186 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [ 2759] 48 2759 152651 5381 186 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [ 2769] 48 2769 152344 5037 185 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [ 3237] 48 3237 152358 4898 186 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [ 3523] 48 3523 152539 4884 185 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [ 6650] 48 6650 152512 5046 186 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [12108] 48 12108 152741 5382 186 0 0 httpd
Mar 12 20:42:21 kulesh kernel: [19459] 0 19459 28280 53 13 0 0 start-19133.sh
Mar 12 20:42:21 kulesh kernel: [21516] 0 21516 33321 294 68 0 0 sshd
Mar 12 20:42:21 kulesh kernel: [21518] 0 21518 13164 140 31 0 0 sftp-server
Mar 12 20:42:21 kulesh kernel: [21556] 0 21556 28838 107 15 0 0 bash
Mar 12 20:42:21 kulesh kernel: [21598] 0 21598 338292 212895 457 0 0 php
Mar 12 20:42:21 kulesh kernel: [21689] 0 21689 31366 60 18 0 0 screen
Mar 12 20:42:21 kulesh kernel: [21690] 0 21690 31465 174 16 0 0 screen
Mar 12 20:42:21 kulesh kernel: [21691] 0 21691 28838 104 14 0 0 bash
Mar 12 20:42:21 kulesh kernel: [21706] 0 21706 28280 52 12 0 0 start.sh
Mar 12 20:42:21 kulesh kernel: [21774] 0 21774 33288 314 68 0 0 sshd
Mar 12 20:42:21 kulesh kernel: [21776] 0 21776 28837 100 14 0 0 bash
Mar 12 20:42:21 kulesh kernel: [21797] 0 21797 31366 64 19 0 0 screen
Mar 12 20:42:21 kulesh kernel: [21923] 0 21923 487736 342277 715 0 0 php
Mar 12 20:42:21 kulesh kernel: [22042] 89 22042 23013 273 46 0 0 pickup
Mar 12 20:42:21 kulesh kernel: [22190] 0 22190 33288 292 67 0 0 sshd
Mar 12 20:42:21 kulesh kernel: [22192] 0 22192 13164 143 29 0 0 sftp-server
Mar 12 20:42:21 kulesh kernel: [22201] 0 22201 170099 21526 88 0 0 php
Mar 12 20:42:21 kulesh kernel: Out of memory: Kill process 21923 (php) score 456 or sacrifice child
Mar 12 20:42:21 kulesh kernel: Killed process 21923 (php) total-vm:1950944kB, anon-rss:1369108kB, file-rss:0kB
Mar 12 20:42:28 kulesh systemd-logind: New session 802 of user root.
Mar 12 20:42:28 kulesh systemd: Starting Session 802 of user root.
Mar 12 20:42:28 kulesh systemd: Started Session 802 of user root.
Mar 12 20:43:04 kulesh kernel: net_ratelimit: 6 callbacks suppressed
Mar 12 20:45:31 kulesh kernel: net_ratelimit: 4 callbacks suppressed
Mar 12 20:46:05 kulesh kernel: net_ratelimit: 1 callbacks suppressed
Mar 12 20:46:13 kulesh kernel: net_ratelimit: 2 callbacks suppressed
Mar 12 20:47:10 kulesh kernel: net_ratelimit: 3 callbacks suppressed
Mar 12 20:47:23 kulesh systemd-logind: Removed session 798.
Mar 12 20:47:25 kulesh kernel: net_ratelimit: 1 callbacks suppressed
Mar 12 20:48:53 kulesh kernel: net_ratelimit: 1 callbacks suppressed
Mar 12 20:49:40 kulesh kernel: net_ratelimit: 3 callbacks suppressed
Mar 12 20:49:46 kulesh kernel: net_ratelimit: 1 callbacks suppressed
Mar 12 20:50:35 kulesh kernel: net_ratelimit: 1 callbacks suppressed
Mar 12 20:50:45 kulesh kernel: net_ratelimit: 3 callbacks suppressed
Mar 12 20:51:09 kulesh kernel: net_ratelimit: 6 callbacks suppressed
Mar 12 20:51:26 kulesh kernel: net_ratelimit: 2 callbacks suppressed
Mar 12 20:51:56 kulesh kernel: net_ratelimit: 3 callbacks suppressed
Mar 12 20:52:30 kulesh kernel: net_ratelimit: 1 callbacks suppressed
Mar 12 20:53:29 kulesh kernel: net_ratelimit: 5 callbacks suppressed