I'm (re)visiting RabbitMQ after a few years, very glad that the setup is so much cleaner now (and I haven't needed to recompile anything yet!).
I managed to get a basic connection running with rabbitmq_web_stomp, however i'm concerned that none of the connections displayed in the management console appear to ever go away.
I did fix a bug in the client code yesterday where I didn't realize I needed to explicitly disable all heartbeats. However I tried to do some testing today and kept getting ERR_CONNECTION_REFUSED messages until I manually restarted the service. The management console showed around 1200 connections (all from me) over the last few days. ProcessExplorer showed maybe 100 CLOSE_WAIT connections, but no ESTABLISHED ones.
I would like to know what I can do to start pruning dead connections. I did find some options like tcp_keepalive_timeout that may or may not apply to STOMP connections.
I saw a message in this group earlier about someone that wrote a script that auto-prunes connections that don't correspond to any known network socket (anyone have a copy of that script?)
I'm running with a pretty simple config so far:
rabbitmq.config:
[
{rabbitmq_web_stomp, [
{tcp_config, [ %% This stanza ignored until the next release of RabbitMQ. Sticking with https:// until then
{ip, {10,0,114,150} },
{port, 80}
]},
{ssl_config, [
{ip, {10,0,114,150} },
{port, 443},
{certfile, "E:\\comet\\RabbitMQ\\private\\cert.pem"},
{keyfile, "E:\\comet\\RabbitMQ\\private\\key.pem"},
{cacertfile, "E:\\comet\\RabbitMQ\\private\\chain.pem"},
{password, "somePassword"}
]}
]}
].
enabled_plugins:
[rabbitmq_management,rabbitmq_web_stomp].