Comments (16)
Hi, can you tell us:
1, the core file
2, what functions do you monitor
from pinpoint-c-agent.
Thank you for answering the questions.
1、core file
vim /etc/pinpoint_agent.conf
[common]
AgentID=depsit-sit
ApplicationName=Deposit-SIT
collector ip address
CollectorSpanIp=172.16.11.205
CollectorSpanPort=9996
CollectorStatIp=172.16.11.205
CollectorStatPort=9995
CollectorTcpIp=172.16.11.205
CollectorTcpPort=9994
TraceLimit = -1
SkipTraceTime = -1
DEBUG|INFO|WARN|ERROR
PPLogLevel = INFO
LogFileRootPath =/var/log/nginx/
AgentType -> NGINX | APACHE |PHP |TEST
AgentType="PHP"
plugin
PhpInternalFunctionsPlugin
PluginExclude = ExcludePlugin
PluginInclude = PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
[PHP]
PluginEntryFile=plugins_create.php
PluginRootDir=/var/www/rockfintech/web/pinpoint_plugins
;eg: PluginRootDir=/home/apps/php-7.1.0/pinpoint/web/php/plugins
2、Monitor PHP business processes to identify bottlenecks in business flows。
from pinpoint-c-agent.
Hi,
I mean your server crashed. Please refer this article: https://blog.csdn.net/dingqinghui/article/details/77855330?locationNum=9&fps=1. And give us the information of core file. We'll find the reason.
By the way, if you write your plugin, please attach them too. It is helpful to trace the error.
from pinpoint-c-agent.
think,
Let me look at the information first.
from pinpoint-c-agent.
Oh ,no
I opened GDB to collect core files from program crashes. Unfortunately, program no crashes are only intermittent unavailable.look。。。
from pinpoint-c-agent.
[1888900.943007] php-fpm[20245]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888901.227721] php-fpm[20218]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888901.474698] php-fpm[20246]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888901.853368] php-fpm[20185]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888911.167018] do_general_protection: 2 callbacks suppressed
[1888911.169780] traps: php-fpm[20192] general protection ip:8a8877 sp:7ffd2d13de50 error:0 in php-fpm[400000+b05000]
[1888911.348437] php-fpm[20188]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888912.011838] php-fpm[20207]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888913.732453] php-fpm[20200]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888914.112145] php-fpm[20202]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888914.374585] php-fpm[20215]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888936.239477] traps: php-fpm[20224] general protection ip:8a8877 sp:7ffd2d13de50 error:0 in php-fpm[400000+b05000]
[1888940.720534] php-fpm[20222]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.730517] php-fpm[20259]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.741117] php-fpm[20260]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.750855] php-fpm[20231]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.766321] php-fpm[20235]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.782005] php-fpm[20244]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.798857] php-fpm[20225]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.807795] php-fpm[20270]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888940.824685] php-fpm[20272]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1888951.187611] show_signal_msg: 26 callbacks suppressed
[1888951.190441] php-fpm[20309]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888951.984980] php-fpm[20266]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888952.499940] php-fpm[20261]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888953.335069] php-fpm[20268]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888953.860211] traps: php-fpm[20277] general protection ip:8a8877 sp:7ffd2d13de50 error:0 in php-fpm[400000+b05000]
[1888954.137772] php-fpm[20252]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888954.731969] php-fpm[20295]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888955.209923] php-fpm[20298]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d133ed0 error 4 in pinpoint.so[7f62ac173000+192000]
[1888965.819355] traps: php-fpm[20290] general protection ip:7f62ac234138 sp:7ffd2d136270 error:0 in pinpoint.so[7f62ac173000+192000]
[1889001.538194] php-fpm[20283]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.577006] php-fpm[20324]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.588361] php-fpm[20328]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.597320] php-fpm[20327]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.609193] php-fpm[20321]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.621696] php-fpm[20289]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.634980] php-fpm[20323]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.647899] php-fpm[20329]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[1889001.746978] php-fpm[20334]: segfault at 1e ip 00007f62ac234138 sp 00007ffd2d13e670 error 4 in pinpoint.so[7f62ac173000+192000]
[root@sit-all-01 corefile]# ll
total 0
[root@sit-all-01 corefile]# pwd
/srv/corefile
[root@sit-all-01 corefile]# cat /proc/sys/kernel/co
compat-log core_pattern core_pipe_limit core_uses_pid
[root@sit-all-01 corefile]# cat /proc/sys/kernel/co
compat-log core_pattern core_pipe_limit core_uses_pid
[root@sit-all-01 corefile]# cat /proc/sys/kernel/core_pattern
/srv/corefile/core-%e-%p-%t
[root@sit-all-01 corefile]# cat /proc/sys/kernel/core_uses_pid
1
[root@sit-all-01 corefile]# ulimit -c
unlimited
[root@sit-all-01 corefile]#
from pinpoint-c-agent.
Emm... can you check pinpoint_log.txt?
from pinpoint-c-agent.
Do you start PHP's multi-thread support ?
from pinpoint-c-agent.
Yes, PHP multithreading is turned on. Open pinpoint_log.txt, some of the logs are as follows:
2019-01-09 14:18:04 [pinpoint] [22442] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 14:18:04 [pinpoint] [22515] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 14:18:04 [pinpoint] [22515] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 14:18:04 [pinpoint] [22515] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 14:18:04 [pinpoint] [22516] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 14:18:04 [pinpoint] [22516] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 14:18:04 [pinpoint] [22516] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 14:18:04 [pinpoint] [22516] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 14:18:04 [pinpoint] [22518] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 14:18:04 [pinpoint] [22518] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 14:18:04 [pinpoint] [22518] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 14:18:04 [pinpoint] [22518] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 14:18:04 [pinpoint] [22516] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 14:18:04 [pinpoint] [22516] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 14:18:04 [pinpoint] [22518] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 14:18:04 [pinpoint] [22518] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 14:18:04 [pinpoint] [22513] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 14:18:04 [pinpoint] [22514] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 14:18:04 [pinpoint] [22515] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 14:18:04 [pinpoint] [22516] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 14:18:04 [pinpoint] [22518] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 14:18:08 [pinpoint] [20115] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 14:18:08 [pinpoint] [20115] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 14:18:08 [pinpoint] [20115] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
2019-01-09 14:18:28 [pinpoint] [22574] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 14:18:28 [pinpoint] [22574] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 14:18:28 [pinpoint] [22574] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 14:18:28 [pinpoint] [22574] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 14:18:28 [pinpoint] [22574] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 14:18:28 [pinpoint] [22574] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 14:18:28 [pinpoint] [22574] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 14:18:29 [pinpoint] [22574] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 14:18:29 [pinpoint] [20122] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 14:18:29 [pinpoint] [20122] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 14:18:29 [pinpoint] [20122] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
2019-01-09 14:18:44 [pinpoint] [20138] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 14:18:44 [pinpoint] [20138] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 14:18:44 [pinpoint] [20138] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
2019-01-09 14:18:47 [pinpoint] [20132] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 14:18:47 [pinpoint] [20132] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 14:18:47 [pinpoint] [20132] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
2019-01-09 14:18:50 [pinpoint] [22680] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 14:18:50 [pinpoint] [22680] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 14:18:50 [pinpoint] [22680] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 14:18:50 [pinpoint] [22680] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 14:18:50 [pinpoint] [22680] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 14:18:50 [pinpoint] [22680] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 14:18:50 [pinpoint] [22680] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 14:18:51 [pinpoint] [22680] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
from pinpoint-c-agent.
From the log
2019-01-09 14:18:08 [pinpoint] [20115] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 14:18:08 [pinpoint] [20115] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
Did you modify the curlplugins.php? If you did, make it pass.
from pinpoint-c-agent.
I didn't modify the curl_plugin file. I thought I wanted to make a judgment in the program code. I could try make pass pinpoint again.
from pinpoint-c-agent.
After recompiling, the old files are replaced, and the same error is reported when running the PHP program.
2019-01-09 16:30:05 [pinpoint] [18242] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 16:30:05 [pinpoint] [18242] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 16:30:05 [pinpoint] [20092] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [16126] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [16126] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [16126] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 16:30:05 [pinpoint] [16126] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 16:30:05 [pinpoint] [16159] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [16159] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [16159] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 16:30:05 [pinpoint] [16159] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 16:30:05 [pinpoint] [20109] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [20124] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [20147] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [20147] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [20147] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 16:30:05 [pinpoint] [20147] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 16:30:05 [pinpoint] [20147] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 16:30:05 [pinpoint] [20147] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 16:30:05 [pinpoint] [16159] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 16:30:05 [pinpoint] [16159] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 16:30:05 [pinpoint] [20158] trace_data_sender.cpp:42 [INFO] TraceDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [20158] api_data_sender.cpp:240 [INFO] ApiDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [20158] string_data_sender.cpp:95 [INFO] StringDataSender::init() start.
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_agent.cpp:471 [INFO] PinpointAgent::registerPlugins len(plugins)=4
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_agent.cpp:472 [INFO] PinpointAgent::registerPlugins include=PhpRequestPlugin;QuickStartPlugin ; PhpInternalFunctionsPlugin ;ExcludePlugin ;PDOPlugin;CurlPlugin;
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_agent.cpp:473 [INFO] PinpointAgent::registerPlugins exclude=ExcludePlugin
2019-01-09 16:30:05 [pinpoint] [20158] request_plugin.cpp:90 [INFO] PhpRequestInterceptor::init() SUCCESS!
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_agent.cpp:514 [INFO] plugin=ExcludePlugin in excludes, ignore!
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_ext.cpp:411 [INFO] pinpoint agent start !!! code = 0
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_client.cpp:193 [INFO] start_connect: 172.26.131.205:9994
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_client.h:272 [INFO] state change: 1 => 3
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_client.cpp:251 [INFO] 172.26.131.205:9994 Connect success.
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_client.h:272 [INFO] state change: 3 => 10
2019-01-09 16:30:05 [pinpoint] [20158] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 16:30:05 [pinpoint] [20158] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 16:30:05 [pinpoint] [16126] hand_shake_sender.cpp:205 [INFO] get control message: ControlMessage[type=map; data=(ControlMessage[type=string; data=(code)]=>ControlMessage[type=long; data=(0)], ControlMessage[type=string; data=(subCode)]=>ControlMessage[type=long; data=(2)])]
2019-01-09 16:30:05 [pinpoint] [16126] hand_shake_sender.cpp:234 [INFO] handshake response code = Duplex Connection successfully established.
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_client.h:272 [INFO] state change: 10 => 12
2019-01-09 16:30:05 [pinpoint] [20140] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [16146] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [18216] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [18242] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [20147] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [16159] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [20158] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [16126] pinpoint_ping.cpp:63 [INFO] send ping: pingId=0, stateVersion=0, stateCode=12
2019-01-09 16:30:05 [pinpoint] [16203] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 16:30:05 [pinpoint] [16203] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 16:30:05 [pinpoint] [16203] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
2019-01-09 16:30:08 [pinpoint] [16253] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 16:30:08 [pinpoint] [16253] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 16:30:08 [pinpoint] [16253] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
2019-01-09 16:30:09 [pinpoint] [16256] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 16:30:09 [pinpoint] [16256] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 16:30:09 [pinpoint] [16256] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
2019-01-09 16:30:11 [pinpoint] [16259] php_common.cpp:961 [ERROR] w_zend_call_method throw: [exception: Undefined index: port in /var/www/rockfintech/deposit_api_sit/pinpoint_plugins/curl_plugin.php on line 114]
2019-01-09 16:30:11 [pinpoint] [16259] php_interfaces.cpp:969 [ERROR] Interceptor name=[curl_setopt] onbefore failed!!! please check your code!!!
2019-01-09 16:30:11 [pinpoint] [16259] trace.cpp:481 [ERROR] mark bad trace !!! check your plugins...
from pinpoint-c-agent.
@gebiwws @eeliu
PHP multithreading is turned on. I think this is the reason. Until now, we do not support PHP multithread. Sorry. Maybe next version...
from pinpoint-c-agent.
I'm a little confused about PHP multithreading! I understand multithreading as multiple php-fpm threads providing services. What do you understand about PHP multithreading?
from pinpoint-c-agent.
我也遇到此问题了
PHP 7.2.13 扩展了pinpoint.ini 就会出现502
所以我转向了skywalking了
from pinpoint-c-agent.
@lianfulei
@gebiwws
we had released a new version v0.2.0 to handle such scene.
zts had supported, hope you to take a try.
from pinpoint-c-agent.
Related Issues (20)
- Anyone available for consultation work for Pinpoint python agent for monitoring Django application HOT 4
- remove unique id at agent HOT 1
- send data error:(Broken pipe) fd:(16) HOT 3
- PHP agent 설치 HOT 1
- PHP Agent 설치 HOT 5
- python flask agent registry failed
- Is there a thrift version for collector agent HOT 4
- [BUG] No call chain when python application call MySql HOT 1
- [BUG] no data displying in Pinpoint Web when send requests
- I need some help HOT 66
- need some help. I use pinpointPy==1.2.0, found this: NotImplementedError("set_parent_id") HOT 2
- Not able to trace PostgreSql transactions HOT 4
- [BUG] PinpointPy error handling HOT 3
- [FEATURE] Support for psycopg2-binary HOT 3
- pinpoint-c-agent arm build HOT 3
- Method not found: v1.Agent/RequestAgentInfo HOT 4
- How Get TraceId And SpanId In Flask HOT 3
- [Python] trace exclude url HOT 4
- Python Redis HOT 1
- Redis Collections Not release HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinpoint-c-agent.