# Packetbeat: panic: Too many events acked

**URL:** <https://discuss.elastic.co/t/packetbeat-panic-too-many-events-acked/102055>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [September 28, 2017, 3:21am UTC](https://discuss.elastic.co/t/packetbeat-panic-too-many-events-acked/102055 "2017-09-28T03:21:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![191801737](https://avatars.discourse-cdn.com/v4/letter/1/0ea827/32.png) [@191801737](https://discuss.elastic.co/u/191801737)\
**Post date:** [September 28, 2017, 3:21am UTC](https://discuss.elastic.co/t/packetbeat-panic-too-many-events-acked/102055/1 "2017-09-28T03:21:57Z")

</div>

[root@xdl-10-7 packetbeat]# bin/packetbeat -version  
packetbeat version 6.0.0-beta2 (amd64), libbeat 6.0.0-beta2

[root@xdl-10-7 packetbeat]# cat /etc/redhat-release  
CentOS Linux release 7.3.1611 (Core)

/var/log/message there are so many logs like this  
Sep 28 10:27:01 xdl-10-7 packetbeat: panic: Too many events acked (expected=141, total=141)  
Sep 28 10:27:01 xdl-10-7 packetbeat: goroutine 92 [running]:  
Sep 28 10:27:01 xdl-10-7 packetbeat: [github.com/elastic/beats/libbeat/publisher/queue/memqueue.(\*Broker](http://github.com/elastic/beats/libbeat/publisher/queue/memqueue.(*Broker)).reportACK(0xc4212ae000, 0xc421494000, 0x1000, 0x1000, 0x28a, 0x64)  
Sep 28 10:27:01 xdl-10-7 packetbeat: /go/src/github.com/elastic/beats/libbeat/publisher/queue/memqueue/broker.go:271 +0x761  
Sep 28 10:27:01 xdl-10-7 packetbeat: [github.com/elastic/beats/libbeat/publisher/queue/memqueue.(\*ackLoop](http://github.com/elastic/beats/libbeat/publisher/queue/memqueue.(*ackLoop)).handleBatchSig(0xc4204ca680, 0xc422b65620)  
Sep 28 10:27:01 xdl-10-7 packetbeat: /go/src/github.com/elastic/beats/libbeat/publisher/queue/memqueue/ackloop.go:101 +0x52c  
Sep 28 10:27:01 xdl-10-7 packetbeat: [github.com/elastic/beats/libbeat/publisher/queue/memqueue.(\*ackLoop](http://github.com/elastic/beats/libbeat/publisher/queue/memqueue.(*ackLoop)).run(0xc4204ca680)  
Sep 28 10:27:01 xdl-10-7 packetbeat: /go/src/github.com/elastic/beats/libbeat/publisher/queue/memqueue/ackloop.go:53 +0x37a  
Sep 28 10:27:01 xdl-10-7 packetbeat: [github.com/elastic/beats/libbeat/publisher/queue/memqueue.NewBroker.func2](http://github.com/elastic/beats/libbeat/publisher/queue/memqueue.NewBroker.func2)(0xc4212ae000, 0xc4204ca680)  
Sep 28 10:27:01 xdl-10-7 packetbeat: /go/src/github.com/elastic/beats/libbeat/publisher/queue/memqueue/broker.go:136 +0x59  
Sep 28 10:27:01 xdl-10-7 packetbeat: created by [github.com/elastic/beats/libbeat/publisher/queue/memqueue.NewBroker](http://github.com/elastic/beats/libbeat/publisher/queue/memqueue.NewBroker)  
Sep 28 10:27:01 xdl-10-7 packetbeat: /go/src/github.com/elastic/beats/libbeat/publisher/queue/memqueue/broker.go:137 +0x4cb  
Sep 28 10:27:01 xdl-10-7 systemd: packetbeat.service: main process exited, code=exited, status=2/INVALIDARGUMENT  
Sep 28 10:27:01 xdl-10-7 systemd: Unit packetbeat.service entered failed state.  
Sep 28 10:27:01 xdl-10-7 systemd: packetbeat.service failed.  
Sep 28 10:27:01 xdl-10-7 systemd: packetbeat.service holdoff time over, scheduling restart.  
Sep 28 10:27:01 xdl-10-7 systemd: Started packetbeat.  
Sep 28 10:27:01 xdl-10-7 systemd: Starting packetbeat...

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [October 4, 2017, 11:19am UTC](https://discuss.elastic.co/t/packetbeat-panic-too-many-events-acked/102055/2 "2017-10-04T11:19:03Z")

</div>

Thanks for reporting!

There have been some changes/fixes done for rc1. Can you check the problem still persists with [the rc1 release](https://www.elastic.co/downloads/beats/packetbeat#preview-release)?

If it's resolved with rc1, can you also test with `queue.mem.flush.min_events: 0`, just to be sure?

---

<div class="post-metadata">

**Author:** ![191801737](https://avatars.discourse-cdn.com/v4/letter/1/0ea827/32.png) [@191801737](https://discuss.elastic.co/u/191801737)\
**Post date:** [October 10, 2017, 1:55am UTC](https://discuss.elastic.co/t/packetbeat-panic-too-many-events-acked/102055/3 "2017-10-10T01:55:45Z")

</div>

Thanks for reply！

[root@xdl-10-7 packetbeat]# /usr/share/packetbeat/bin/packetbeat --version  
packetbeat version 6.0.0-rc1 (amd64), libbeat 6.0.0-rc1

when i update the version and set "queue.mem.flush.min\_events: 0" in packetbeat.yml  
the problem is also exist.

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [October 10, 2017, 11:47am UTC](https://discuss.elastic.co/t/packetbeat-panic-too-many-events-acked/102055/4 "2017-10-10T11:47:59Z")

</div>

Thank you for reporting in. Which output do you have configured?

When not setting `min_events`, does it work for you?

Can you open a [bug report](https://github.com/elastic/beats/issues)? I'd like to mark the issue for the [Pioneer Program](https://www.elastic.co/blog/elastic-pioneer-program-6-0).

---

<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:** [November 7, 2017, 11:58am UTC](https://discuss.elastic.co/t/packetbeat-panic-too-many-events-acked/102055/5 "2017-11-07T11:58:44Z")

</div>

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