<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
I just set max length on the queue to something like 1k.<br>
<br>
<div dir="ltr">Sent from my iPhone</div>
<div dir="ltr"><br>
<blockquote type="cite">On Oct 21, 2019, at 11:46 AM, Ruslanas Gžibovskis <ruslanas@lpic.lt> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="auto">
<div>Yes, fully agree with Graham. I do rabbitmqctl queue_purge notifications.* In cron every hour + add policy to remove them after 1 min...</div>
<div dir="auto"><br>
</div>
<div dir="auto">Also double check other queues:</div>
<div dir="auto">rabbitmqctl list_qeues | awk '{if($2>5)print $0}' or smth like that.<br>
<br>
<div class="gmail_quote" dir="auto">
<div dir="ltr" class="gmail_attr">On Mon, 21 Oct 2019, 20:17 Graham Hayes, <<a href="mailto:gr@ham.ie">gr@ham.ie</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 21/10/2019 17:54, Albert Braden wrote:<br>
> I installed the RMQ management plugin in my dev and qa clusters and<br>
> noticed a queue called <a href="https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$" rel="noreferrer noreferrer" target="_blank">
notifications.info</a> that has 0 consumers:<br>
> <br>
>  <br>
> <br>
> root@us01odc-qa-ctrl1:~# rabbitmqctl list_queues|grep notific<br>
> <br>
> <a href="https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$" rel="noreferrer noreferrer" target="_blank">
notifications.info</a>      15496<br>
> <br>
>  <br>
> <br>
> If I cold-start RMQ it starts without a <a href="https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$" rel="noreferrer noreferrer" target="_blank">
notifications.info</a> queue but<br>
> after I create a VM it appears with 1 or 2 messages and then gradually<br>
> grows over time. The messages in it appear to be Openstack operations:<br>
<snip/><br>
>  <br>
> <br>
> I didn’t install the management plugin in prod, but it appears that I<br>
> have the same issue there:<br>
> <br>
>  <br>
> <br>
> root@us01odc-p01-ctrl1:~# rabbitmqctl list_queues|grep notific<br>
> <br>
> <a href="https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$" rel="noreferrer noreferrer" target="_blank">
notifications.info</a>      226869<br>
> <br>
>  <br>
> <br>
> What should be consuming the <a href="https://urldefense.com/v3/__http://notifications.info__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4lYl7L7Q$" rel="noreferrer noreferrer" target="_blank">
notifications.info</a> queue?<br>
<br>
Usually something like ceilometer or other telemetry projects,<br>
or projects like Designate and searchlight that don't always have hooks<br>
into nova or neutron, or custom tooling.<br>
<br>
If nothing is consuming them,. you can either set the ttl on the<br>
RMQ queue [1] to something small (just in case you want to look at them)<br>
or disable them [2]<br>
<br>
> <br>
>  <br>
> <br>
>  <br>
> <br>
1 - <a href="https://urldefense.com/v3/__https://www.rabbitmq.com/ttl.html__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f78akNFdg$" rel="noreferrer noreferrer" target="_blank">
https://www.rabbitmq.com/ttl.html</a><br>
2 - e.g. in Nova<br>
<a href="https://urldefense.com/v3/__https://docs.openstack.org/nova/latest/reference/notifications.html__;!2E0gRdhhnqPNNL0!zCpV0FxF5MFe5k4lsJIfGupVIchBnF7f0j56B6N1aU9SCSliAtL8Rvs88f4RsJCBjw$" rel="noreferrer noreferrer" target="_blank">https://docs.openstack.org/nova/latest/reference/notifications.html</a><br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>