memcache Plugin: Message from memcached has been truncated.

Bug #1253677 reported by Dirk Melchers
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
collectd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

lsb_release -rd
Description: Ubuntu 12.04.3 LTS
Release: 12.04

apt-cache policy collectd
collectd:
  Installed: 4.10.1-2.1ubuntu7
  Candidate: 4.10.1-2.1ubuntu7
  Version table:
 *** 4.10.1-2.1ubuntu7 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

Problem:
Using the memcached plugin gives messages in syslog:
   memcached: Message from memcached has been truncated.
and some information (curr_items) are not displayed in collectd.

Bug was fixed on "collectd.org", please backport the fix.

 I think, this should help, but did not test ist:

--- memcached.c_orig 2013-11-21 16:12:58.591317213 +0100
+++ memcached.c 2013-11-21 16:13:11.091420648 +0100
@@ -358,7 +358,7 @@

 static int memcached_read (void) /* {{{ */
 {
- char buf[1024];
+ char buf[4096];
        char *fields[3];
        char *ptr;
        char *line;

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in collectd (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Brooks (robert-brooks) wrote :

Dirk's patch fixes the issue for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.