Memcache is a system used to store data in the RAM of the server to reduce database lookups on commonly used variables.

learn more… | top users | synonyms

1
vote
0answers
56 views

How to configure memcached for mysql innodb? [migrated]

Currently we have a website running on a Centos 6.5 webserver with Direct Admin. APC was configured in the past and is working nicely, but some reading suggested to also implement memcached to cache ...
0
votes
1answer
65 views

Drupal web cluster with memcached. memcached failover?

Running Drupal 7 sites (under Aegir) and I'm investigating a method to scale out the web boxes horizontally, so that any Apache server can process a request for any Drupal site. We're currently at ~50 ...
0
votes
0answers
41 views

Caching home page content instead of actual content

I am facing a problem related to cache. Some of the pages showing home page content instead of actual content. And after clearing the Drupal inbuilt cache ...
0
votes
0answers
16 views

Caching issues on alias site

Hello I have a live site which has a web URL ( www.mysite.com) . On sites.php I configured another alias, lets call it apimysite.com. These sites are all on a stack that looks like this: DNS --> ...
-1
votes
2answers
340 views

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32598429 bytes)

I'm new to drupal. I was uploading multiple files to a page and then tried to increase size of the page. However when doing so, I got this error. Fatal error: Allowed memory size of 134217728 bytes ...
0
votes
1answer
51 views

Drupal memcache is not updating cache values sometimes [duplicate]

I am fighting with this issue since last week.I need to cache some set of values in which each value belonging to specific id on every cron run.I am setting the expire time to "CACHE_PERMANANT" and ...
0
votes
0answers
604 views

Difference between APC & Memcached and how both can be used for cache bins

I'm trying to understand the difference between Memcached and APC and why people talk about using one or the other or both. I can't understand why you wouldn't use both because I thought they had ...
0
votes
0answers
17 views

Recent server upgrade: Now I need to refresh the page to see new content

I recently upgrade my server from Ubuntu Server 12.04 to 14.04, Apache to Nginx (not really an "upgrade" just switched to Nginx because of memory usage), PHP 5.3 to PHP 5.5, MariaDB 5.5 to MariaDB ...
1
vote
1answer
27 views

Cache Backport not loading correctly. Unable to change cache.inc location?

Drupal 6, trying to get the Cache Backport module working. Every time I load a page, this error fires: Call to undefined function _cache_get_object() in ...
1
vote
1answer
212 views

Memcache not being cleared on cache flush [closed]

When clearing the cache, either through /admin_menu/flush-cache or drush cc all, the cache isn't cleared, without errors. I've tried doing it directly through telnet, on memcache, getting "OK" as ...
1
vote
0answers
55 views

Site not loading with memcached

I'm trying to install memcached and having no luck getting the site to run in local development using OS X 10.9 Mavericks. The homepage loads, but that's it. Everywhere else, I get this error: ...
-1
votes
2answers
236 views

Drupal 6 memcache configuration

I'm trying to use: Memcache API and Integration | Drupal.org w/ my Drupal6 and unable to determinate what am I doing wrong as when I hit memcache.php (MEMCACHE INFO) my Cache Usage shows me 100% of ...
1
vote
2answers
147 views

Cache warming for logged in user roles

I have 2 pages that are highly customized per user, and I happen to know exactly when certain users are going to log in (this site is used by students during classtime). I have APC and memcache ...
0
votes
0answers
107 views

Similar Module for Drupal Like W3 Total Cache

All of my WordPress sites are running W3TC and it is working fine (very fast). I am using memcache module, but it is not as fast as W3TC. In W3TC, you can choose what cache you'd like to use for Page ...
0
votes
1answer
454 views

Why is “drush cc all” failing with “undefined function user_load()”

After updating my Drupal test server to have a fresh copy of the database and code from the production system, "drush cc all" would fail with a message saying PHP Fatal error: Call to undefined ...
0
votes
1answer
624 views

optimize ajax request with varnish

I use memchache + apc + varnish for drupal 7 optimization, my performance is good but in ajax link site don't have good speed, what I must to do for ajax? and what is useless in my configs? my config ...
0
votes
0answers
31 views

Drupal Keeps Resetting it's Settings

I'm using Drupal, and I'm having this weird issue with it. Multiple times in a day certain settings reset themselves temporarily. When I clear the cache, the issue is fixed for a while, but then I'll ...
3
votes
1answer
291 views

Advices for tunning my server for better performance and scalability

I am working on a web application which will primarily be used by authenticated users. The web application imports records from CSV files using the Feeds module, MongoDB was chosen to store this data ...
0
votes
1answer
177 views

Fivestar being cached for anonymous users!

On enabling caching for anonymous users, it appears that the fivestar votes are also being cached, which is super-weird. On disabling caching for anonymous users, things work great. We use ...
1
vote
2answers
800 views

After disabling and uninstalling memcached module, I get this PDOException and WSOD?

I´ve cloned my production site in a local Xampp installation. My site has Memcached installed (in the server and I´ve got the drupal memcache module installed). But I´ve got this error at my local ...
0
votes
2answers
364 views

Elysia cron stuck in (w) state (wating to be executed)

I have a few crons set up to run every 15 min. My system cron is set to execute every 5 mins. However one cron keeps getting stuck in the (w) state. I updated its setting to run every minute (* * * *) ...
0
votes
1answer
38 views

Panels on the front page get invalid $user variable

I have a Drupal 7 wite where the front page is a Panel. In one of its tiles I have a custom PHP code that prints out the value of `$user->name'. Now the problem is that it usually prints out a ...
0
votes
0answers
498 views

Varnish working on sub-domain but not on main domain?

I am using Pressflow 6 and enabled varnish caching with following settings in settings.php : ini_set('arg_separator.output', '&'); ini_set('magic_quotes_runtime', 0); ...
1
vote
1answer
2k views

Configuring Drupal 7 settings.php with both Memcache and Varnish

I am noob to using both Varnish and Memcached. I have been following some copy and paste install guides. I have both servers installed and running. Memcached seems to be working fine. Varnish is ...
0
votes
0answers
65 views

Optimizing page_manager_node_view

according to newrelic's dashboard /page_manager_node_view is: most time consuming (97.1%) slowest average response time (2050ms) apdex most dissatisfying (95.6%) highest throughput (14.4rpm) I ...
0
votes
0answers
259 views

Drupal memcache problem - perhaps misconfigured?

I'm trying to configure memcache w/ my pressflow. I followed instruction from Memcache API and Integration | drupal.org site yet whenever I'm trying to access /memcache.php to see stats, I always see ...
1
vote
0answers
697 views

How can I increase my hit ratio in Memcache?

Memcache has been up and operational on my production site http://goniseko.com for a few months now. After getting everything configured and memory limits where they should be, I noticed that I have ...
2
votes
1answer
1k views

Is there any gain using Memcached module when APC is running good on large Drupal 7 site (one server)

I am successfully using the APC Cache module on my prod website (single server). APC is performing good, caching is done very well. I wonder could I gain anything more by implementing Memcache. I ...
1
vote
1answer
298 views

hook_node_insert() sporadically not being fired after node_save()

I have a situation where, every once in a while, I'll save a new node, and hook_node_insert() appears not to be called--AT ALL, for any of the modules that implement it. For example, if I look through ...
1
vote
1answer
131 views

Configuring memcached

I have installed memcached, but I'm stuck now with how to implement it in conjunction with Drupal. I've already installed and enabled the Drupal memcache module, but nobody seems to be able to offer ...
2
votes
0answers
121 views

Random lost _page_build implementation in cache

We have an interesting trouble on http://adsoftheworld.com The hook_page_build implementations sometimes looses some value from cache. Look at this image: http://www.diigo.com/item/image/2peqe/drbq ...
3
votes
2answers
116 views

What is Drupal caching based on?

What does Drupal use for caching? Is this something like APC or memcache? Where does it store cache files?
3
votes
2answers
2k views

Optimal Settings.php for Pressflow + Varnish + memcache

I am using pressflow having varnish + boost + memcache and also using cloudflare caching, I have seen some variable forms of settings.php file on forums and I am confused whether mine is optimal for ...
0
votes
1answer
243 views

installed memcache, no noticeable improvements

I just installed varnish and memcache on my server. Varnish works great but I don't really know how memcache should perform. I can't see any improvements for authenticated users. I turned on memcache ...
2
votes
1answer
277 views

How do I NOT clear memcache or other cache tables?

All of us who love Drupal know the pain of building those cache tables for the first time. I have a site whose activity is high during a certain part of the day and then non existant at others. I ...
1
vote
0answers
229 views

Performance gain of clustering memcached?

I am wondering whether there is any considerable performance gain to cluster memcached alocated memory. I just took the easy route of a single cluster and have dedicated a bulk 5GB to memcached since ...
0
votes
0answers
115 views

Memcache conflict with mongodb?

I tried to install memcache module and mongodb in Drupal 6. When I enable memcache, the mongodb will not work.
0
votes
3answers
180 views

Offload cached pages to different Apache process

On our Drupal 6 and Drupal 7 sites each idle Apache process averages 60-100MB each. When the page gets loaded from cache only about 10MB is really needed, but sometimes a page is not cached yet so ...
0
votes
2answers
277 views

Run cron on a different web server?

Is it possible to stop the cron on the main web server and run it on another web server that is using the same codebase, same MySQL server and same Memcache sever? The cron web server will run import ...
10
votes
2answers
5k views

Using Drupal 7 with APC, Varnish and Memcache, what bins to put in which cache?

I'm optimizing a Drupal 7 website and I have varnish, memcache and APC all installed and working with their individual Drupal 7 modules. In my settings.php I have the $conf options below. My question ...
1
vote
1answer
4k views

Drupal -> User error: Failed to connect to memcache server

I had someone install memcache for one Drupal project. Apparently we moved to another hosting. Upon completing the migration, the site is having issues with memcache. Can someone guide me on how to ...
9
votes
1answer
5k views

Using Memcache Effectively with Drupal 7 Multisite

I am setting a hit ratio of 55% on our memcache instance (v1.4.4) and am wondering what can be done to improve the hit ratio. We're in a multisite setup (30+ sites), with two load balanced web ...
2
votes
1answer
466 views

How to optimize the unserialization of “variables” cache value

As we all know, the whole variable table is being cached in the drupal cache system and is being extracted into global $conf variable in each invoke. In one of our production site with the domain ...
1
vote
2answers
405 views

Are there any issues with installing memcache on a VPS running multiple Drupal sites?

I have a VPS running a few independent Drupal sites (not multi-site). What considerations do I need to make (if any) when installing memcache?
1
vote
1answer
586 views

What tables to cache with Memcache on multi-site server?

I can spare 64-96Mb of memory on my VPS running a dozen Drupal 6 and 7 sites. In this situation, which are the best cache_* tables to cache with Memcache, and why? I realise cache_update and ...
5
votes
2answers
1k views

Is memcache only for logged in users?

I am trying to understand what the role of Memcache is. A few of my friends who have been working with Drupal for more than a year tell me that Memcache would only work for logged in users, and I ...
3
votes
2answers
1k views

variable_get() using “default value” with no reason in Pressflow 6

I'm currently having a problem with variable_get() that sometimes with no reason, returns the default value instead of the one from the database. I'm using memcached here (and the Drupal memcached ...
1
vote
1answer
132 views

Add custom node content to cache

I have added a few custom nodes to my website via the admin CMS. I wanted to know if I would have to explicitly add them to cache or if the nose_save or one of the internal drupal methods would add it ...
2
votes
1answer
872 views

Where is the best place for cache bins (Drupal 7)?

At Drupal 7, I have read about various solutions for storing the cache bins and avoiding having them at the standard drupal database. The methods are: - Memcache - Mongodb - APC - Filecache module? ...
3
votes
2answers
478 views

drupal shows empty content because of memcache

I have a Drupal (pressflow 6.22) website and I am using memcache as a caching level for my website/server. Sometimes some node (articles) that has been published on my website shows empty content when ...