# Increase pipeline.batch.size

**URL:** <https://discuss.elastic.co/t/increase-pipeline-batch-size/94756>\
**Category:** Logstash\
**Created:** [July 27, 2017, 8:46am UTC](https://discuss.elastic.co/t/increase-pipeline-batch-size/94756 "2017-07-27T08:46:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitabrev](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@mitabrev](https://discuss.elastic.co/u/mitabrev)\
**Post date:** [July 27, 2017, 8:46am UTC](https://discuss.elastic.co/t/increase-pipeline-batch-size/94756/1 "2017-07-27T08:46:45Z")

</div>

Hi all,

Currently I have default settings in logstash.yml:  
pipeline.workers: 4  
pipeline.batch.size: 125

I tried to increase the batch size to 200 and 500, but the logstash service wouldn't start.  
Even when I decreased the setting to 100 it didn't start.

I think I could optimize performance with increased batch size (am I right?).

4 core, 16 GB RAM, centos

Why can't I increase the batch size?

Thanks!

---

<div class="post-metadata">

**Author:** ![mitabrev](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@mitabrev](https://discuss.elastic.co/u/mitabrev)\
**Post date:** [July 28, 2017, 11:21am UTC](https://discuss.elastic.co/t/increase-pipeline-batch-size/94756/2 "2017-07-28T11:21:46Z")

</div>

Didn't work with 100,  
didn't work with 250,  
didn't work with 500

It works with 1000

---

<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:** [August 25, 2017, 11:22am UTC](https://discuss.elastic.co/t/increase-pipeline-batch-size/94756/3 "2017-08-25T11:22:17Z")

</div>

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