Я пытался решить эту ошибку времени ожидания шлюза, но безуспешно:

2019/02/11 10:35:15 [error] 1996#1996: 79729076 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/www/myserv.org/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107
PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/www/myserv.org/htdocs/vendor/symfony/debug/ErrorHandler.php on line 603" while reading response header from upstream, client: 193.239.192.148, server: myserv.org, request: "GET /stats HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "myserv.org"
2019/02/11 10:50:51 [error] 1998#1998: 79751637 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/www/myserv.org/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107
PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0
PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0" while reading response header from upstream, client: 193.239.192.152, server: myserv.org, request: "POST /profile HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "myserv.org", referrer: "https://myserv.org/profile";

Есть идеи ?

0