Packetbeat: panic: Too many events acked


(Lei Wang) #1

[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).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).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).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(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
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...


(Steffen Siering) #2

Thanks for reporting!

There have been some changes/fixes done for rc1. Can you check the problem still persists with the rc1 release?

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


(Lei Wang) #3

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.


(Steffen Siering) #4

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? I'd like to mark the issue for the Pioneer Program.


(system) #5

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