Apache Memacached Problem

apache2: libmemcached/storage.cc:341: memcached_return_t memcached_send_ascii(memcached_st*, memcached_server_write_instance_st, const char*, size_t, const char*, size_t, time_t, uint32_t, uint64_t, bool, bool, memcached_storage_action_t): Assertion `memcached_failed(rc)' failed.

I have no idea what caused it to quit when it was thrown, or why.

Is this a fatal mistake? If so, does anyone know where I can fix this?

+5
source share
4 answers

I would look at line 341 of the storage.cc file in libmemcached. libmemcached does not do a good job of checking input, so depending on what, say .... your key values ​​(never use spaces in keys or in the key namespace), you can have a ton of error problems.

Looking at the source, libmemcache was expecting a response from the memcache server after sending the command and could not send the command. Thus, this can have many causes (key error, connection error, etc.).

http://bazaar.launchpad.net/~tangent-trunk/libmemcached/1.0/view/head:/libmemcached/storage.cc

+6

SugarCRM Community Edition v6.5.15 (Build 1083). memcached ( libmemcached ++ client). , .

Debian Wheezy memcached /etc/memcached.conf. :

-B binary

memcached

service memcached restart

: http://linux.die.net/man/1/memcached

+7

- .

, memcached (-c param). 1024 . , .

: / ../sysconfig/Memcached

0

( apache2) , . memcached , . , rc libmemcached . , libmemcached, , .

, , , , PHP, . , - memcached-.

-1

All Articles