Skip to main content

Questions tagged [memcached]

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

Filter by
Sorted by
Tagged with
0 votes
1 answer
161 views

Why Memcached is empty

I've added memcached to LAMP stackand Wordpress and everything seems fine except the memcached memory is empty. When I check with memcdump --servers=127.0.0.1 it returns nothing. Also when I connect ...
Łukasz Korona's user avatar
0 votes
1 answer
211 views

Error Installing Memcached with Plesk Ubuntu Server

We are working on getting a new Ubuntu Plesk server running with memcached and keep running into errors when setting it up for PHP. Using the instructions from Plesk we run the following successfully: ...
Jason C's user avatar
1 vote
1 answer
230 views

Memcached can not listen on a port different from 11211 in Alma Linux 8.8

I installed successfully Memcached in Alma Linux 8.8 (a Red Hat 8.8 clone) but, when I changed the port number from 11211 to 11212 in the config file at /etc/sysconfig/memcached and restarted the ...
aldemarcalazans's user avatar
4 votes
2 answers
5k views

memcached support requires libmemcached

We've configured a Dockerfile containing the following code snippet: ENV MEMCACHE_VERSION=8.0 \ MEMCACHED_VERSION=3.2.0 ############## END ENVIRONMENT VARIABLES ############### ###################...
IT-Girl's user avatar
  • 143
0 votes
1 answer
438 views

Clear RAM Memory Cache and buffer on production Hadoop cluster with HDFS filesystem

we have Hadoop cluster with 265 Linux RHEL machines. from total 265 machines, we have 230 data nodes machines with HDFS filesystem. total memory on each data-node is 128G and we run many spark ...
King David's user avatar
1 vote
1 answer
143 views

Memcached error for apache httpd 2.4

I created an EC2 instance with Apache HTTPD 2.4 with mod_ssl version 2.4.34. I've created a Memcached cluster on AWS ElastiCache version 1.6.17 with encryption in transit. The goal is to have HTTPD ...
Byob 's user avatar
  • 111
3 votes
2 answers
4k views

How do I install php-memcached for php 8.x on Amazon Linux 2 aarch64?

I'm migrating our website from an older Centos server to a new EC2 instance (Amazon Linux 2, aarch64). I'd like to install both the LAMP stack and memcached on the EC2 instance stack; which is the ...
Arth's user avatar
  • 405
0 votes
1 answer
167 views

How to install memcashed on a LAMP stack with PHP FPM?

I have a LAMP stack with PHP FPM and multiple virtual hosts with Wordpress sites on. I have tried to install memcashed using this tutorial. In Wordpress sitehealth I get: "You should use a ...
newcat1000's user avatar
0 votes
1 answer
1k views

SystemD memcached service - (code=exited, status=1/FAILURE)

So I had to deploy in Rocky Linux 8 memcached with SOCKET in /var/run/memcached In order to avoid the service to fail, I have run the following: systemctl edit memcached.service Pasted in: [Unit] ...
Uhl Hosting's user avatar
1 vote
0 answers
483 views

Squid Cache is not caching anything - TCP_MISS is the result every time, please help me fix the configuration

I am trying to use Squid Cache for the first time. My aim – is that for any HTTP response from 192.168.0.2:3001 is cached and served from the cache. My config is as follows: http_port 3128 acl ...
RenegadeAndy's user avatar
0 votes
1 answer
463 views

memcached causes Apache processes to hang indefinitely

I have been tracking down the source of Apache processes hanging indefinitely. Unfortunately, I need to regularly reboot Apache as it eventually exhausts all slots. The Apache status page below shows ...
tom_nb_ny's user avatar
0 votes
1 answer
3k views

How to telnet to a unix socket in debian to test memcached

To test memcached on Ubuntu, I would run this command: echo "stats settings" | nc -U /run/mydir/memcached.sock However now I have changed to Debian, and Debian nc does not support the -U ...
run_the_race's user avatar
0 votes
1 answer
221 views

How to update memcached to 1.4.33 on centos? Yum says there is no update

I need to update memcached on centos7 from 1.4.15 to 1.4.33 however yum update says there isn't anything to update, clearly there is as there is a newer version. I can't find anything on google ...
noname's user avatar
  • 15
0 votes
1 answer
2k views

Error with memcache memcached php 7.4

The Server have this Error: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/lib/php/20190902/memcached.so (/usr/lib/php/20190902/memcached.so: undefined symbol: ...
stephan_me's user avatar
0 votes
0 answers
85 views

how to monitor number of "add" commands on memcached

so memcached provides a lot of stats to track usage (hits and misses). sample output - stats STAT pid 1 STAT uptime 982226 STAT time 1630949306 STAT version 1.6.6 STAT libevent 2.0.21-stable STAT ...
mirage's user avatar
  • 221
3 votes
1 answer
3k views

The memcache was not invalidated by NSS responder

I was deleting a user. # userdel u1 The memcache was not invalidated by nss responder. But finally the user was deleted. What does "The memcache was not invalidated by nss responder" means? ...
JellyTea's user avatar
4 votes
2 answers
1k views

Can I use apache2 and memcache in same server?

I am really new to server development. I have a server (Server version: Apache/2.4.41 (Ubuntu)) for Django and it's running on apache2. I want to use Memcache for a large queryset. I just wanna use ...
Murat Demir's user avatar
0 votes
1 answer
636 views

How to remove apcu and memcached from centos?

I've always installed apcu and memcached on my server, but I'm not sure how useful they are. Mostly 2-3 pages per visit are visited on my sites. And I'm not even sure if having them is a good thing or ...
alebal's user avatar
  • 67
2 votes
1 answer
175 views

dovecot + memcached, how to?

Does anyone know how to utilize memcached with dovecot (in order to reduce number of MySQL queries)? There is only very basic documentation regarding dovecot's Dictionary: memcached:param=value:param2=...
Miloš Đakonović's user avatar
0 votes
1 answer
555 views

How to set MEMCACHED_SERVERS environmental variable for memcstat

I've installed memcached and libmemcached-tools on ubuntu 18.04. Both of these commands work: memcstat --servers=localhost memcstat --servers=127.0.0.1 But in the man page for memcstat it says: You ...
Kevin's user avatar
  • 103
1 vote
0 answers
394 views

Memcached crashes / spikes to 100% CPU with EC2, Nginx

I have a strange issue with PHP 7.4, Nginx, PHP-FPM and Memcached on EC2 Randomly the server will spike from 1% CPU to 100% and continue using everything it can until I reboot it. Rebooting just the ...
Brandon Ingham's user avatar
1 vote
2 answers
1k views

Memcached error: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY

Here is my test code: $host = 'localhost'; $port = '11211'; if (extension_loaded('memcached')) { $mc = new Memcached; $mc->addServer($host, $port); if ($mc->set('test', 'TEST')) { ...
bigboy's user avatar
  • 11
0 votes
0 answers
823 views

Confusion with memcache size increase

I'm facing issues with my memcache recently as we received lot of data requests. So, I used telnet command to get some stats around the memcache. For the production environment, I saw that there are ...
Priyanka Naik's user avatar
0 votes
1 answer
154 views

Fast access to a hash set in Varnish

I am developing a Varnish pipeline that serves a mix of public and restricted resources. Since access to public resources makes up the vast majority (>99.9%) of the traffic, I want to create ...
user3758232's user avatar
0 votes
0 answers
569 views

Getting 499 status from nginx log upto 2 minutes in every 3 hours interval, when memcache restarts

I have two Application servers served by an another haproxy load balancer server. The application servers are connected with a memcache server and a mysql database server. I am observing in every 3 ...
Md. Shahriar Hossain's user avatar
0 votes
1 answer
323 views

I have a lot of traffic and only 1 server best config for nginx/varnish/apache configuration

I have a lot of traffic and only 1 server can I get some help with configuration Nginx.conf config: # For more information on configuration, see: # * Official English Documentation: http://nginx....
Jack Duldi's user avatar
0 votes
1 answer
2k views

memcache container: Error starting userland proxy: listen tcp 0.0.0.0:11211: bind: address already in use

I am having problems setting up memcached on my docker. I get an error when I run: docker run --name=memcache -p 11211:11211 -d memcached memcached -m 128 This is the error that comes after running ...
Mr Krisey's user avatar
0 votes
1 answer
686 views

Memcached not working in PHP file but working on SSH - CentOS

On my CentOS 7, Memcached is running and working on SSH but not working in the PHP file. I've followed this article: https://www.mynotepaper.com/install-memcached-on-centos-7. This method was working ...
Md Obydullah's user avatar
3 votes
0 answers
2k views

Memcached fails/crashes every few hours

I have a CentOS 7 server with Memcached. There are a lot of requests, and usually after a few hours, the memcached daemon crashes. I always restart the service, but it crashes again a few hours later. ...
Andres SK's user avatar
  • 238
0 votes
1 answer
766 views

Apache2 reverse proxy with response caching

I'm using Apache as a reverse proxy for an application running on a local port. I want to cache responses from this application in memory. So requesting the same URL frequently should give me cached ...
kontextify's user avatar
0 votes
1 answer
591 views

Memcached stops responding after a few seconds

I'm having troubles with my memcached (v1.5.13) instance. It starts just fine but after a few seconds it becomes non responsive. I'm on a currently updated arch-linux box trying to access it just from ...
Mauricio Pasquier Juan's user avatar
1 vote
1 answer
1k views

Issue with the Memcached redundancy

I was asked to setup a Memcached server on two servers (one on each). For the records, I run PHP 5.6.5. Here is my setup: memcached.ini: extension=memcached.so memcache.allow_failover=1 memcache....
Jaeger's user avatar
  • 125
1 vote
1 answer
2k views

Roundcube 1.3.8 + Memcached + PHP 7.3

I'm testing out moving my Roundcube 1.3.8 install over to php 7.3. It's load balanced and I have been using memcache for session storage with php 5 without any issues: $config['session_storage'] = '...
Aaron A's user avatar
  • 249
0 votes
1 answer
470 views

Why can't I lower the item size in memcached (anymore)?

I'm running memcached and recently upgraded to the latest Debian release. I'm not sure what version of memcached I had before, but the new one doesn't like this configuration setting I had in the past:...
Christopher Schultz's user avatar
1 vote
2 answers
4k views

helm install a chart and give parameters to the depencie chart

I am trying to use the chart stable/mcrouter for memcache sharding, everything works, but this chart uses a memcache chat as dependencie. I would like to know if I can pass parameters to memcache ...
c4f4t0r's user avatar
  • 5,431
3 votes
1 answer
12k views

PHP's MemcacheD extension DLL for Windows

On my PHP 5.6 site I have been using the Memcache extension to interface with the memcached daemon. As the extension has a matching DLL, it meant I could deploy it on my Windows dev machine as well ...
BeetleJuice's user avatar
0 votes
1 answer
3k views

How to tune memcached service [duplicate]

I am new to server management and earlier I used shared hosting and thought to go for VPS and get more for my websites. VPS specs: RAM: 12GB CPU: 4 Core Intel E5 SSD: 300GB Server: Apache OS: Ubuntu ...
Prashant Verma's user avatar
1 vote
1 answer
3k views

Why do free -m and htop show different amounts of total memory?

When I run free -m, I get different data from when I use htop. free -m: total used free shared buff/cache available Mem: 992 396 149 ...
APixel Visuals's user avatar
0 votes
1 answer
509 views

AWS Apache 2.4 + socache/memcache == not storing

Fleet of Apache 2.4 reverse proxies on an AWS EC2 instance, directed to cache to an ElastiCache memcache cluster. Pretty typical stuff. The CacheDetailHeader directive is on, and regularly sends the ...
GraduateOfAcmeU's user avatar
1 vote
2 answers
7k views

Allowing remote connection of memcache server

My memcache server is up and running on Server A. service memcached start memcached -d -u nobody -m 512 -p 11211 127.0.0.1 chkconfig --list | grep memcache chkconfig memcached on I also have a web ...
Andres SK's user avatar
  • 238
0 votes
1 answer
512 views

Memcached doesn't seem to use RAM

I am new to memcached but have installed and am using it for an application. My application reports that it should have a few hundred thousand items cached, however memcached says it only has ...
Tyler Clendenin's user avatar
0 votes
1 answer
337 views

Memcache build error on CentOS

I have a problem installing "Pterodactyl Panel" on Centos 7. I am stuck at the line "pecl install memcache". The errors are shown below: [root@localhost ~]# pecl install memcache WARNING: channel "...
amiaz pes's user avatar
2 votes
0 answers
392 views

Where/How I declare memcached server's IP with Nginx?

Good day! I have a forum configured with MyBB. Everything was up and running in Ubuntu 14.04, but my friend tried to install 16.04 on it and first saved everything (site's config, letsencrypt files, ...
Alain's user avatar
  • 135
0 votes
1 answer
1k views

Memcached fails after a few hours of usage

I just installed CentOS 7, with Apache 2, PHP 5.6. I also installed memcached, but it keeps failing after a few hours of usage, so I have to restart it at least 3 times a day. [root@myserver log]# ...
Andres SK's user avatar
  • 238
0 votes
0 answers
1k views

Memcached servers keeps failing

Everyday I get an error email from my python flask app with the following error: WriteError: error 5 from memcached_set: (54648992) SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY, host: 127.0.0....
TheOne's user avatar
  • 615
0 votes
1 answer
983 views

memcached on RedHat build PHP 5.6

I am trying to setup memcached on a server running RedHat PHP 5.6.25 I have successfully installed memcache but cannot find how to install memcached - is there a package available? If not how can I ...
bhttoan's user avatar
  • 650
0 votes
0 answers
79 views

Memcache , python client doesnt distribute the keys among all of the servers in the pool

I have 7 webservers with 64gb of ram each, I want to make use some of this 64 gb of ram with memcached, so I assigned 30gb to memcache in each webservers and added all of the 7 servers to the memcache ...
SteveL's user avatar
  • 167
1 vote
0 answers
926 views

Is it possible to migrate Memcached cluster data to Redis?

I have searched Google and SO and surprisingly haven't been able to find a very good answer to this. Basically, I want to know if there is any sort of method or best practice for migrating cache data ...
jmreicha's user avatar
  • 790
0 votes
1 answer
937 views

How to use PHP memcached for session storage with Auto Scaling?

I already have memcached installed in my servers and I've modified the default php.ini to: session.save_handler = memcached session.save_path = "127.0.0.1:11211" I'm using Amazon EC2 instances (...
Igor's user avatar
  • 135
1 vote
0 answers
2k views

nginx/memcached for cached web proxy

I'm trying to setup nginx as a caching layer on top of an HTTP proxy - along with memcached to do the actual caching. The goal here is that we have an internal application which will make frequent ...
Siler's user avatar
  • 379

1
2 3 4 5
8