# Queue is full

**URL:** https://discuss.elastic.co/t/queue-is-full/284471
**Category:** APM
**Tags:** dotnet
**Created:** [September 17, 2021, 9:53am UTC](https://discuss.elastic.co/t/queue-is-full/284471 "2021-09-17T09:53:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Kirtash](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@Kirtash](https://discuss.elastic.co/u/Kirtash)
#### Post date: [September 17, 2021, 9:53am UTC](https://discuss.elastic.co/t/queue-is-full/284471/1 "2021-09-17T09:53:27Z")

</div>

**Elastic Cloud** : 7.14

I have a lot of services that connects to APM and now I have only this message of error:

{"accepted":0,"errors":[{"message":"queue is full"}]}

First of all I want review the messages that we send, but is possible remove all the messages on the queue? I don't care if I lose these messages, I only want start from zero.

Thanks for all!

---

<div class="post-metadata">

### Author: ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)
#### Post date: [September 20, 2021, 6:20am UTC](https://discuss.elastic.co/t/queue-is-full/284471/2 "2021-09-20T06:20:48Z")

</div>

By default apm-server will retry sending queued events to Elasticsearch up to 3 times (see [Configure the Elasticsearch output | APM Server Reference [7.14] | Elastic](https://www.elastic.co/guide/en/apm/server/current/elasticsearch-output.html#_max_retries)).

After that, the queue should clear out itself. Are you observing different behaviour?

---

<div class="post-metadata">

### Author: ![Kirtash](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@Kirtash](https://discuss.elastic.co/u/Kirtash)
#### Post date: [September 27, 2021, 5:01pm UTC](https://discuss.elastic.co/t/queue-is-full/284471/3 "2021-09-27T17:01:12Z")

</div>

Hi!!

I think that the problem is other service that fill de queue ☹ One service I only have these messages:

[Warning] {"BreakdownMetricsProvider"} The limit of 1000 metricsets has been reached, no new metricsets will be created.

Is possible that this service fill the queue and therefore the other service have this problem?

Thanks for all!

---

<div class="post-metadata">

### Author: ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)
#### Post date: [September 29, 2021, 6:16am UTC](https://discuss.elastic.co/t/queue-is-full/284471/4 "2021-09-29T06:16:30Z")

</div>

The APM Server only holds one internal memory queue. If the queue is filled up by a large amount of events from one service, this can definitely impact other services. It sounds like you already identified the service causing a lot of traffic to the APM Server. Which agent language and version are you using to instrument this service?

---

<div class="post-metadata">

### Author: ![Kirtash](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@Kirtash](https://discuss.elastic.co/u/Kirtash)
#### Post date: [September 29, 2021, 6:54am UTC](https://discuss.elastic.co/t/queue-is-full/284471/5 "2021-09-29T06:54:52Z")

</div>

Hi!!

First of all, thanks for the answer.

I'm using the version 7.14 in the cloud and the differents services has been created in netCore.

I have detect that one of the services only log this error of "The limit of 1000 metricsets has been reached, no new metricsets will be created" but is possible know it 100%. I don't know if I have any index with this information.

Thanks!!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 20, 2021, 2:55am UTC](https://discuss.elastic.co/t/queue-is-full/284471/6 "2021-10-20T02:55:35Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
