Welcome! Log In Create A New Profile

Advanced

Using perf command for nginx process

Mahmood Naderan
April 12, 2020 02:22AM
Hi,
I wonder if anybody here have tried perf command with nginx service. While
the service is up, I ran a wrk command from another computer as below

./wrk -t1 -c100 -d200s http://10.1.1.130

On the server, the nginx process is 100% and then I attached perf command
like

$ sudo perf record -e instructions:u --branch-filter any,u -o perf.data -p 32594
^C[ perf record: Woken up 465 times to write data ]
[ perf record: Captured and wrote 117.326 MB perf.data (284800 samples) ]


Now, when I check the buildid-list, I don't see any sign for the nginx
binary

$ sudo perf buildid-list -i perf.data
3a2171019937a2070663f3b6419330223bd64e96 [kernel.kallsyms]
b5381a457906d279073822a5ceb24c4bfef94ddb /lib/x86_64-linux-gnu/libc-2.23.so
ce17e023542265fc11d9bc8f534bb4f070493d30
/lib/x86_64-linux-gnu/libpthread-2.23.so
631c69f65c00d3e6d3ee6108202e9c323a21ce28 [vdso]


Any idea to more investigation?


Regards,
Mahmood
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Using perf command for nginx process

Mahmood Naderan April 12, 2020 02:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 283
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready