How do I provide my nginx.conf
I'm trying to use the tutorial and get my testing with Test::Nginx started. Here is what I saw
use Test::Nginx::Socket 'no_plan';
run_tests();
__DATA__
=== TEST 1: hello, world
This is just a simple demonstration of the
echo directive provided by ngx_http_echo_module.
--- config
location = /t {
echo "hello, world!";
}
--- request
GET /t
--- response_body
hello, world!
--- error_code: 200
I don't understand how I can use my own server/nginx.cnf to run the tests? This is already starting a server and doing the test. I already have an nginx.cnf that I like to include. How do I do that?
@dingjingzhen It clearly asks you to run the command "debuginfo-install glibc-2.17-222.el7.x86_64" to install the debuginfo package for that glibc package, not the glibc package itself.
The package name should be something like glibc-debuginfo-2.17-222.el7.x86_64.
@agentzh Thank you,i have resolved this question,i intalled a wrong package. But now there is another quetion ,when i use this tool ,always get a wrong flame graph.when it show WARNING: free misses: 1453,it‘s ok,but at sometime,it not show this warning,and the flame graph obvious wrong. stapxx/samples/sample-bt-leaks.sxx -x $1 --arg time=60 --skip-badvars -D MAXSKIPPED=10000000 -D MAXMAPENTRIES=400000 -D STP_NO_OVERLOAD > a.bt. How can i get correct flame graph more stable? I'm sorry to trouble you.