# When I active persisten connection in logstash it through out Error

**URL:** https://discuss.elastic.co/t/when-i-active-persisten-connection-in-logstash-it-through-out-error/76157
**Category:** Logstash
**Created:** [February 23, 2017, 6:18am UTC](https://discuss.elastic.co/t/when-i-active-persisten-connection-in-logstash-it-through-out-error/76157 "2017-02-23T06:18:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jamal](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jamal](https://discuss.elastic.co/u/jamal)
#### Post date: [February 23, 2017, 6:18am UTC](https://discuss.elastic.co/t/when-i-active-persisten-connection-in-logstash-it-through-out-error/76157/1 "2017-02-23T06:18:43Z")

</div>

I heve the following configuration in logstash config file

```
pipeline.batch.size: 2
 pipeline.batch.delay: 20 
queue.type: persisted
 queue.max_events: 0
queue.max_bytes: 2gb
queue.checkpoint.acks: 2024
queue.checkpoint.writes: 2024

```

when I runt the logstash the following error throught out  
`> Exception in thread "[main]>worker3" org.logstash.ackedqueue.QueueRuntimeException: deserialize invocation error`

but when I disable the persisten que it work fine

---

<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: [March 23, 2017, 6:18am UTC](https://discuss.elastic.co/t/when-i-active-persisten-connection-in-logstash-it-through-out-error/76157/2 "2017-03-23T06:18:58Z")

</div>

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