polarsignals / rust-jemalloc-pprof

Convert jemalloc heap profiles to pprof to understand memory usage, fix memory leaks, and fix OOM Kills.
Apache License 2.0
132 stars 12 forks source link

why profiling not working? #16

Closed yuyang-ok closed 2 months ago

yuyang-ok commented 2 months ago

My process use a lot of memory, But I can't find it.

image image I only found small amount of memory been used??

yuyang-ok commented 2 months ago

and why nodes are so few, becuase of no debug info?

yuyang-ok commented 2 months ago
$ curl 192.168.0.221:33111/debug/pprof/heap > heap.pb.gz  && pprof -http=:8080 heap.pb.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20038  100 20038    0     0   447k      0 --:--:-- --:--:-- --:--:--  455k
Local symbolization failed for datafabric-storage (build ID 31d0e29a0c87dfdc0b5ce8a76fb371e9ece42e1c): CreateFile /usr/bin/datafabric-storage: The system cannot find the path specified.
Local symbolization failed for libcrypto.so.3 (build ID 774aef226915a125987ff800900a0b2ffb88a1cc): CreateFile /lib/x86_64-linux-gnu/libcrypto.so.3: The system cannot find the path specified.
Local symbolization failed for libc.so.6 (build ID 58254ca972028402bc40624f81388d85ec95f70d): CreateFile /lib/x86_64-linux-gnu/libc.so.6: The system cannot find the path specified.
Local symbolization failed for ld-linux-x86-64.so.2 (build ID 0e221d13cd73dac3d7b782778a5f325252903c3e): CreateFile /lib64/ld-linux-x86-64.so.2: The system cannot find the path specified.
Local symbolization failed for libgnutls.so.30 (build ID 86bf2c74daa24a7652afcdbf3cd98d1b4ed1cef2): CreateFile /lib/x86_64-linux-gnu/libgnutls.so.30: The system cannot find the path specified.
Local symbolization failed for libtasn1.so.6 (build ID 1d312752ce136a80ebceeb73404c90fbd4e4f78d): CreateFile /lib/x86_64-linux-gnu/libtasn1.so.6: The system cannot find the path specified.
Local symbolization failed for libquadmath.so.0 (build ID 133bf48eaece3f7192416a17aea0a21b34802efd): CreateFile /lib/x86_64-linux-gnu/libquadmath.so.0: The system cannot find the path specified.
Local symbolization failed for libclntsh.so (build ID 424e1901238e8539d53e4cafab60f2beff2553b8): CreateFile /instantclient_23_5/libclntsh.so: The system cannot find the path specified.
Local symbolization failed for libnnz.so (build ID 09e4334898a55624c1ec69cbb029db0469d8d2d7): CreateFile /instantclient_23_5/libnnz.so: The system cannot find the path specified.
Local symbolization failed for libclntshcore.so.23.1 (build ID 90d4f7f4ab726224e1aaad1da2bf1ff4d25a234c): CreateFile /instantclient_23_5/libclntshcore.so.23.1: The system cannot find the path specified.
Some binary filenames not available. Symbolization may be incomplete.
Try setting PPROF_BINARY_PATH to the search path for local binaries.
Serving web UI on http://localhost:8080

what this error message about?