Comments (11)
from skyapm-php-sdk.
from skyapm-php-sdk.
from skyapm-php-sdk.
是同一个用户
from skyapm-php-sdk.
请执行如下操作,并反馈
ps aux | grep php
ps aux | grep report_client
ls -l /tmp/sky_agent*
from skyapm-php-sdk.
from skyapm-php-sdk.
明显不在一个用户运行,使用www-data 运行 report_client 就好了
from skyapm-php-sdk.
能上传日志了,但是有个问题。nginx报错,有些接口返回正常,个别接口请求返回 502. 不是因为超时,nginx日志如下:
2019/07/20 11:36:23 [error] 7#7: *856 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /place/search HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000"
杀掉report_client进程,接口请求都是正常的。
其中一个返回502的接口是请求elastic search,search索引。用的是官方的es-php sdk。
from skyapm-php-sdk.
我修改了php-fpm.conf也不起作用。修改如下:
pm = dynamic
pm.max_children = 200
pm.start_servers = 30
pm.min_spare_servers = 15
pm.max_spare_servers = 45
pm.max_requests = 10000
rlimit_files = 51200
request_terminate_timeout = 150
request_slowlog_timeout = 8s
slowlog = /data/www-slow.log
from skyapm-php-sdk.
from skyapm-php-sdk.
对,都是特定接口,目前就两个接口这样,一个是请求阿里云oss上传图片的,一个是请求elastic search的搜索。
杀掉report_client进程,接口请求都是正常的。
from skyapm-php-sdk.
Related Issues (20)
- centos安装成功之后前端没有数据展示 HOT 10
- hyperf(swoole) 上报数据异常,报FRAME_SIZE_ERROR HOT 4
- 关于skywalking时间的问题 HOT 5
- receive content is empty HOT 5
- sw extension compile failed at the 200th rust pkg. HOT 2
- sky-php-agent不能注册 HOT 1
- 4.2版本tars框架服务没有数据上报 HOT 9
- skywalking 9.1.0版本前端页面显示数据有延时 HOT 1
- docker部署8.9.1仪表盘显示异常 HOT 1
- 执行 php -v , php -m Segmentation fault (core dumped) HOT 3
- 数据无法上报:sky_core_report_ipc_send err message queue is fulled HOT 18
- skywalking.oap_authentication 支持这个参数吗? HOT 2
- skywakling导致php命令行终止执行 HOT 1
- 引入skywalking后,当访问增加时,进程被杀掉了
- 安装skywalking扩展后,执行php脚本报错
- sky_request_flush message_queue exNo such file or directory
- Error relocating skywalking.so: rc_dtor_func: symbol not found HOT 1
- 5.0.1 不配置 service_instance 不上报数据,配置 service_instance 上报为空
- 数据没有显现
- php skywalking 5.0.1 没有mysql和redis 等链路监控数据 HOT 2
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 skyapm-php-sdk.