Sometimes I got error message:
stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known
I found that problem is always with php-fpm, because after restarting php-fpm service its working well again. Its happen randomly on 1-3 month periods. Or it will happen when name resolve functions are used many times in one php session. My server is CentOS 7.5, Apache 2.4, PHP 7.x, updated. Do you know what problem should be?
In log I see only some:
WARNING:server reached pm.max_children setting (8), consider raising it
but it workx normal.