[rabbitmq-discuss] Memory not flushing?

Jason McIntosh mcintoshj at gmail.com
Wed Jul 9 20:22:57 BST 2014


Running 3.3.4, we have a situation (maybe an erlang R14B04 issue?) where
rabbit hits the memory alarm and never goes out of it.  The queue (with
over 100 million messages in it) is showing 0 memory usage, all messages
paged to disk, 0 in ram.  Disk IO is non existent.  Just looking for any
ideas/suggestions?  I saw this message:
http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2013-April/026649.html
But wasn't sure it applied since the ram counts are 0?  If that's still
probably the issue, is there a way to set the target ram count to something
other than infinity?  e.g. rabbitmqctl set_paramter myqueue
target_ram_count 0.50?  Below are the memory reports from a few place.
Thanks!
Jason

#####
Memory report on the node via the api memory=true parameter:


   - {
      - total: 14309117272,
      - connection_procs: 1406816,
      - queue_procs: 10781072,
      - plugins: 637448,
      - other_proc: 9246264,
      - mnesia: 66312,
      - mgmt_db: 316096,
      - msg_index: 12411588360,
      - other_ets: 1844522120,
      - binary: 9166464,
      - code: 17795943,
      - atom: 1619705,
      - other_system: 1970672
      },
   - partitions: [ ],
   - os_pid: "23782",
   - fd_used: 53,
   - fd_total: 1024,
   - sockets_used: 27,
   - sockets_total: 829,
   - mem_used: 14309008432,
   - mem_limit: 1682936627,
   - mem_alarm: true,
   - disk_free_limit: 50000000,
   - disk_free: 362680954880,
   - disk_free_alarm: false,
   - proc_used: 472,
   - proc_total: 1048576,
   - statistics_level: "fine",
   - uptime: 88779083,
   - run_queue: 0,
   - processors: 4,
   - exchange_types:
   [

####
Backing queue status from the queue (only one queue):

   - backing_queue_status:
   {
      - q1: 0,
      - q2: 0,
      - delta:
      [
         - "delta",
         - 25034752,
         - 101610341,
         - 126670623
         ],
      - q3: 3667,
      - q4: 0,
      - len: 101614008,
      - pending_acks: 0,
      - target_ram_count: "infinity",
      - ram_msg_count: 0,
      - ram_ack_count: 0,
      - next_seq_id: 126670623,
      - persistent_count: 101614008,
      - avg_ingress_rate: 6.316340263548813e-276,
      - avg_egress_rate: 0,
      - avg_ack_ingress_rate: 0,
      - avg_ack_egress_rate: 0
      },
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140709/2eb01b29/attachment.html>


More information about the rabbitmq-discuss mailing list