robbinfan / cloud-perf Goto Github PK
View Code? Open in Web Editor NEWCloud Performance Platform
License: MIT License
Cloud Performance Platform
License: MIT License
按照作者的指引,安装好默认会报如下错误:
2017/09/10 15:12:30 [crit] 20310#0: *1 connect() to unix:/tmp/resty.sock failed (13: Permission denied), client: 10.10.68.94, server: , request: "GET /pprof/profile?remote=10.12.72.132:80&type=profile&stype=pprof HTTP/1.1", host: "10.12.72.132:6699", referrer: "http://10.12.72.132:6699/pprof.html?remote=10.12.72.132:80&type=profile&stype=pprof"
解决办法: 创建cloud帐号,用该帐号启动sockproc,同时在nginx配置文件中配置user cloud;
但是访问
启动sockproc使用默认6699端口: http://10.12.72.132:6699/
输入10.12.72.132:8080 没有任何输出,http resp返回no data.求帮助或提供更多操作(ps:对openresty不熟悉)
ps:
cloud 7386 1 0 Sep10 ? 00:00:00 /home/cloud/cloud-perf/vendor/sockproc/sockproc /tmp/resty.sock /home/cloud/cloud-perf/vendor/sockproc/sockproc.pid
root 32324 1 0 Sep10 ? 00:00:00 nginx: master process ./openresty -p /home/cloud/cloud-perf/
cloud 32325 32324 0 Sep10 ? 00:00:00 nginx: worker process
cloud 2308 2289 0 Sep10 pts/4 00:00:00 ./http
netstat -plna|grep http
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 :::7777 :::* LISTEN 2308/./http
tcp 0 0 :::8080 :::* LISTEN 2308/./http
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.