Questions tagged [libmemcached]

libMemcached is an open source C/C++ client library and tools for the memcached server.

110 questions
3
votes
1 answer

UDP Benchmark for Memcached

I am looking for an Open source UDP Benchmarking client for Memcached Server. If any one knows of any one that would be of great help. We are trying to write our own client but somehow it is working for TCP but not for UDP. I am actually looking for…
Udit Gupta
  • 3,162
  • 11
  • 43
  • 71
3
votes
2 answers

Persistent memcached in PHP - server pool growing until curr_connections 10

I have a problem with Memcached persistence in PHP. Memcached lib returns empty getServerList() until there are 10 concurrent connections. Couldn't find sensible explanation of that, but found people with the same problem (without solution). My…
s3m3n
  • 4,187
  • 1
  • 28
  • 24
3
votes
1 answer

How to pass username and password in the localhost url to connect with the memcached in Java?

Hi, I want to pass the username and password to connect to localhost where I have deployed memcached. Here is my code. import java.io.IOException; import java.net.InetSocketAddress; import net.spy.memcached.MemcachedClient; public class…
Zain
  • 5,391
  • 11
  • 34
  • 34
3
votes
1 answer

libmemcached - memcached_mget seems to block

I have a single memcached server. I use the libmemcached C api to interface with it. I am using non blocking mode and no reply mode (behavior flags). I am also using libmemcached inside an nginx C module if that helps. The problem is that…
florinp
  • 329
  • 2
  • 5
  • 13
3
votes
2 answers

How to fix?: mysql> show variables like 'plugin_dir'; Does not show plugin_dir location

After this post I continued to try to setup MySQL memcached User-Defined Functions as per these instructions: http://stanley-huang.blogspot.com/2010/04/level-3-install-memcached-user-defined.html But now when trying to find the plugin_dir location I…
Hayden
  • 361
  • 4
  • 18
2
votes
2 answers

Problem adding Memcached support in Docker for PHP8.1 using bookworm

I have a Dockerfile relying on PHP:8.1-apache, running since months. Once PHP:8.1-apache started to use Debian bookworm, the memcached client started to give an error while building the image. The Dockerfile rows involved are FROM…
Ing. Luca Stucchi
  • 3,070
  • 6
  • 36
  • 58
2
votes
1 answer

How does addServer method of PHP Memcache/Memcached work?

I'm currently running PHP Memcache on Apache server. Since Memcache and Memcached have similar inner workings this question is about both of them. I was wondering through the addServer method of memcached here and the second comment on the user…
ibrahim tanyalcin
  • 5,643
  • 3
  • 16
  • 22
2
votes
3 answers

Install PHP7 fpm and memcached with Docker

I have an app with Docker, and I am trying to install memcached with php7-fpm. According to official docker documentation I have in my Dockerfile: # PHP Version FROM php:7.0-fpm ... # Install Memcached RUN apt-get install -y libmemcached-dev &&…
Mauro
  • 189
  • 2
  • 14
2
votes
0 answers

Memcached issue

I am working on OSX 10.10.5, using AMPPS 3.2, PHP 5.6. I am trying to install memcached to work with PHP but no luck so far. What I have done so far: I have installed downloading the sources Using homebrew (also update it) Using pecl First time I…
2
votes
0 answers

Memcached / Memcache Keys Not Expiring

It seems that data expires as expected with Memcached, but the keys themselves never expire. Why are the keys sticking around after the value has nulled? When I run this code: $frontCache = new Phalcon\Cache\Frontend\Data(array( "lifetime" =>…
Tabby Laredo
  • 177
  • 1
  • 3
  • 9
2
votes
2 answers

MySql 5.6 and missing libmemcached.so

After update Mysql 5.5 to 5.6 on debian I want start using memchached. In /usr/lib/mysql/plugin/ i do not see libmemcached.so plugin. How i can install this plugin and use?
Alexander Savenko
  • 623
  • 1
  • 7
  • 12
2
votes
1 answer

Preventing the python and ffmpeg heroku buildpacks from overwriting LD_LIBRARY_PATH

I'm deployng a Django app to heroku, which requires ffmpeg. To accomplish this I am using heroku-buildpack-multi to install both heroku-buildpack-ffmpeg and heroku-buildpack-python, and all of that works fine. The problem is my that app also depends…
Simon
  • 3,667
  • 1
  • 35
  • 49
2
votes
1 answer

MemcachedError on collectstatic with Django Storage and S3

I've deployed a bare-bones Django app on Heroku. When I run collectstatic to upload the static files to S3, I get the following error: Traceback (most recent call last): File "appname/manage.py", line 11, in …
geeljire
  • 226
  • 3
  • 9
2
votes
0 answers

Inconsistent behavior of Memcached server 1.4 with php

I used the following combination :: OS -> CentOS php -> 5.4 Memcached Server -> 1.4 Memcached -> 2.1 [ client library for php ] libmemcached -> 1.0.16 and following code
Tarun Chabarwal
  • 332
  • 4
  • 15
2
votes
1 answer

To what extent is Couchbase a drop in replacement for Memcached

Official couchbase documentation says. "If you already have an application that uses the Memcached protocol then you can start using your Couchbase Server immediately. If so, you can simply point your application to this server like you would…
binithb
  • 1,910
  • 4
  • 23
  • 44