noahshaw11 commented on PR #3985:
URL: https://github.com/apache/couchdb/pull/3985#issuecomment-1130492693

   Example return from `analyze_resource_hoggers`:
   ```
   ([email protected])3> couch_debug:analyze_resource_hoggers(RHS, 2).
   Number of snapshots: 1
   Top 2 by binary
   "couch_prometheus_server[<0.279.0>]" | 55366
   "file_server_2[<0.65.0>]" | 45087
   Top 2 by dictionary
   "global_group[<0.64.0>]" | 5
   "couch_file:init/1[<0.935.0>]" | 4
   Top 2 by heap_size
   "couch_prometheus_server[<0.279.0>]" | 28690
   "config[<0.136.0>]" | 17731
   Top 2 by links
   "config_event[<0.137.0>]" | 50
   "application_controller[<0.44.0>]" | 31
   Top 2 by memory
   "couch_prometheus_server[<0.279.0>]" | 1803608
   "config[<0.136.0>]" | 1115104
   Top 2 by message_queue_len
   "couch_multidb_changes:init/1[<0.1006.0>]" | 0
   "erlang:apply/2[<0.972.0>]" | 0
   Top 2 by monitored_by
   "fabric_db_update_listener:go/4[<0.546.0>]" | 3
   "couch_file:init/1[<0.935.0>]" | 2
   Top 2 by monitors
   "couch_event_server[<0.258.0>]" | 28
   "logger_handler_watcher[<0.75.0>]" | 2
   Top 2 by stack_size
   "erlang:apply/2[<0.972.0>]" | 844
   "chttpd_auth_cache:listen_for_changes/1[<0.486.0>]" | 27
   Top 2 by total_heap_size
   "couch_prometheus_server[<0.279.0>]" | 225340
   "config[<0.136.0>]" | 139267
   [ok,ok,ok,ok,ok,ok,ok,ok,ok,ok]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to