RMQ notifications.info has no consumers

Erik Olof Gunnar Andersson eandersson at blizzard.com
Mon Oct 21 19:03:04 UTC 2019


I just set max length on the queue to something like 1k.

Sent from my iPhone

On Oct 21, 2019, at 11:46 AM, Ruslanas Gžibovskis <ruslanas at lpic.lt> wrote:


Yes, fully agree with Graham. I do rabbitmqctl queue_purge notifications.* In cron every hour + add policy to remove them after 1 min...

Also double check other queues:
rabbitmqctl list_qeues | awk '{if($2>5)print $0}' or smth like that.

On Mon, 21 Oct 2019, 20:17 Graham Hayes, <gr at ham.ie<mailto:gr at ham.ie>> wrote:
On 21/10/2019 17:54, Albert Braden wrote:
> I installed the RMQ management plugin in my dev and qa clusters and
> noticed a queue called notifications.info<https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$> that has 0 consumers:
>
>
>
> root at us01odc-qa-ctrl1:~# rabbitmqctl list_queues|grep notific
>
> notifications.info<https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$>      15496
>
>
>
> If I cold-start RMQ it starts without a notifications.info<https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$> queue but
> after I create a VM it appears with 1 or 2 messages and then gradually
> grows over time. The messages in it appear to be Openstack operations:
<snip/>
>
>
> I didn’t install the management plugin in prod, but it appears that I
> have the same issue there:
>
>
>
> root at us01odc-p01-ctrl1:~# rabbitmqctl list_queues|grep notific
>
> notifications.info<https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$>      226869
>
>
>
> What should be consuming the notifications.info<https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$> queue?

Usually something like ceilometer or other telemetry projects,
or projects like Designate and searchlight that don't always have hooks
into nova or neutron, or custom tooling.

If nothing is consuming them,. you can either set the ttl on the
RMQ queue [1] to something small (just in case you want to look at them)
or disable them [2]

>
>
>
>
>
1 - https://www.rabbitmq.com/ttl.html<https://urldefense.com/v3/__https://www.rabbitmq.com/ttl.html__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f78akNFdg$>
2 - e.g. in Nova
https://docs.openstack.org/nova/latest/reference/notifications.html<https://urldefense.com/v3/__https://docs.openstack.org/nova/latest/reference/notifications.html__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4RsJCBjw$>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20191021/9cae6222/attachment-0001.html>


More information about the openstack-discuss mailing list