php-spx
php-spx copied to clipboard
network error when loading a fairly big report 33m function calls
I'm receiving the following error in console when loading a fairly big profile. After a few minutes this appears on chrome. Firefox runs the whole first step and shows the same error in step 2.
phpinfo.php?SPX_UI_URI=/report.html&key=spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705:145 GET https://dev.example.gr/phpinfo.php?SPX_UI_URI=/data/reports/get/spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705 net::ERR_HTTP2_PROTOCOL_ERROR 200
(anonymous) @ phpinfo.php?SPX_UI_URI=/report.html&key=spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705:145
Promise.then (async)
(anonymous) @ phpinfo.php?SPX_UI_URI=/report.html&key=spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705:142
j @ jquery-3.2.1.min.js:2
k @ jquery-3.2.1.min.js:2
setTimeout (async)
(anonymous) @ jquery-3.2.1.min.js:2
i @ jquery-3.2.1.min.js:2
fireWith @ jquery-3.2.1.min.js:2
fire @ jquery-3.2.1.min.js:2
i @ jquery-3.2.1.min.js:2
fireWith @ jquery-3.2.1.min.js:2
ready @ jquery-3.2.1.min.js:2
S @ jquery-3.2.1.min.js:3
phpinfo.php?SPX_UI_URI=/report.html&key=spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705:296 TypeError: network error
(anonymous) @ phpinfo.php?SPX_UI_URI=/report.html&key=spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705:296
Promise.catch (async)
(anonymous) @ phpinfo.php?SPX_UI_URI=/report.html&key=spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705:294
j @ jquery-3.2.1.min.js:2
k @ jquery-3.2.1.min.js:2
setTimeout (async)
(anonymous) @ jquery-3.2.1.min.js:2
i @ jquery-3.2.1.min.js:2
fireWith @ jquery-3.2.1.min.js:2
fire @ jquery-3.2.1.min.js:2
i @ jquery-3.2.1.min.js:2
fireWith @ jquery-3.2.1.min.js:2
ready @ jquery-3.2.1.min.js:2
S @ jquery-3.2.1.min.js:3
Profile info
{
"key": "spx-full-20200409_215125-vhosting02.example.gr-5837-1067014705",
"exec_ts": 1586458285,
"host_name": "vhosting02.example.gr",
"process_pid": 5837,
"process_tid": 5837,
"process_pwd": "/",
"cli": 0,
"cli_command_line": "n/a",
"http_request_uri": "/index.php/admin_example/xautoimportall_profile/categorymapping/id/10/key/ba30e6e46a874855ab8733980d3f2007/?isAjax=true",
"http_method": "POST",
"http_host": "www.example.gr",
"wall_time_ms": 3084075329,
"peak_memory_usage": 42207472,
"called_function_count": 1216,
"call_count": 33652613,
"recorded_call_count": 33652613,
"enabled_metrics": [
"wt"
,"zm"
]
}
Is there something interesting in your http server logs or PHP/FPM logs ? For instance nginx closing the connection because a timeout is reached.
Sorry for the delay. I've tried in multiple attempts to find anything meaningful in the logs but unfortunately nothing appears that's meaningful. Just successful responses. I have set nginx timeout at 3600 seconds so it shouldn't cause any timeouts