N
N
name_a2014-08-01 22:16:18
PHP
name_a, 2014-08-01 22:16:18

How to find a DB query that causes the "maximum execution time of 45 seconds exceeded" error?

There is a badly written web service. A lot of logic is in stored procedures. An error appears in the logs every few minutes

PHP Fatal error:  Maximum execution time of 45 seconds exceeded in fileXXX.php on line XXX

Suspicions fall on a DB.
How to isolate long requests, provided that different files (and there are hundreds of them) and lines of code appear in the logs each time?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question