[rabbitmq-discuss] Slow startup/recovery time

Pablo Ruiz pablo.ruiz at gmail.com
Tue Aug 2 12:37:10 BST 2011


Hi,

Since upgraded to 2.5.1 from 2.1.1, one of our rabbit servers refuses to
finish startup procedures.. starup_log shows:

AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2011 VMware, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

node           : rabbit at qa
app descriptor :
/usr/lib/rabbitmq/lib/rabbitmq_server-2.5.1/sbin/../ebin/rabbit.app
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : kiHDz4b553meuCVcbBEI4w==
log            : /var/log/rabbitmq/rabbit at qa.log
sasl log       : /var/log/rabbitmq/rabbit at qa-sasl.log
database dir   : /var/lib/rabbitmq/mnesia/rabbit at qa
erlang version : 5.8

-- rabbit boot start
starting file handle cache server
...done
starting worker pool
 ...done
starting database
...done
starting codec correctness check
 ...done
-- external infrastructure ready
starting plugin registry
 ...done
starting auth mechanism cr-demo
...done
starting auth mechanism amqplain
 ...done
starting auth mechanism plain
...done
starting statistics event manager
...done
starting logging server
...done
starting exchange type direct
...done
starting exchange type fanout
...done
starting exchange type headers
 ...done
starting exchange type topic
 ...done
-- kernel ready
starting alarm handler
 ...done
starting node monitor
...done
starting cluster delegate
...done
starting guid generator
...done
starting memory monitor
...done
-- core initialized
starting empty DB check
...done
starting exchange, queue and binding recovery                         ...

At this point it keeps 'doing nothing' forever.. which makes me think it's
just re-indexing/recovering queues and messajes, however, the mail log files
show the following error:

=ERROR REPORT==== 2-Aug-2011::13:27:55 ===
** Generic server <0.127.0> terminating
** Last message in was {'$gen_cast',
                           {submit_async,
                               #Fun<rabbit_queue_index.24.55115249>}}
** When Server state == 2
** Reason for termination ==
** {function_clause,
       [{rabbit_queue_index,journal_minus_segment1,
            [{no_pub,no_del,ack},
             {{<<144,186,140,223,68,195,225,104,84,142,97,239,10,35,24,96>>,
               {message_properties,undefined,false},
               true},
              no_del,no_ack}]},
        {rabbit_queue_index,'-journal_minus_segment/2-fun-0-',4},
        {array,sparse_foldl_3,7},
        {array,sparse_foldl_2,9},
        {rabbit_queue_index,'-recover_journal/1-fun-0-',1},
        {dict,map_bucket,2},
        {dict,map_bkt_list,2},
        {dict,map_bkt_list,2}]}

Should I ignore such error??

Greets
Pablo

PD: I can zip & send our mnesia files just in case they are needed to debug
the issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110802/4b57756e/attachment.htm>


More information about the rabbitmq-discuss mailing list