# Adjust internal queue size

**URL:** https://discuss.elastic.co/t/adjust-internal-queue-size/359833
**Category:** APM
**Tags:** open-telemetry
**Created:** [May 20, 2024, 1:31pm UTC](https://discuss.elastic.co/t/adjust-internal-queue-size/359833 "2024-05-20T13:31:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![iamp3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iamp3/32/125051_2.png) [@iamp3](https://discuss.elastic.co/u/iamp3)
#### Post date: [May 20, 2024, 1:31pm UTC](https://discuss.elastic.co/t/adjust-internal-queue-size/359833/1 "2024-05-20T13:31:21Z")

</div>

We faced an issue with queue full. How I could configure queue.mem.events on Elasti Cloud Deployment setup?

> **[Tune APM Server | APM Server Reference \[7.15\] | Elastic](https://www.elastic.co/guide/server/current/tune-apm-server.html#adjust-queue-size)**

---

<div class="post-metadata">

### Author: ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)
#### Post date: [May 21, 2024, 8:25pm UTC](https://discuss.elastic.co/t/adjust-internal-queue-size/359833/2 "2024-05-21T20:25:52Z")

</div>

You need to set in [APM server config](https://www.elastic.co/guide/server/current/configuration-process.html#configuration-process) file. May i know which Elastic version you using?

---

<div class="post-metadata">

### Author: ![iamp3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iamp3/32/125051_2.png) [@iamp3](https://discuss.elastic.co/u/iamp3)
#### Post date: [May 21, 2024, 10:13pm UTC](https://discuss.elastic.co/t/adjust-internal-queue-size/359833/3 "2024-05-21T22:13:24Z")

</div>

I see 8.13 version on elastic cloud console.  
Deployed from Azure via ELK integration

---

<div class="post-metadata">

### Author: ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)
#### Post date: [May 22, 2024, 10:40am UTC](https://discuss.elastic.co/t/adjust-internal-queue-size/359833/4 "2024-05-22T10:40:54Z")

</div>

Well in that case as mentioned [here](https://www.elastic.co/guide/en/observability/current/apm-server-es-down.html) -

> APM Server does not have an internal queue to buffer requests, but instead leverages an HTTP request timeout to act as back-pressure

> Some agents have internal queues or buffers that will temporarily store data if the APM Server goes down.

---

<div class="post-metadata">

### Author: ![iamp3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iamp3/32/125051_2.png) [@iamp3](https://discuss.elastic.co/u/iamp3)
#### Post date: [May 22, 2024, 12:37pm UTC](https://discuss.elastic.co/t/adjust-internal-queue-size/359833/5 "2024-05-22T12:37:37Z")

</div>

Thank you for response! So, if I understand you correctly, in latest version we dont have such config option (queue.mem.events). Could you advice any best practise configs that I could use in my ELK setup for APM server?

I added more resource on ELK to fix this error on my otel-collectors side: "The error is not retryable. Dropping data. {"kind": "exporter", "data\_type": "traces", "name": "otlp", "error": "Permanent error: rpc error: code = Unknown desc = sending queue is full", "dropped\_items": 1}"
