I would recommend to try setting
server_timeout to a lower value. The default is
30s which is 30 seconds. You can try setting ti to
It seems like PHP agent blocks calls, thus impacting the end users.
This should not happen - the agent sends the events to APM server after the response has been already sent to the HTTP client. A possible situation when APM server timeout can affect the clients is when the web server is single-process/thread (for example built-in PHP web server) because the next request cannot start until the agent finished sending the events (or aborted the sent because of the timeout). Is your web server single-process/thread?