Created
July 2, 2019 18:29
-
-
Save Fivell/8766b65d6e80620ca56edf0702f6ca9f to your computer and use it in GitHub Desktop.
heapy read dump.txt all
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Analyzing Heap (Generation: all) | |
| ------------------------------- | |
| allocated by memory (20764682) (in bytes) | |
| ============================== | |
| 10015347 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 6298848 /usr/lib/ruby/2.5.0/webrick/server.rb:286 | |
| 1050325 eval:1 | |
| 1049592 /usr/lib/ruby/2.5.0/webrick/utils.rb:202 | |
| 1049480 /usr/lib/ruby/2.5.0/webrick/utils.rb:187 | |
| 1049480 /root/prometheus_exporter/lib/prometheus_exporter/server/web_server.rb:101 | |
| 89712 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:16 | |
| 58968 /usr/lib/ruby/2.5.0/socket.rb:1313 | |
| 9786 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 3744 /root/prometheus_exporter/lib/prometheus_exporter/server/web_collector.rb:61 | |
| 3456 /usr/lib/ruby/2.5.0/webrick/utils.rb:222 | |
| 3400 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:291 | |
| 2837 /root/prometheus_exporter/lib/prometheus_exporter/server/web_server.rb:58 | |
| 2496 /root/prometheus_exporter/lib/prometheus_exporter/server/web_collector.rb:59 | |
| 2408 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:72 | |
| 2356 /usr/lib/ruby/2.5.0/webrick/httputils.rb:151 | |
| 2245 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 2240 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:13 | |
| 1800 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:478 | |
| 1760 /usr/lib/ruby/2.5.0/webrick/httputils.rb:144 | |
| 1760 /usr/lib/ruby/2.5.0/webrick/server.rb:89 | |
| 1710 /root/prometheus_exporter/lib/prometheus_exporter/server/runner.rb:14 | |
| 1642 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:15 | |
| 1640 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:70 | |
| 1640 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:69 | |
| 1598 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 1586 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:14 | |
| 1440 /usr/lib/ruby/2.5.0/uri/generic.rb:596 | |
| 1414 /root/prometheus_exporter/lib/prometheus_exporter/server/unicorn_collector.rb:5 | |
| 1414 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:4 | |
| 1344 /usr/lib/ruby/2.5.0/webrick/utils.rb:236 | |
| 1344 /usr/lib/ruby/2.5.0/webrick/utils.rb:233 | |
| 1344 /root/prometheus_exporter/lib/prometheus_exporter/metric/counter.rb:23 | |
| 1248 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:102 | |
| 1240 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:166 | |
| 1174 /root/prometheus_exporter/lib/prometheus_exporter/server/hutch_collector.rb:4 | |
| 1120 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:37 | |
| 1064 /usr/lib/ruby/2.5.0/webrick/server.rb:179 | |
| 1056 /root/prometheus_exporter/lib/prometheus_exporter/metric/counter.rb:9 | |
| 1040 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:17 | |
| 1040 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:16 | |
| 1008 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:71 | |
| 1006 /root/prometheus_exporter/lib/prometheus_exporter/server/runner.rb:12 | |
| 1006 /root/prometheus_exporter/lib/prometheus_exporter/server/runner.rb:11 | |
| 928 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:441 | |
| 912 /usr/lib/ruby/2.5.0/webrick/server.rb:290 | |
| 912 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:196 | |
| 912 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:195 | |
| 880 /usr/lib/ruby/2.5.0/webrick/httputils.rb:204 | |
| 840 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:290 | |
| object count (115452) | |
| ============================== | |
| 114344 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 64 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 58 /usr/lib/ruby/2.5.0/webrick/httputils.rb:151 | |
| 49 /usr/lib/ruby/2.5.0/webrick/server.rb:286 | |
| 33 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 33 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:291 | |
| 31 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 26 /usr/lib/ruby/2.5.0/webrick/utils.rb:222 | |
| 25 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:70 | |
| 25 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:69 | |
| 22 /usr/lib/ruby/2.5.0/webrick/httputils.rb:204 | |
| 21 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:14 | |
| 20 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:15 | |
| 18 eval:1 | |
| 18 /usr/lib/ruby/2.5.0/webrick/server.rb:290 | |
| 18 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:196 | |
| 18 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:195 | |
| 15 /usr/lib/ruby/2.5.0/webrick/httputils.rb:144 | |
| 15 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:478 | |
| 15 /usr/lib/ruby/2.5.0/webrick/httpservlet/abstract.rb:103 | |
| 13 /root/prometheus_exporter/lib/prometheus_exporter/server/web_collector.rb:61 | |
| 13 /root/prometheus_exporter/lib/prometheus_exporter/server/web_collector.rb:59 | |
| 12 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:13 | |
| 12 /root/prometheus_exporter/lib/prometheus_exporter/server/runner.rb:100 | |
| 12 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:260 | |
| 12 /usr/lib/ruby/2.5.0/uri/generic.rb:596 | |
| 11 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:292 | |
| 11 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:77 | |
| 10 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:255 | |
| 9 /usr/lib/ruby/2.5.0/webrick/utils.rb:202 | |
| 8 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:38 | |
| 8 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:37 | |
| 7 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:542 | |
| 7 /usr/lib/ruby/2.5.0/webrick/utils.rb:236 | |
| 7 /usr/lib/ruby/2.5.0/webrick/utils.rb:233 | |
| 7 /usr/lib/ruby/2.5.0/socket.rb:1313 | |
| 7 /usr/lib/ruby/2.5.0/webrick/utils.rb:187 | |
| 7 /root/prometheus_exporter/lib/prometheus_exporter/server/web_server.rb:101 | |
| 7 /root/prometheus_exporter/lib/prometheus_exporter/metric/counter.rb:23 | |
| 7 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:176 | |
| 7 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:173 | |
| 7 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:168 | |
| 7 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:166 | |
| 7 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:72 | |
| 7 /usr/lib/ruby/2.5.0/webrick/server.rb:170 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:503 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:148 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httpversion.rb:44 | |
| 6 /usr/lib/ruby/2.5.0/webrick/accesslog.rb:112 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:186 | |
| High Ref Counts | |
| ============================== | |
| 140660 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 8783 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:16 | |
| 860 /usr/lib/ruby/2.5.0/webrick/server.rb:286 | |
| 224 /root/prometheus_exporter/lib/prometheus_exporter/server/web_server.rb:58 | |
| 154 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:72 | |
| 108 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:13 | |
| 78 /root/prometheus_exporter/lib/prometheus_exporter/server/web_collector.rb:61 | |
| 78 /root/prometheus_exporter/lib/prometheus_exporter/server/web_collector.rb:59 | |
| 68 /root/prometheus_exporter/lib/prometheus_exporter/server/web_server.rb:101 | |
| 63 /usr/lib/ruby/2.5.0/webrick/httputils.rb:144 | |
| 59 /usr/lib/ruby/2.5.0/webrick/utils.rb:202 | |
| 53 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:71 | |
| 49 /usr/lib/ruby/2.5.0/webrick/utils.rb:187 | |
| 44 /usr/lib/ruby/2.5.0/webrick/utils.rb:222 | |
| 37 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 35 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:255 | |
| 33 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:15 | |
| 29 /usr/lib/ruby/2.5.0/webrick/httputils.rb:151 | |
| 28 eval:1 | |
| 28 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:14 | |
| 28 /root/prometheus_exporter/lib/prometheus_exporter/server/runner.rb:14 | |
| 25 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:17 | |
| 25 /root/prometheus_exporter/lib/prometheus_exporter/metric/summary.rb:16 | |
| 25 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:166 | |
| 24 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:186 | |
| 24 /usr/lib/ruby/2.5.0/uri/rfc3986_parser.rb:76 | |
| 24 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:77 | |
| 20 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 18 /usr/lib/ruby/2.5.0/webrick/server.rb:290 | |
| 18 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:196 | |
| 18 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:195 | |
| 17 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:102 | |
| 16 /root/prometheus_exporter/lib/prometheus_exporter/metric/counter.rb:9 | |
| 15 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:478 | |
| 14 /root/prometheus_exporter/lib/prometheus_exporter/server/collector.rb:11 | |
| 13 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:291 | |
| 12 /root/prometheus_exporter/lib/prometheus_exporter/server/unicorn_collector.rb:5 | |
| 12 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:4 | |
| 12 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:29 | |
| 12 /usr/lib/ruby/2.5.0/uri/generic.rb:596 | |
| 10 /usr/lib/ruby/2.5.0/webrick/server.rb:89 | |
| 10 /root/prometheus_exporter/lib/prometheus_exporter/server/web_collector.rb:6 | |
| 10 /root/prometheus_exporter/lib/prometheus_exporter/server/hutch_collector.rb:4 | |
| 8 /usr/lib/ruby/2.5.0/webrick/utils.rb:155 | |
| 8 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:165 | |
| 8 /root/prometheus_exporter/lib/prometheus_exporter/server/web_server.rb:39 | |
| 8 /root/prometheus_exporter/lib/prometheus_exporter/server/runner.rb:100 | |
| 8 /usr/lib/ruby/2.5.0/webrick/server.rb:170 | |
| 7 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:542 | |
| 7 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:6 | |
| Duplicate strings | |
| ============================== | |
| 8804 "staging" | |
| 8804 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 8804 "app" | |
| 8804 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 8804 "billing" | |
| 8804 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 8786 "old_workers_total" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 2 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:38 | |
| 1 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 8786 "max_threads_total" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 2 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:38 | |
| 1 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 8784 "puma" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 1 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 8784 "booted_workers_total" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 1 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 8784 "thread_pool_capacity_total" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 1 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 8784 "running_threads_total" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 1 /root/prometheus_exporter/lib/prometheus_exporter/server.rb:13 | |
| 8784 "request_backlog_total" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 1 /root/prometheus_exporter/lib/prometheus_exporter/server/puma_collector.rb:38 | |
| 8783 "workers_total" | |
| 8783 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 22 "10.15.36.99" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 6 /usr/lib/ruby/2.5.0/uri/rfc3986_parser.rb:41 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:196 | |
| 4 /usr/lib/ruby/2.5.0/uri/generic.rb:596 | |
| 20 "/send-metrics" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:260 | |
| 5 /usr/lib/ruby/2.5.0/webrick/httputils.rb:33 | |
| 5 /usr/lib/ruby/2.5.0/uri/rfc3986_parser.rb:44 | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:430 | |
| 19 "" | |
| 7 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:173 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:260 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:106 | |
| 18 "AF_INET" | |
| 6 /usr/lib/ruby/2.5.0/webrick/server.rb:290 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:196 | |
| 6 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:195 | |
| 16 "chunked" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:478 | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:290 | |
| 13 "\r\n" | |
| 12 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:441 | |
| 10 "POST" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httpservlet/abstract.rb:103 | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:429 | |
| 10 "10.15.36.8" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:195 | |
| 5 /usr/lib/ruby/2.5.0/webrick/server.rb:290 | |
| 8 "transfer-encoding" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:151 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:525 | |
| 8 "host" | |
| 7 /usr/lib/ruby/2.5.0/webrick/httputils.rb:151 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 7 "Host: 10.15.36.99\r\n" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:148 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:146 | |
| 7 "connection" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:151 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 7 "Connection: Close\r\n" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:148 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:146 | |
| 7 "content-type" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:151 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 6 "Close" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 6 "Transfer-Encoding: chunked\r\n" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:148 | |
| 6 "application/octet-stream" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httputils.rb:149 | |
| 6 "c" | |
| 6 /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:291 | |
| 6 "http" | |
| 6 /usr/lib/ruby/2.5.0/uri/generic.rb:335 | |
| 5 "show" | |
| 5 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 5 "index" | |
| 5 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 5 "do_POST" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httpservlet/abstract.rb:103 | |
| 5 "Content-Type: application/octet-stream\r\n" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:532 | |
| 5 "POST /send-metrics HTTP/1.1\r\n" | |
| 5 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:428 | |
| 4 " " | |
| 4 /usr/lib/ruby/2.5.0/webrick/httputils.rb:166 | |
| 4 "1" | |
| 4 /usr/lib/ruby/2.5.0/webrick/httpversion.rb:45 | |
| 4 "/metrics" | |
| 1 /usr/lib/ruby/2.5.0/webrick/httpserver.rb:260 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httputils.rb:33 | |
| 1 /usr/lib/ruby/2.5.0/uri/rfc3986_parser.rb:44 | |
| 1 /usr/lib/ruby/2.5.0/webrick/httprequest.rb:430 | |
| 4 "rss" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "heap_allocated_pages" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "heap_eden_pages" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "heap_tomb_pages" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "heap_marked_slots" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "total_allocated_pages" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "total_freed_pages" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "freed_objects_total" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "allocated_objects_total" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "minor_gc_ops_total" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "major_gc_ops_total" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 | |
| 4 "heap_free_slots" | |
| 4 /usr/lib/ruby/2.5.0/json/common.rb:156 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment