# Memcached error saturate the syslog

**URL:** https://discuss.elastic.co/t/memcached-error-saturate-the-syslog/52487
**Category:** Beats
**Tags:** packetbeat
**Created:** [June 11, 2016, 3:22am UTC](https://discuss.elastic.co/t/memcached-error-saturate-the-syslog/52487 "2016-06-11T03:22:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dfaropennetwork](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@dfaropennetwork](https://discuss.elastic.co/u/dfaropennetwork)
#### Post date: [June 11, 2016, 3:22am UTC](https://discuss.elastic.co/t/memcached-error-saturate-the-syslog/52487/1 "2016-06-11T03:22:43Z")

</div>

Hi eveyone,

I need some help, i'm experimenting problems with packetbeat, i've the following error:

Jun 11 03:16:43 nombrehost /usr/bin/packetbeat[29569]: log.go:114: Stacktrace: /go/src/github.com/elastic/beats/libbeat/logp/log.go:114 (0x4c5a96)#012/usr/local/go/src/runtime/asm\_amd64.s:437 (0x47c88e)#012/usr/local/go/src/runtime/panic.go:423 (0x44b119)#012/usr/local/go/src/runtime/panic.go:42 (0x4497d9)#012/usr/local/go/src/runtime/sigpanic\_unix.go:24 (0x46024a)#012/go/src/github.com/elastic/beats/packetbeat/protos/memcache/plugin\_tcp.go:335 (0x4f9bad)#012/go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:112 (0x52cc9d)#012/go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:148 (0x52d4ac)#012/go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:183 (0x7137b7)#012/go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:101 (0x712cf1)#012/go/src/github.com/elastic/beats/packetbeat/sniffer/sniffer.go:356 (0x5417f9)#012/go/src/github.com/elastic/beats/packetbeat/beat/packetbeat.go:232 (0x481d4b)#012/usr/local/go/src/runtime/asm\_amd64.s:1696 (0x47ebd1)  
Jun 11 03:19:24 ubumem000 /usr/bin/packetbeat[31426]: log.go:113: GapInStream(memcache) exception. Recovering, but please report this: runtime error: invalid memory address or nil pointer dereference.  
Jun 11 03:19:24 nombrehost /usr/bin/packetbeat[31426]: log.go:114: Stacktrace: /go/src/github.com/elastic/beats/libbeat/logp/log.go:114 (0x4c5a96)#012/usr/local/go/src/runtime/asm\_amd64.s:437 (0x47c88e)#012/usr/local/go/src/runtime/panic.go:423 (0x44b119)#012/usr/local/go/src/runtime/panic.go:42 (0x4497d9)#012/usr/local/go/src/runtime/sigpanic\_unix.go:24 (0x46024a)#012/go/src/github.com/elastic/beats/packetbeat/protos/memcache/plugin\_tcp.go:335 (0x4f9bad)#012/go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:112 (0x52cc9d)#012/go/src/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go:148 (0x52d4ac)#012/go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:183 (0x7137b7)#012/go/src/github.com/elastic/beats/packetbeat/decoder/decoder.go:101 (0x712cf1)#012/go/src/github.com/elastic/beats/packetbeat/sniffer/sniffer.go:356 (0x5417f9)#012/go/src/github.com/elastic/beats/packetbeat/beat/packetbeat.go:232 (0x481d4b)#012/usr/local/go/src/runtime/asm\_amd64.s:1696 (0x47ebd1)

---

<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: [June 11, 2016, 11:21am UTC](https://discuss.elastic.co/t/memcached-error-saturate-the-syslog/52487/2 "2016-06-11T11:21:07Z")

</div>

Error is triggered due to packet loss. The memcached plugin tries to recover from packet loss (not drop complete message), if it's in middle of some bigger message.

Reading the memcache code I can see this exception happen if 2 consecutive packet losses are noticed by TCP module in case memcache module decided to drop state on packetloss.

Related github issue: [https://github.com/elastic/beats/issues/1162](https://github.com/elastic/beats/issues/1162)

Fix should be easy (well, you never know ;)).

---

<div class="post-metadata">

### Author: ![dfaropennetwork](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@dfaropennetwork](https://discuss.elastic.co/u/dfaropennetwork)
#### Post date: [June 14, 2016, 5:53am UTC](https://discuss.elastic.co/t/memcached-error-saturate-the-syslog/52487/3 "2016-06-14T05:53:55Z")

</div>

Ouuu! thanks so much for your help 😃

---

<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: [July 2, 2016, 3:22am UTC](https://discuss.elastic.co/t/memcached-error-saturate-the-syslog/52487/4 "2016-07-02T03:22:45Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
