Questions tagged [memcached]

Memcached is a simple distributed object cache that caches information in memory, and can be used to improve the performance of dynamic web applications by reducing access time and database load.

Memcached is open source easily deployable in-memory distributed cache, cross application and cross Platform Engine meaning the same server(s) can be accessed from a variety of languages - PHP, Java, and .NET and from Windows, Linux, etc. Memcached is currently distributed under a BSD-style open source license.

5184 questions
2
votes
1 answer

Django cache.clear() not working

I have set up memcached on my machine, and added it to a view like so: @cache_page(3600) def course_list(request, market_code, destination=None, course_type=None): template = 'course_list.html' ... .. And I have set up a view that…
wobbily_col
  • 11,390
  • 12
  • 62
  • 86
2
votes
2 answers

memcached limitations

Has anyone experienced memcached limitations in terms of: of objects in cache store - is there a point where it loses performance? Amount of allocated memory - what are the basic numbers to work with?
joeysim
  • 494
  • 1
  • 4
  • 13
2
votes
0 answers

Memcache::connect(): Can't connect to memcached.domain.com:11211, Connection timed out (110) - Occurring Sometimes

Our memcached server is not responding sometimes. The following error message appears in our apache error logs about 20 times a day: Memcache::connect(): Can't connect to memcached.domain.com:11211, Connection timed out (110) Is there away to…
user2724314
  • 251
  • 1
  • 2
  • 3
2
votes
1 answer

search good resources to implement memcached with doctrine 1.2 and zend framework

I search a good resources with examples to use a doctrine memcached and zend framework. i search in google but not found, i need resource that Combine all this things. using Doctrine_Cache_Memcache in zend framework. thanks
Haim Evgi
  • 123,187
  • 45
  • 217
  • 223
2
votes
0 answers

Memcached problems on my Mac OS

I just installed memcached on my Mac OS. It installed perfectly and when I type in memcached in Terminal I get this: failed to listen on TCP port 11211 tcp listen: Address already in use And I have a script in my localhost that contains…
Tomas
  • 514
  • 4
  • 13
  • 37
2
votes
3 answers

Cron script to restart memcached not working

I have a script in cron to check memcached and restart it if it's not working. For some reason it's not functioning. Script, with permissions: -rwxr-xr-x 1 root root 151 Aug 28 22:43 check_memcached.sh Crontab entry: */5 * * * * …
63bus
  • 31
  • 7
2
votes
1 answer

How to store protobuf object in memcached?

Following is the proto file I am using to create a GRPC system which gets data from the database/memcached. message CMSContent { repeated ArticleSummary Articles = 1; uint32 RecordCount = 2; } service Article { rpc…
GawdePrasad
  • 623
  • 1
  • 7
  • 15
2
votes
1 answer

Warning: Memcached::getMulti(): could not unserialize value, no igbinary support

I'm using memcached (installed via brew on OS X) on my Drupal site successfully for already few months. However this error start happening out of blue after very long page load: ( ! ) Warning: Memcached::getMulti(): could not unserialize value, no…
kenorb
  • 155,785
  • 88
  • 678
  • 743
2
votes
0 answers

How to record metrics using perf stat for a server-client application - memcached

I'm trying to record metrics like cycles, instructions for an application called memcached. For this application to run I followed the following procedure: 1) Start the server using this command: memcached -t 4 -m 4096 -n 550 2) Start the client…
Bhaskar Jupudi
  • 45
  • 1
  • 11
2
votes
2 answers

Configure Memcached in Laravel

I've tried to set up memcached with my Laravel Set Driver /config/app.php 'default' => 'memcached', Configure Memcache Server 'stores' => [ 'database' => [ 'driver' => 'database', 'table' => 'caches', 'connection' =>…
code-8
  • 54,650
  • 106
  • 352
  • 604
2
votes
1 answer

Having huge problems getting memcached plugin working on ub 9.04

Heya, so I've spent about 6 hours now trying to get this working. I had the following set of rules I uses to compile in the memcached plugin to php, installing libmemcached dependency first. Here are the steps: cd ~ sudo wget…
onassar
  • 3,313
  • 7
  • 36
  • 58
2
votes
1 answer

How is memcache.incr() affected by App Engine maintenance periods?

I'm working on an application that will run on Google App Engine. I would like it to respond gracefully to App Engine maintenance periods. According to the documentation, memcache will simply not store or retrieve data during maintenance…
Luke Francl
  • 31,028
  • 18
  • 69
  • 91
2
votes
1 answer

CakePhp Cache Clear All Models

I have this configuration in my core.php $memcacheServer = '127.0.0.1:11211'; $engine = 'Memcached'; Cache::config('default', array( 'engine' => $engine, 'duration' => 3600, 'probability' => 100, 'prefix' =>…
gdm
  • 7,647
  • 3
  • 41
  • 71
2
votes
0 answers

How to install memcached extension on linux(add memcached.so extension to php.ini)

I have add this line to php.ini file. extension=memcached.so And I have got error message when I run php command. [ec2-user@ip-172-31-1-237 ~]$ php -v PHP Warning: PHP Startup: Unable to load dynamic library…
Flip
  • 133
  • 1
  • 9
2
votes
1 answer

php Memcache class can not be found

all I got a problem when try to use memcache with php I hava successfully install php and memcached extension. I write a memtest.php to test it and it success. Here is the test. connect('xxxxxx', 11211)…
wanghao qin
  • 145
  • 1
  • 10
1 2 3
99
100