# Error: no buffer space available

**URL:** <https://discuss.elastic.co/t/error-no-buffer-space-available/149535>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [September 22, 2018, 9:50am UTC](https://discuss.elastic.co/t/error-no-buffer-space-available/149535 "2018-09-22T09:50:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjeev\_Gopal](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Sanjeev\_Gopal](https://discuss.elastic.co/u/Sanjeev_Gopal)\
**Post date:** [September 22, 2018, 9:50am UTC](https://discuss.elastic.co/t/error-no-buffer-space-available/149535/1 "2018-09-22T09:50:37Z")

</div>

Am using Heartbeat to ICMP check 2500+ endpoints, and over double the number of TCP ports.

On a RHEL 6 bare metal server, there are no issues. But on an Ubuntu 18 VM, I'm starting to see a large number of these errors:

write ip4 0.0.0.0-\>x.y.z.w: sendto: **no buffer space available**

I tried this first:

sysctl -w net.ipv4.neigh.default.gc\_thresh1=6144  
sysctl -w net.ipv4.neigh.default.gc\_thresh2=8192  
sysctl -w net.ipv4.neigh.default.gc\_thresh3=12288

No difference!

I then tried this:

heartbeat.scheduler.limit: 1048576 (Note: /proc/sys/fs/file-max = 1219493)

But still the same error!

Please can someone help here?

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [September 27, 2018, 2:53am UTC](https://discuss.elastic.co/t/error-no-buffer-space-available/149535/2 "2018-09-27T02:53:49Z")

</div>

Interesting, I'm glad to take a look and see what we can do to fix this. Mind opening an issue @ [https://github.com/elastic/beats](https://github.com/elastic/beats) ? It's not strictly necessary, but would be much appreciated.

---

<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 25, 2018, 2:53am UTC](https://discuss.elastic.co/t/error-no-buffer-space-available/149535/3 "2018-10-25T02:53:52Z")

</div>

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