# Understanding event loss with HTTP input and jmeter test

**URL:** <https://discuss.elastic.co/t/understanding-event-loss-with-http-input-and-jmeter-test/60977>\
**Category:** Logstash\
**Created:** [September 20, 2016, 7:30am UTC](https://discuss.elastic.co/t/understanding-event-loss-with-http-input-and-jmeter-test/60977 "2016-09-20T07:30:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit\_oren](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@amit\_oren](https://discuss.elastic.co/u/amit_oren)\
**Post date:** [September 20, 2016, 7:30am UTC](https://discuss.elastic.co/t/understanding-event-loss-with-http-input-and-jmeter-test/60977/1 "2016-09-20T07:30:47Z")

</div>

Hi,

I'm trying to configure & stress test an HTTP input agent.  
The agent for the sake of example cant be as simple as HTTP input and not much more.  
At around 9000 messages per second, I start seeing events that time out. The number grows little by little.  
Where is my bottleneck? Is it CPU? RAM? I'm not seeing any major jumps in RAM usage when sending events (which is also a bit suspicous) .  
My goal is to reach an ingest rate of around 10k events with no loss.

Thanks,

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 20, 2016, 8:01am UTC](https://discuss.elastic.co/t/understanding-event-loss-with-http-input-and-jmeter-test/60977/2 "2016-09-20T08:01:29Z")

</div>

Are you using bulk requests? How many parallel indexing threads are you using? Are you monitoring disk IO utilisation, which can often be a limiting factor?

---

<div class="post-metadata">

**Author:** ![amit\_oren](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@amit\_oren](https://discuss.elastic.co/u/amit_oren)\
**Post date:** [September 20, 2016, 9:09am UTC](https://discuss.elastic.co/t/understanding-event-loss-with-http-input-and-jmeter-test/60977/3 "2016-09-20T09:09:45Z")

</div>

I am not using bulk requests. Due to the nature of the system, I need to get an event and process it immediately.  
I'm using 8 indexing workers.  
Disk IO isn't an issue.  
My hunch is that it is a TCP issue - I'm just unsure if it's the HTTP plugin or the server itself.

---

<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:** [July 6, 2017, 4:37am UTC](https://discuss.elastic.co/t/understanding-event-loss-with-http-input-and-jmeter-test/60977/4 "2017-07-06T04:37:49Z")

</div>

Closed on July 6, 2017, 4:37am UTC


