[ 
https://issues.apache.org/jira/browse/DISPATCH-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556243#comment-15556243
 ] 

Vishal Sharda commented on DISPATCH-337:
----------------------------------------

We built with the default setting "RelWithDebInfo" which should have included 
the Debug information.

CPU usage per thread is very low.

vsharda@millennium-qpid-deploy-lnp-1-5129:~$ top -Hbcd 5 | grep qdrouterd
14213 vsharda   20   0   11132   1624   1492 S  0.0  0.0   0:00.00 grep 
qdrouterd
25467 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.34 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25482 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7   0:39.50 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25493 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  20:02.09 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25494 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.65 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25495 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:55.10 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25493 qserv     20   0 2524848 2.187g   8420 S  0.2  3.7  20:02.10 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
14213 vsharda   20   0   11136   1624   1492 S  0.0  0.0   0:00.00 grep 
qdrouterd
25467 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.34 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25482 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7   0:39.50 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25494 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.65 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25495 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:55.10 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25494 qserv     20   0 2524848 2.187g   8420 S  0.2  3.7  19:51.66 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
14213 vsharda   20   0   11136   1624   1492 S  0.0  0.0   0:00.00 grep 
qdrouterd
25467 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.34 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25482 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7   0:39.50 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25493 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  20:02.10 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25495 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:55.10 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25493 qserv     20   0 2524848 2.187g   8420 S  0.2  3.7  20:02.11 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25495 qserv     20   0 2524848 2.187g   8420 S  0.2  3.7  19:55.11 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
14213 vsharda   20   0   11136   1624   1492 S  0.0  0.0   0:00.00 grep 
qdrouterd
25467 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.34 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25482 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7   0:39.50 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25494 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.66 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25467 qserv     20   0 2524848 2.187g   8420 S  0.2  3.7  19:51.35 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25494 qserv     20   0 2524848 2.187g   8420 S  0.2  3.7  19:51.67 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
14213 vsharda   20   0   11136   1624   1492 S  0.0  0.0   0:00.00 grep 
qdrouterd
25482 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7   0:39.50 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25493 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  20:02.11 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25495 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:55.11 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25493 qserv     20   0 2524848 2.187g   8420 S  0.2  3.7  20:02.12 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
14213 vsharda   20   0   11136   1624   1492 S  0.0  0.0   0:00.00 grep 
qdrouterd
25467 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.35 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25482 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7   0:39.50 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25494 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:51.67 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+
25495 qserv     20   0 2524848 2.187g   8420 S  0.0  3.7  19:55.11 qdrouterd -c 
/x/web/LIVE/switch-dr-network/configurator+

The memory footprint is increasing steadily.

qdstat failed to get a response within 120 seconds:

vsharda@millennium-qpid-deploy-lnp-2-7131:/$ qdstat -cb 10.25.171.242 -t 120
Timeout: Connection amqp://10.25.171.242:amqp/$management timed out: Opening 
connection



> 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: LNP-1_Huge_memory.png, LNP-1_Leak_starts.png, 
> LNP-1_not_accepting_connections.png, 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]

Reply via email to