You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/05/18 19:37:56 UTC
[GitHub] [couchdb] noahshaw11 commented on pull request #3985: Implement resource_hoggers
noahshaw11 commented on PR #3985:
URL: https://github.com/apache/couchdb/pull/3985#issuecomment-1130448735
Example return from `resource_hoggers_snapshot`:
```
(node1@127.0.0.1)1> MI = couch_debug:memory_info([<0.0.0>]).
[{<0.0.0>,"init[<0.0.0>]",
#{binary => 0,dictionary => 0,heap_size => 2586,links => 3,
memory => 34384,message_queue_len => 0,monitored_by => 0,
monitors => 0,stack_size => 3,total_heap_size => 4188}}]
(node1@127.0.0.1)2> couch_debug:resource_hoggers_snapshot(MI).
{1,
[{<0.0.0>,"init[<0.0.0>]",
{#{binary => 0,dictionary => 0,heap_size => 0,links => 0,
memory => 0,message_queue_len => 0,monitored_by => 0,
monitors => 0,stack_size => 0,total_heap_size => 0},
#{binary => 0,dictionary => 0,heap_size => 2586,links => 3,
memory => 34384,message_queue_len => 0,monitored_by => 0,
monitors => 0,stack_size => 3,total_heap_size => 4188}}}],
[binary,dictionary,heap_size,links,memory,message_queue_len,
monitored_by,monitors,stack_size,total_heap_size]}
```
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org