Php tracking code

So…
I added the tracking code in php on all my sites (about 40) and … it destroyed my server …

With horrifically frightening errors like these:

[Wed Jan 22 22:53:20.956312 2020] [proxy:error] [pid 5873:tid 140225909090048] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.3-fpm.sock (*) failed
[Wed Jan 22 22:53:20.956338 2020] [proxy_fcgi:error] [pid 5873:tid 140225909090048] [client 207.46.13.144:5098] AH01079: failed to make connection to backend: httpd-UDS
AH01075: Error dispatching request to : (polling)
AH00484: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

2 hours of panic before thinking about the tracking code of matomo …
I think something doesn’t work with php code, it sucks all the server …

For 24 hours yesterday I put the code on one site and everything worked without problems, with all the sites after 10 minutes the server exploded …