[rabbitmq-discuss] 3.3.4 vs 3.3.4.50711

Pavel pmaisenovich at blizzard.com
Sat Jul 19 20:15:27 BST 2014


Run the same test on 3.3.4.50711 (nightly). Statistics indeed consume much
less memory, however amount of garbage produced and collected remains on the
same level as in 3.3.4. That said garbage collection appears to be happening
more frequently and management UI remains responsive (in 3.3.4 the test will
continue to run with no errors, but web UI would become very sluggish). 

Attached is full chart for comparison, below are memory utilization
snapshots from 3.3.4 and 3.3.4.50711 after ~10 hours of test run. You can
see there that while total memory reported is high, individual tables sizes
are drastically different. From there I'm making a conclusion that most of
mgmt_db memory is taken by garbage that hasn't been collected yet.

*Is there an ETA for the next release? I'm definitely recommending my team
to wait for it before enabling detailed stats!*

/usr/sbin/rabbitmqctl eval
'sys:get_status(global:whereis_name(rabbit_mgmt_db)).'
/usr/sbin/rabbitmqctl eval
'{process_info(global:whereis_name(rabbit_mgmt_db),memory),[{T,
ets:info(T,size), ets:info(T,memory)} || T <-lists:sort(ets:all()),
rabbit_mgmt_db <- [ets:info(T, name)]]}.'

3.3.4

                [{channel_stats,5754969},
                 {connection_stats,5750872},
                 {consumers_by_channel,5763163},
                 {consumers_by_queue,5759066},
                 {node_stats,5767260},
                 {queue_stats,5746775}],
                5771357,5775454,5779551,#Ref<5446.0.0.24154>,

{{memory,865689104},
 [{5746775,745,143580},
  {5750872,2,466},
  {5754969,1400,91789},
  {5759066,0,89},
  {5763163,0,89},
  {5767260,1,1029},
  {5771357,495042,79600826},
  {5775454,979998,24119463},
  {5779551,979381,68723058}]}

3.3.4.50711

                 {state,[{channel_stats,397400},
                          {connection_stats,393303},
                          {consumers_by_channel,405594},
                          {consumers_by_queue,401497},
                          {node_stats,409691},
                          {queue_stats,389206}],
                         413788,417885,421982,#Ref<5533.0.3.240216>,

{{memory,829238624},
 [{389206,700,127399},
  {393303,4,853},
  {397400,1402,91930},
  {401497,1,171},
  {405594,1,171},
  {409691,1,1081},
  {413788,4926,18646945},
  {417885,0,89},
  {421982,979998,68734158}]}

Test_6_with_nightly_-_charts.zip
<http://rabbitmq.1065348.n5.nabble.com/file/n36851/Test_6_with_nightly_-_charts.zip>  



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Possible-memory-leak-in-the-management-plugin-tp27414p36851.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list