Connection reset by peer) while reading response header from upstream

Hallo,
Since today, my cloud and my Webserver won’t work anymore. I don’t know. I didnt change anything.
Nothing to see at the nextcloud log but in the error message from nginx.

2019/01/23 02:13:02 [error] 1582#1582: *686 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 79.231.215.19, server: cloud.domain.tld, request: "GET /apps/calendar/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "cloud.domain.tld"
2019/01/23 02:14:02 [error] 1582#1582: *706 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 79.231.215.19, server: cloud.domain.tld, request: "GET /apps/calendar/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "cloud.domain.tld"
2019/01/23 02:15:40 [error] 1582#1582: *711 FastCGI sent in stderr: "PHP message:
PHP message:
PHP message:" while reading upstream, client: 18.222.89.148, server: Domain.tld, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "domain.tld"

Php7.2-fpm logfile

[23-Jan-2019 02:13:00] NOTICE: [pool www] child 11970 started
[23-Jan-2019 02:13:02] WARNING: [pool www] child 11970 exited on signal 6 (SIGABRT - core dumped) after 2.063944 seconds from start

Has anyone an idea how can I fix this error?

Nginx
PHP 7.2
Ubuntu 18.04

Hi.
I was just installing new instance of nextcloud on Ubuntu 18.04 LTS. Of course first initiation require lot of time for building new database. I had slow machine. I had the same problem. I make debug log and detail analysis of it.
What was my problem ? Time out of php7.2-fpm.

I solved problem by changing options in /etc/php/7.2/fpm/pool.d/www.conf like that:

[inet]
user = www-data
group = www-data

listen = /var/run/php/php7.2-fpm.sock
pm.max_children = 10
pm.max_requests = 100

request_terminate_timeout = 360s
request_slowlog_timeout = 83s

second file was /etc/php/7.2/fpm/php.ini and changes:

max_execution_time = 95
max_input_time = 65

After that of course you need restart service php7.2-fpm.

I hope it will help you. Cheers.