Mine is Ubuntu 14 and I've enabled fpm-event with Apache.
apachectl -V | grep -i mpm shows:
Server MPM: event
It seems those pages which take more than 30 seconds to execute I'm getting this error:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Where should I change the configuration to increase it to day 45 seconds?
In the apache error log I can see:
[Tue Apr 03 16:14:44.259133 2018] [fastcgi:error] [pid 28646:tid 140666243819264] [client 220.127.116.11:60161] FastCGI: comm with server "/usr/lib/cgi-bin/php5-fcgi" aborted: idle timeout (30 sec), referer: http://www.example.com/google-analytics-charts/verify
Actually it is Drupal site which can be extremely slow.