Cpu usage + segfaults


(Jayme Rotsaert) #1

Hi,
I've been trying out packetbeat as a potential new relic replacement but I'm a bit afraid that CPU usage is a bit too high to use this in production.
I've installed this on one of my webservers and it's the highest consuming process on there:

It's also spawning panic errors like hell in /var/log/messages
Feb 5 21:15:46 web745 /go/src/github.com/elastic/beats/packetbeat/protos/memcache/plugin_tcp.go:335 (0x4de83d)
Feb 5 21:15:46 web745 /go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:112 (0x51172d)
Feb 5 21:15:46 web745 /go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:148 (0x511f3c)
Feb 5 21:15:46 web745 /go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:183 (0x6f8047)
Feb 5 21:15:46 web745 /go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:101 (0x6f7581)
Feb 5 21:15:46 web745 /go/src/github.com/elastic/beats/packetbeat/sniffer/sniffer.go:356 (0x526299)
Feb 5 21:15:46 web745 /go/src/github.com/elastic/beats/packetbeat/beat/packetbeat.go:232 (0x4676fb)
Feb 5 21:15:46 web745 /usr/local/go/src/runtime/asm_amd64.s:1721 (0x464561)
Feb 5 21:15:46 web745 /usr/local/go/src/runtime/asm_amd64.s:437 (0x4621ee)
Feb 5 21:15:46 web745 /usr/local/go/src/runtime/panic.go:423 (0x4307c9)
Feb 5 21:15:46 web745 /usr/local/go/src/runtime/panic.go:42 (0x42ee89)
Feb 5 21:15:46 web745 /usr/local/go/src/runtime/sigpanic_unix.go:24 (0x44589a)

Any things that I can change to lower cpu usage.. the other issue is probably something that needs to be fixed upstream

Thx
Jayme


(system) #2