Code Monkey home page Code Monkey logo

cloud-perf's Issues

搭建好输入目标url和端口没有结果,求帮助

按照作者的指引,安装好默认会报如下错误:
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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.