I can't reproduce any of your problems on an up-to-date Ubuntu 12.04.5
with RabbitMQ 3.5.0 installed from our deb package :-/
Could you please post the output of the following one-liner; you need to
replace <PID> with the actual PID of beam.smp:
erl -noinput -noshell -eval 'P=erlang:open_port({spawn, "ps -p
<PID>"},[exit_status,{line,16384},use_stdio,stderr_to_stdout]),[receive
M -> io:format("~p~n", [M]) after 1000 -> ok end || _ <-
lists:seq(1,10)], init:stop().'
Could you even modify /etc/init.d/rabbitmq-server to put the following
two lines:
cat $PID_FILE
erl -noinput -noshell -eval 'P=erlang:open_port({spawn, "ps -p '$(cat
$PID_FILE)'"},[exit_status,{line,16384},use_stdio,stderr_to_stdout]),[receive
M -> io:format("~p~n", [M]) after 1000 -> ok end || _ <-
lists:seq(1,10)], init:stop().'
in start_rabbitmq(), between the call to start-stop-daemon and "$CONTROL
wait $PID_FILE", start the service and post the output?