[
https://issues.apache.org/jira/browse/DISPATCH-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514526#comment-15514526
]
Vishal Sharda commented on DISPATCH-337:
----------------------------------------
Hi Ted,
The testing continues and it has grown to 167 MB now. There were some
undelivered messages but we killed all the clients. Router memory stayed at
167 MB.
3124 tim 20 0 288432 167348 6088 S 0.7 2.1 114:07.90 qdrouterd
Here are the various qdstat outputs now.
tim@tkuchlein3-linux:~$ qdstat -c
Connections
Id host container role
dir security authentication
=============================================================================================================================================
2 10.244.162.114:58234 Router.A.4
inter-router in TLSv1/SSLv3(DHE-RSA-AES256-GCM-SHA384) anonymous-user
3 10.244.162.117:52588 Router.A.5
inter-router in TLSv1/SSLv3(DHE-RSA-AES256-GCM-SHA384) anonymous-user
4 10.244.162.176:48724 Router.A.6
inter-router in TLSv1/SSLv3(DHE-RSA-AES256-GCM-SHA384) anonymous-user
5 10.244.162.231:38920 Router.A.7
inter-router in TLSv1/SSLv3(DHE-RSA-AES256-GCM-SHA384) anonymous-user
8360 127.0.0.1:57104 69110aed-8f13-4968-8c84-cad3c734a859 normal
in no-security anonymous-user
tim@tkuchlein3-linux:~$ qdstat -m
Types
type size batch thread-max total in-threads
rebal-in rebal-out
==============================================================================================
qd_bitmask_t 24 64 128 640 128
56,559 56,567
qd_buffer_t 536 16 32 120,672 118,144
1,799,008 1,799,166
qd_composed_field_t 64 64 128 64 64 0
0
qd_composite_t 112 64 128 128 128 0
0
qd_connection_t 224 64 128 1,024 128 95
109
qd_deferred_call_t 32 64 128 64 64 0
0
qd_field_iterator_t 128 64 128 16,640 13,184
196,986 197,040
qd_hash_handle_t 16 64 128 192 192 0
0
qd_hash_item_t 32 64 128 192 192 0
0
qd_hash_segment_t 24 64 128 64 64 0
0
qd_link_t 48 64 128 1,088 128 101
116
qd_listener_t 32 64 128 64 64 0
0
qd_log_entry_t 2,104 16 32 1,008 1,008 0
0
qd_management_context_t 56 64 128 64 64 0
0
qd_message_content_t 640 16 32 26,928 26,560
104,471 104,494
qd_message_t 128 64 128 27,328 26,624
50,618 50,629
qd_node_t 56 64 128 64 64 0
0
qd_parsed_field_t 80 64 128 7,936 4,928
107,049 107,096
qd_timer_t 56 64 128 128 128 0
0
qd_work_item_t 24 64 128 1,024 128 3,059
3,073
qdpn_connector_t 600 16 32 1,024 32 429
491
qdpn_listener_t 48 64 128 64 64 0
0
qdr_action_t 160 64 128 320 128
501,060 501,063
qdr_address_config_t 56 64 128 64 64 0
0
qdr_address_t 264 16 32 64 32 0
2
qdr_connection_t 216 64 128 1,152 128 112
128
qdr_connection_work_t 56 64 128 192 128 129
130
qdr_delivery_ref_t 24 64 128 448 128
115,473 115,478
qdr_delivery_t 144 64 128 26,560 25,920 5,327
5,337
qdr_error_t 24 64 128 192 128 129
130
qdr_field_t 40 64 128 8,448 8,448 9,175
9,175
qdr_general_work_t 64 64 128 192 128
55,495 55,496
qdr_link_ref_t 24 64 128 2,176 128
271,818 271,850
qdr_link_t 264 16 32 1,072 48 460
524
qdr_node_t 80 64 128 64 64 0
0
qdr_query_t 336 16 32 16 16 0
0
qdr_terminus_t 64 64 128 64 64 0
0
qdtm_router_t 16 64 128 64 64 0
0
tim@tkuchlein3-linux:~$ qdstat -l
Router Links
type dir conn id id peer class addr phs
cap undel unsettled deliveries admin oper
===============================================================================================================================
router-control out 2 4 local qdhello
250 0 0 884399 enabled up
router-control in 2 5
250 0 0 885367 enabled up
inter-router out 2 6
250 0 0 62587 enabled up
inter-router in 2 7
250 0 0 1968048 enabled up
router-control out 3 8 local qdhello
250 0 0 884369 enabled up
router-control in 3 9
250 0 0 889453 enabled up
inter-router out 3 10
250 0 0 64792 enabled up
inter-router in 3 11
250 0 0 65630 enabled up
router-control out 4 12 local qdhello
250 0 0 884301 enabled up
router-control in 4 13
250 0 0 888575 enabled up
inter-router out 4 14
250 0 0 118373 enabled up
inter-router in 4 15
250 0 0 839770 enabled up
router-control out 5 16 local qdhello
250 0 0 884262 enabled up
router-control in 5 17
250 0 0 888216 enabled up
inter-router out 5 18
250 0 0 4917 enabled up
inter-router in 5 19
250 0 0 11627 enabled up
endpoint in 8364 8422 mobile $management 0
250 0 0 1 enabled up
endpoint out 8364 8423 local temp.0Z_C7GA0FDDy1b8
250 0 0 0 enabled up
> Huge memory leaks in Qpid Dispatch router
> -----------------------------------------
>
> Key: DISPATCH-337
> URL: https://issues.apache.org/jira/browse/DISPATCH-337
> Project: Qpid Dispatch
> Issue Type: Bug
> Affects Versions: 0.6.0
> Environment: Debian 8.3, Apache Qpid Proton 0.12.2 for drivers and
> dependencies, Hardware: 2 CPUs, 15 GB RAM, 60 GB HDD on 2 separate machines
> Reporter: Vishal Sharda
> Priority: Critical
> Attachments: Memory_usage_first_run_no_SSL.png,
> Memory_usage_subsequent_run_no_SSL.png, Rapid_perm_memory_increase.png,
> Subsequent_memory_increase.png, Tim-Router-3-huge-memory-usage.png,
> Tim_Router_3.png, Tim_Routers_3_and_6_further_leaks.png, config1.conf,
> config2.conf, val2_receiver.txt, val2_sender.txt
>
>
> Valgrind shows huge memory leaks while running 2 interconnected routers with
> 2 parallel senders connected to the one router and 2 parallel receivers
> connected to the other router.
> The CRYPTO leak that is coming from Qpid Proton 0.12.2 is already fixed here:
> https://issues.apache.org/jira/browse/PROTON-1115
> However, the rest of the leaks are from qdrouterd.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]