-
Notifications
You must be signed in to change notification settings - Fork 104
The 502 error occasionally occurs in the php7.3 version, and the SkyAPM-php-sdk used is version 3.3.2 #266
Comments
Open coredump to view the reason |
GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git |
Can you provide the PHP program that went wrong? |
There is no error in the code, operating the database and redis and http calls. That is, there is a 502 error, and the code is associated with more content. |
No, Agent loaded inside |
This problem should be that the php-fpm process will be killed for a certain number of concurrent curls, but the specific problem has not been resolved. |
Provide an example |
There is too much code relevance to provide. What could be the cause? |
[Thread debugging using libthread_db enabled] Could you please help to see the specific problem gdb) zbacktrace https://github.com/php-http/message/blob/v1.7.1/src/filters.php |
Caused by stream_filter_register? |
Zbacktrace debugging with php.gdbinit looks like this. |
Describe the bug
When the SkyAPM-php-sdk used is version 3.3.2, the 502 bad gateway occasionally ocuurs in the php7.3 version。
But the errors don't ocuurs in the php7.0 and 7.1 version。
The development environment uses php-fpm+nginx to run, and the traffic is not large。
Skywaling's log collection is normal, that is, 502 occasionally appears in version 7.3。
PHP (please complete the following information):
PHP 7.3.12-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Nov 28 2019 07:37:16) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.12, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.12-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
Additional context
nginx version: nginx/1.14.0 (Ubuntu)
nginx error log
2020/09/11 16:19:43 [error] 16467#16467: *18964 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: xxxx, request: "GET /api/tool/coco/tag/list?course_id=824901229 HTTP/1.0", upstream: "fastcgi://127.0.0.1:9073", host: "xxx.com"
How should I fix this problem?
The text was updated successfully, but these errors were encountered: