Post your project for free and start receiving proposals from freelancers within minutes after publication!
Error 502 on the server. The Killer. Need to remove
There was a error 502 on the server.The site lie.I need to fix.Make your budget yourself.In the tech subtitles Beget wrote:
Welcome to.The error 502 occurred because the php7.4-fpm unit was forced to complete the oom-killer:
root@nnzybyjhfi:~# grep -ni 'killed' /var/log/syslog♰ tail
14598:Apr 7 07:20:18 nnzybyjhfi kernel: [ 59.196208] From Memory: Killed process 1264 (php-fpm7.4) total-vm:440644kB, anon-rss:Bss :44136kB, UID:1001 pgtables:536kB oom_score_adj:0
14599:Apr 7 07:20:18 nnzybyjhfi systemd[1]: php7.4-fpm.service: The structure of this union must be reduced to OOM killer.15936:Apr 7 07:25:10 nnzybyjhfi kernel: [ 238.127124] From Memory: Killed process 5204 (php-fpm7.4) total-vm:411244kB, anon-rssk:B :70556kB, UID:1001 pgtables:524kB oom_score_adj:0
15938:Apr 7 07:25:11 nnzybyjhfi systemd[1]: php7.4-fpm.service: In the process of this unity will be thrown into the OOM killer.17237:Apr 7 07:49:52 nnzybyjhfi kernel: [ 702.391086] From Memory: Killed process 4480 (php-fpm7.4) total-vm:426200kB, anon-rss8:B :73704kB, UID:1001 pgtables:560kB oom_score_adj:0
17238:Apr 7 07:49:52 nnzybyjhfi systemd[1]: php7.4-fpm.service: In the process of this unity will be thrown into the OOM killer.18648:Apr 7 08:37:57 nnzybyjhfi kernel: [ 366.092049] From Memory: Killed process 11079 (php-fpm7.4) total-vm:412420kB, anon-rss8: :69852kB, UID:1001 pgtables:508kB oom_score_adj:0
18649:Apr 7 08:37:57 nnzybyjhfi systemd[1]: php7.4-fpm.service: The structure of this union must be reduced into the OOM killer.root@nnzybyjhfi:~#
Unity is now restarted, the site is available, screenshot in the deposit.Oom-killer operations talk about a problem with a lack of operational memory.If this problem will be repeated, you can increase the volume of the VPS server operating memory in the settings to solve the problem.You can also add tasks to check the state of the final process and reboot it in case of its forced completion or protect the process from OOM Killer in the way described in this article: http://geckich.blogspot.com/2013/12/linux-out- of-memory-killer-oom.html
If high memory consumption occurs in a short time, you can create a swap file or increase its size.I will note that the swap has a lower speed compared to the operating memory and is not suitable for cases where the application speed is required (e.g. for a web server or database server)
Welcome to.The error 502 occurred because the php7.4-fpm unit was forced to complete the oom-killer:
root@nnzybyjhfi:~# grep -ni 'killed' /var/log/syslog♰ tail
14598:Apr 7 07:20:18 nnzybyjhfi kernel: [ 59.196208] From Memory: Killed process 1264 (php-fpm7.4) total-vm:440644kB, anon-rss:Bss :44136kB, UID:1001 pgtables:536kB oom_score_adj:0
14599:Apr 7 07:20:18 nnzybyjhfi systemd[1]: php7.4-fpm.service: The structure of this union must be reduced to OOM killer.15936:Apr 7 07:25:10 nnzybyjhfi kernel: [ 238.127124] From Memory: Killed process 5204 (php-fpm7.4) total-vm:411244kB, anon-rssk:B :70556kB, UID:1001 pgtables:524kB oom_score_adj:0
15938:Apr 7 07:25:11 nnzybyjhfi systemd[1]: php7.4-fpm.service: In the process of this unity will be thrown into the OOM killer.17237:Apr 7 07:49:52 nnzybyjhfi kernel: [ 702.391086] From Memory: Killed process 4480 (php-fpm7.4) total-vm:426200kB, anon-rss8:B :73704kB, UID:1001 pgtables:560kB oom_score_adj:0
17238:Apr 7 07:49:52 nnzybyjhfi systemd[1]: php7.4-fpm.service: In the process of this unity will be thrown into the OOM killer.18648:Apr 7 08:37:57 nnzybyjhfi kernel: [ 366.092049] From Memory: Killed process 11079 (php-fpm7.4) total-vm:412420kB, anon-rss8: :69852kB, UID:1001 pgtables:508kB oom_score_adj:0
18649:Apr 7 08:37:57 nnzybyjhfi systemd[1]: php7.4-fpm.service: The structure of this union must be reduced into the OOM killer.root@nnzybyjhfi:~#
Unity is now restarted, the site is available, screenshot in the deposit.Oom-killer operations talk about a problem with a lack of operational memory.If this problem will be repeated, you can increase the volume of the VPS server operating memory in the settings to solve the problem.You can also add tasks to check the state of the final process and reboot it in case of its forced completion or protect the process from OOM Killer in the way described in this article: http://geckich.blogspot.com/2013/12/linux-out- of-memory-killer-oom.html
If high memory consumption occurs in a short time, you can create a swap file or increase its size.I will note that the swap has a lower speed compared to the operating memory and is not suitable for cases where the application speed is required (e.g. for a web server or database server)
Another 2 proposals concealed