[rabbitmq-discuss] |Spam| |Spam| broker going down, how to troubleshoot?

Shane Witbeck shane at digitalsanctum.com
Fri Nov 5 20:10:19 GMT 2010


Here's the env vars we set prior to starting the broker:

ERLANG_VERSION=R14A
RABBIT_VERSION=2.1.1
RABBIT_HOME=/data/spg/prod/3rd/rabbitmq/rabbitmq_server-${RABBIT_VERSION}
export ERLANG_HOME=/data/spg/prod/3rd/erlang/${ERLANG_VERSION}
export RABBITMQ_LOG_BASE=/var/tmp/spg/rabbitmq
export
RABBITMQ_MNESIA_BASE=/data/spg/prodrw/rabbitmq/rel/incr/${SPG_FARM_ENV}/data/mnesia
export
RABBITMQ_CONFIG_FILE=/data/spg/prodrw/rabbitmq/rel/incr/${SPG_FARM_ENV}/conf/rabbitmq
export PATH=$PATH:$ERLANG_HOME/bin:${RABBIT_HOME}/sbin

Not running as root but using a shared login (I know it's bad but out of my
control).

The only thing I've noticed about the mgmt plugin is that it has a nasty
memory leak in the IE browser (if left open over night, it accumulates over
1GB of memory). This probably has nothing to do with the broker going down
but thought I'd mention it since you asked :)

Since it's happened twice now in as many days I will be keeping a closer eye
on it and report back with whatever I find.

Thanks


On Fri, Nov 5, 2010 at 3:51 PM, Matthias Radestock <matthias at rabbitmq.com>wrote:

> Shane,
>
>
> Shane Witbeck wrote:
>
>> I installed rabbit via the generic unix tar because we don't have access
>> to the normal OS package manager (one of the joys of being in a strict
>> corporate env).
>>
>
> ok. Did you have to set any env vars / modify the startup scripts in any
> way? And are you running rabbit as root, a dedicated 'rabbitmq' user, or
> yourself?
>
>
>  I got "rabbitmq-server start -detached" from the documentation (
>> http://www.rabbitmq.com/install.html#running-generic-unix)
>>
>
> There is no "start" in there. Shouldn't cause any harm though.
>
> Is there an erl_crash.dump in the directory from which you started rabbit?
>
>
>  I haven't found anything noteworthy in the system logs yet.
>>
>
> I see your rabbit is running the management plugin. Have you been keeping
> an eye on it through that? And did anything odd crop up - high memory or fd
> use, for example - just before the death?
>
> It is quite rare for rabbit to die, and very unusual indeed for it to do so
> without a trace. For that to happen the most likely cause of death is that
> something/body is killing it.
>
>
> Regards,
>
> Matthias.
>



-- 
-Shane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101105/7ab87807/attachment.htm>


More information about the rabbitmq-discuss mailing list