memcache status: Unable to connect to server: localhost:11211
| Project: | Memcache API and Integration |
| Version: | 5.x-1.9 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | django, gridservice, mediatemple, memcache, Unable to connect to server |
In my quest to squese the load out of the server I have installed memcache on Mediatemple gridservice (gs) using django.
Drupal 5.19
memcache memory 62 Mb (Max memory should be below 25% of the available memory on django/mediatemple)
memcache stats on the django server:
memcached_stats:
bytes: 0
bytes_read: 17
bytes_written: 464
cmd_get: 0
cmd_set: 0
connection_structures: 2
curr_connections: 1
curr_items: 0
evictions: 0
get_hits: 0
get_misses: 0
limit_maxbytes: 65011712
pointer_size: 32
rusage_system: 0.406938
rusage_user: 0.177972
threads: 4
time: 1251638156
total_connections: 3
total_items: 0
uptime: 46675
version: 1.2.2
I used DRUPAL-5-8-cache-serialize.patch, cck-cache-serialzie.patch, update_status-DRUPAL-5--2-3.patch & views-DRUPAL-5--1-6.patch.
I'm using advanced cache on comments and taxonomy modules.
I'm also using query cache.
php info:
memcache
memcache support enabled
Active persistent connections 0
Version 2.2.5
Revision $Revision: 1.111 $Directive Local Value Master Value
memcache.allow_failover 1 1
memcache.chunk_size 8192 8192
memcache.default_port 11211 11211
memcache.default_timeout_ms 1000 1000
memcache.hash_function crc32 crc32
memcache.hash_strategy consistent consistent
memcache.max_failover_attempts 20 20
settings.php:
$conf = array(
// The path to wherever memcache.inc is. The easiest is to simply point it
// to the copy in your module's directory.
'memcache_key_prefix' => 'master_dko',
'cache_inc' => './sites/all/modules/memcache/memcache.inc',
'memcache_servers' => array('localhost:11211' => 'default'),
'memcache_bins' => array('cache' => 'default'),
// or
// 'cache_inc' => './sites/all/modules/memcache/memcache.db.inc',
);Drupal status:
Drupal 5.19
Filsystem Skrivbar (public download)
Job queue There are no queued jobs.
Konfigurationsfil protected
Memcache admin Memcache included
MySQL database 5.1.26
PHP 5.2.6
PHP register globals Ingen
Unicode-bibliotek PHP mbstring-udvidelse
webserver Apache/2.0.54
But I cannot access memcache inside Drupal:
/admin/logs/memcache
Unable to connect to server: localhost:11211But I have truncated all cache pages and after some minutes surfing there is still no data in the cache tables. So memcache seems to work.
This is the bottom statistics on the frontpage:
Memcache statistics
* get:
o variables
o 1:da
o locale:da
o locale:da
o views_default_views:da
o views_tables:da
o vocabulary::3
o tree::3
o vocabulary::9
o tree::9
o vocabulary::8
o tree::8
o vocabulary::5
o tree::5
o vocabulary::1
o tree::1
o vocabulary::6
o tree::6
o content_type_info
o views_urls
o node::6762::tid
o content:6762:6763
o 3:22b21d10e5a8626f9f9a272e2cfebca0
o node::4244::tid
o content:4244:4244
o 3:23588739fde0b23a5ebff1ccf04e8189
o node::7733::tid
o content:7733:7734
o 3:00ac9cd8055ec728ae73c0e032d68593
o node::7732::tid
o content:7732:7733
o 3:e938a11710f75e0a36c6997e83c105fd
o node::7731::tid
o content:7731:7732
o 3:406a72de6abb0357790319ad4377be05
o node::7730::tid
o content:7730:7731
o 3:4d946f67f168f4497231c1811ed88e09
o node::7729::tid
o content:7729:7730
o 3:b4649d502843fac39c7f2975739bd8a2
o node::7728::tid
o content:7728:7729
o 3:08dc9bbdf0760ddee11a05f7ceb2ffea
o node::7727::tid
o content:7727:7728
o 3:92bb5d5f2038c77b1e6364a8f923590d
o node::7726::tid
o content:7726:7727
o 3:0f6aa178463e6c0aa11b028e16ee8802
o node::1166::tid
o content:1166:1166
o 1:d1ead93eedb1e8f5232e0889523e2fac
o 1:d1ead93eedb1e8f5232e0889523e2fac
o 1:acbd1e9d78a3298cf281a641e545a6f3
o tagadelic_cache_1_7_15
o 3:090f7c52303f84cd5c00755f941d0703
o 3:74f5d68cd666a2584499f7e9607073ce
o 3:a70dbe6c0b1fd91a6b53b1556d09ee01
o 3:55a7692665b018612746a8bb31a690a6
o 3:5290dee9987af18a7ceac32f7ce491c1
o 3:a61f964d0972952ca0e9d32bf6549e9a
o 3:212f2525aa0b905bc435f18f4925b6b4
o 3:2c7b70bd3c8dfb4358bf7454ee61aca0
o 3:5609a1ff54a83192bdf8004d86aa92f4
o 3:cb5404fb3d272d1dddce9a85fb91fd14
o 1:da:admin_menu
* set:
o variables
o locale:da
o locale:en
o vocabulary::3
o tree::3
o vocabulary::9
o tree::9
o vocabulary::8
o vocabulary::8
o tree::8
o vocabulary::5
o tree::5
o vocabulary::1
o vocabulary::1
o vocabulary::1
o tree::1
o vocabulary::6
o tree::6
o content_type_info
o views_tables:da
o views_default_views:da
o 1:da
o views_urls
o node::6762::tid
o content:6762:6763
o 3:22b21d10e5a8626f9f9a272e2cfebca0
o node::4244::tid
o content:4244:4244
o 3:23588739fde0b23a5ebff1ccf04e8189
o node::7733::tid
o content:7733:7734
o 3:00ac9cd8055ec728ae73c0e032d68593
o node::7732::tid
o content:7732:7733
o 3:e938a11710f75e0a36c6997e83c105fd
o node::7731::tid
o content:7731:7732
o 3:406a72de6abb0357790319ad4377be05
o node::7730::tid
o content:7730:7731
o 3:4d946f67f168f4497231c1811ed88e09
o node::7729::tid
o content:7729:7730
o 3:b4649d502843fac39c7f2975739bd8a2
o node::7728::tid
o content:7728:7729
o 3:08dc9bbdf0760ddee11a05f7ceb2ffea
o node::7727::tid
o content:7727:7728
o 3:92bb5d5f2038c77b1e6364a8f923590d
o node::7726::tid
o content:7726:7727
o 3:0f6aa178463e6c0aa11b028e16ee8802
o node::1166::tid
o content:1166:1166
o 1:d1ead93eedb1e8f5232e0889523e2fac
o 1:d1ead93eedb1e8f5232e0889523e2fac
o 1:acbd1e9d78a3298cf281a641e545a6f3
o tagadelic_cache_1_7_15
o 3:090f7c52303f84cd5c00755f941d0703
o 3:74f5d68cd666a2584499f7e9607073ce
o 3:a70dbe6c0b1fd91a6b53b1556d09ee01
o 3:55a7692665b018612746a8bb31a690a6
o 3:5290dee9987af18a7ceac32f7ce491c1
o 3:a61f964d0972952ca0e9d32bf6549e9a
o 3:212f2525aa0b905bc435f18f4925b6b4
o 3:2c7b70bd3c8dfb4358bf7454ee61aca0
o 3:5609a1ff54a83192bdf8004d86aa92f4
o 3:cb5404fb3d272d1dddce9a85fb91fd14
o 1:da:admin_menu
* hit:
* bins:
o cache
o cache
o cache_menu
o cache
o cache
o cache
o cache
o cache_views
o cache_views
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_views
o cache_views
o cache_menu
o cache_views
o cache_views
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_taxonomy
o cache_taxonomy
o cache_content
o cache_content
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache
o cache
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_filter
o cache_menu
o cache_menu
Can anybody help me out here ?
