On Thu, 2012-01-12 at 12:31 -0500, Jeremy Baron wrote:
On Thu, Jan 12, 2012 at 12:23, John W. Foster jfoster81747@gmail.com wrote:
This setting in LocalSettings.php;; Is this something that needs to be updated? I run my mediawiki on a server that is port forwarded using DHCP settings from another network server The actual server address sometimes,though rarely, changes; example, now it is 192.168.1.4 on my NAT array. It seems this does not match the settings below, however I do not know that as I dont know how the mediawiki installation decided what to use for this setting. BTW: I have noticed that the server seems slower to load wiki pages & I don't know exactly what or when this occured.
## Shared memory settings $wgMainCacheType = CACHE_MEMCACHED; $wgMemCachedServers = array( '127.0.0.1:11211\r\n192.168.1.25:1234' );
How many memcached instances are you running and where do they live/listen?
-Jeremy
this is what I get:
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. stats STAT pid 2158 STAT uptime 84985 STAT time 1326466372 STAT version 1.4.5 STAT pointer_size 64 STAT rusage_user 1.628101 STAT rusage_system 7.516469 STAT curr_connections 5 STAT total_connections 1995 STAT connection_structures 7 STAT cmd_get 307310 STAT cmd_set 2873 STAT cmd_flush 0 STAT get_hits 304035 STAT get_misses 3275 STAT delete_misses 2 STAT delete_hits 50 STAT incr_misses 9 STAT incr_hits 3920 STAT decr_misses 0 STAT decr_hits 0 STAT cas_misses 0 STAT cas_hits 0 STAT cas_badval 0 STAT auth_cmds 0 STAT auth_errors 0 STAT bytes_read 19205296 STAT bytes_written 37005290 STAT limit_maxbytes 67108864 STAT accepting_conns 1 STAT listen_disabled_num 0 STAT threads 4 STAT conn_yields 0 STAT bytes 3877483 STAT curr_items 2256 STAT total_items 2888 STAT evictions 0 STAT reclaimed 308 END
stats slabs STAT 1:chunk_size 96 STAT 1:chunks_per_page 10922 STAT 1:total_pages 1 STAT 1:total_chunks 10922 STAT 1:used_chunks 13 STAT 1:free_chunks 2 STAT 1:free_chunks_end 10907 STAT 1:mem_requested 1107 STAT 1:get_hits 2194 STAT 1:cmd_set 107 STAT 1:delete_hits 2 STAT 1:incr_hits 2038 STAT 1:decr_hits 0 STAT 1:cas_hits 0 STAT 1:cas_badval 0 STAT 2:chunk_size 120 STAT 2:chunks_per_page 8738 STAT 2:total_pages 1 STAT 2:total_chunks 8738 STAT 2:used_chunks 764 STAT 2:free_chunks 0 STAT 2:free_chunks_end 7974 STAT 2:mem_requested 87013 STAT 2:get_hits 197440 STAT 2:cmd_set 763 STAT 2:delete_hits 0 STAT 2:incr_hits 1890 STAT 2:decr_hits 0 STAT 2:cas_hits 0 STAT 2:cas_badval 0 STAT 3:chunk_size 152 STAT 3:chunks_per_page 6898 STAT 3:total_pages 1 STAT 3:total_chunks 6898 STAT 3:used_chunks 483 STAT 3:free_chunks 1 STAT 3:free_chunks_end 6414 STAT 3:mem_requested 68420 STAT 3:get_hits 96616 STAT 3:cmd_set 489 STAT 3:delete_hits 6 STAT 3:incr_hits 0 STAT 3:decr_hits 0 STAT 3:cas_hits 0 STAT 3:cas_badval 0 STAT 4:chunk_size 192 STAT 4:chunks_per_page 5461 STAT 4:total_pages 1 STAT 4:total_chunks 5461 STAT 4:used_chunks 5 STAT 4:free_chunks 1 STAT 4:free_chunks_end 5455 STAT 4:mem_requested 824 STAT 4:get_hits 1914 STAT 4:cmd_set 12 STAT 4:delete_hits 0 STAT 4:incr_hits 0 STAT 4:decr_hits 0 STAT 4:cas_hits 0 STAT 4:cas_badval 0 STAT 5:chunk_size 240 STAT 5:chunks_per_page 4369 STAT 5:total_pages 1 STAT 5:total_chunks 4369 STAT 5:used_chunks 91 STAT 5:free_chunks 5 STAT 5:free_chunks_end 4273 STAT 5:mem_requested 20174 STAT 5:get_hits 388 STAT 5:cmd_set 114 STAT 5:delete_hits 0 STAT 5:incr_hits 0 STAT 5:decr_hits 0 STAT 5:cas_hits 0 STAT 5:cas_badval 0 STAT 6:chunk_size 304 STAT 6:chunks_per_page 3449 STAT 6:total_pages 1 STAT 6:total_chunks 3449 STAT 6:used_chunks 108 STAT 6:free_chunks 1 STAT 6:free_chunks_end 3340 STAT 6:mem_requested 28466 STAT 6:get_hits 274 STAT 6:cmd_set 128 STAT 6:delete_hits 0 STAT 6:incr_hits 0 STAT 6:decr_hits 0 STAT 6:cas_hits 0 STAT 6:cas_badval 0 STAT 7:chunk_size 384 STAT 7:chunks_per_page 2730 STAT 7:total_pages 1 STAT 7:total_chunks 2730 STAT 7:used_chunks 67 STAT 7:free_chunks 0 STAT 7:free_chunks_end 2663 STAT 7:mem_requested 22214 STAT 7:get_hits 174 STAT 7:cmd_set 134 STAT 7:delete_hits 0 STAT 7:incr_hits 0 STAT 7:decr_hits 0 STAT 7:cas_hits 0 STAT 7:cas_badval 0 STAT 8:chunk_size 480 STAT 8:chunks_per_page 2184 STAT 8:total_pages 1 STAT 8:total_chunks 2184 STAT 8:used_chunks 12 STAT 8:free_chunks 0 STAT 8:free_chunks_end 2172 STAT 8:mem_requested 4969 STAT 8:get_hits 24 STAT 8:cmd_set 16 STAT 8:delete_hits 0 STAT 8:incr_hits 0 STAT 8:decr_hits 0 STAT 8:cas_hits 0 STAT 8:cas_badval 0 STAT 9:chunk_size 600 STAT 9:chunks_per_page 1747 STAT 9:total_pages 1 STAT 9:total_chunks 1747 STAT 9:used_chunks 13 STAT 9:free_chunks 0 STAT 9:free_chunks_end 1734 STAT 9:mem_requested 7359 STAT 9:get_hits 14 STAT 9:cmd_set 17 STAT 9:delete_hits 0 STAT 9:incr_hits 0 STAT 9:decr_hits 0 STAT 9:cas_hits 0 STAT 9:cas_badval 0 STAT 10:chunk_size 752 STAT 10:chunks_per_page 1394 STAT 10:total_pages 1 STAT 10:total_chunks 1394 STAT 10:used_chunks 95 STAT 10:free_chunks 1 STAT 10:free_chunks_end 1298 STAT 10:mem_requested 65131 STAT 10:get_hits 450 STAT 10:cmd_set 128 STAT 10:delete_hits 0 STAT 10:incr_hits 0 STAT 10:decr_hits 0 STAT 10:cas_hits 0 STAT 10:cas_badval 0 STAT 11:chunk_size 944 STAT 11:chunks_per_page 1110 STAT 11:total_pages 1 STAT 11:total_chunks 1110 STAT 11:used_chunks 181 STAT 11:free_chunks 26 STAT 11:free_chunks_end 903 STAT 11:mem_requested 151815 STAT 11:get_hits 1895 STAT 11:cmd_set 287 STAT 11:delete_hits 0 STAT 11:incr_hits 0 STAT 11:decr_hits 0 STAT 11:cas_hits 0 STAT 11:cas_badval 0 STAT 12:chunk_size 1184 STAT 12:chunks_per_page 885 STAT 12:total_pages 1 STAT 12:total_chunks 885 STAT 12:used_chunks 108 STAT 12:free_chunks 20 STAT 12:free_chunks_end 757 STAT 12:mem_requested 112598 STAT 12:get_hits 431 STAT 12:cmd_set 192 STAT 12:delete_hits 0 STAT 12:incr_hits 0 STAT 12:decr_hits 0 STAT 12:cas_hits 0 STAT 12:cas_badval 0 STAT 13:chunk_size 1480 STAT 13:chunks_per_page 708 STAT 13:total_pages 1 STAT 13:total_chunks 708 STAT 13:used_chunks 52 STAT 13:free_chunks 18 STAT 13:free_chunks_end 638 STAT 13:mem_requested 68313 STAT 13:get_hits 464 STAT 13:cmd_set 117 STAT 13:delete_hits 0 STAT 13:incr_hits 0 STAT 13:decr_hits 0 STAT 13:cas_hits 0 STAT 13:cas_badval 0 STAT 14:chunk_size 1856 STAT 14:chunks_per_page 564 STAT 14:total_pages 1 STAT 14:total_chunks 564 STAT 14:used_chunks 39 STAT 14:free_chunks 2 STAT 14:free_chunks_end 523 STAT 14:mem_requested 63618 STAT 14:get_hits 504 STAT 14:cmd_set 101 STAT 14:delete_hits 42 STAT 14:incr_hits 0 STAT 14:decr_hits 0 STAT 14:cas_hits 0 STAT 14:cas_badval 0 STAT 15:chunk_size 2320 STAT 15:chunks_per_page 451 STAT 15:total_pages 1 STAT 15:total_chunks 451 STAT 15:used_chunks 31 STAT 15:free_chunks 1 STAT 15:free_chunks_end 419 STAT 15:mem_requested 64924 STAT 15:get_hits 443 STAT 15:cmd_set 35 STAT 15:delete_hits 0 STAT 15:incr_hits 0 STAT 15:decr_hits 0 STAT 15:cas_hits 0 STAT 15:cas_badval 0 STAT 16:chunk_size 2904 STAT 16:chunks_per_page 361 STAT 16:total_pages 1 STAT 16:total_chunks 361 STAT 16:used_chunks 23 STAT 16:free_chunks 0 STAT 16:free_chunks_end 338 STAT 16:mem_requested 58445 STAT 16:get_hits 311 STAT 16:cmd_set 27 STAT 16:delete_hits 0 STAT 16:incr_hits 0 STAT 16:decr_hits 0 STAT 16:cas_hits 0 STAT 16:cas_badval 0 STAT 17:chunk_size 3632 STAT 17:chunks_per_page 288 STAT 17:total_pages 1 STAT 17:total_chunks 288 STAT 17:used_chunks 15 STAT 17:free_chunks 0 STAT 17:free_chunks_end 273 STAT 17:mem_requested 49753 STAT 17:get_hits 70 STAT 17:cmd_set 24 STAT 17:delete_hits 0 STAT 17:incr_hits 0 STAT 17:decr_hits 0 STAT 17:cas_hits 0 STAT 17:cas_badval 0 STAT 18:chunk_size 4544 STAT 18:chunks_per_page 230 STAT 18:total_pages 1 STAT 18:total_chunks 230 STAT 18:used_chunks 9 STAT 18:free_chunks 0 STAT 18:free_chunks_end 221 STAT 18:mem_requested 36095 STAT 18:get_hits 46 STAT 18:cmd_set 9 STAT 18:delete_hits 0 STAT 18:incr_hits 0 STAT 18:decr_hits 0 STAT 18:cas_hits 0 STAT 18:cas_badval 0 STAT 19:chunk_size 5680 STAT 19:chunks_per_page 184 STAT 19:total_pages 1 STAT 19:total_chunks 184 STAT 19:used_chunks 13 STAT 19:free_chunks 0 STAT 19:free_chunks_end 171 STAT 19:mem_requested 67713 STAT 19:get_hits 187 STAT 19:cmd_set 22 STAT 19:delete_hits 0 STAT 19:incr_hits 0 STAT 19:decr_hits 0 STAT 19:cas_hits 0 STAT 19:cas_badval 0 STAT 20:chunk_size 7104 STAT 20:chunks_per_page 147 STAT 20:total_pages 1 STAT 20:total_chunks 147 STAT 20:used_chunks 11 STAT 20:free_chunks 1 STAT 20:free_chunks_end 135 STAT 20:mem_requested 71293 STAT 20:get_hits 57 STAT 20:cmd_set 14 STAT 20:delete_hits 0 STAT 20:incr_hits 0 STAT 20:decr_hits 0 STAT 20:cas_hits 0 STAT 20:cas_badval 0 STAT 21:chunk_size 8880 STAT 21:chunks_per_page 118 STAT 21:total_pages 1 STAT 21:total_chunks 118 STAT 21:used_chunks 10 STAT 21:free_chunks 0 STAT 21:free_chunks_end 108 STAT 21:mem_requested 79375 STAT 21:get_hits 20 STAT 21:cmd_set 10 STAT 21:delete_hits 0 STAT 21:incr_hits 0 STAT 21:decr_hits 0 STAT 21:cas_hits 0 STAT 21:cas_badval 0 STAT 22:chunk_size 11104 STAT 22:chunks_per_page 94 STAT 22:total_pages 1 STAT 22:total_chunks 94 STAT 22:used_chunks 17 STAT 22:free_chunks 0 STAT 22:free_chunks_end 77 STAT 22:mem_requested 168947 STAT 22:get_hits 66 STAT 22:cmd_set 17 STAT 22:delete_hits 0 STAT 22:incr_hits 0 STAT 22:decr_hits 0 STAT 22:cas_hits 0 STAT 22:cas_badval 0 STAT 23:chunk_size 13880 STAT 23:chunks_per_page 75 STAT 23:total_pages 1 STAT 23:total_chunks 75 STAT 23:used_chunks 11 STAT 23:free_chunks 0 STAT 23:free_chunks_end 64 STAT 23:mem_requested 135608 STAT 23:get_hits 49 STAT 23:cmd_set 11 STAT 23:delete_hits 0 STAT 23:incr_hits 0 STAT 23:decr_hits 0 STAT 23:cas_hits 0 STAT 23:cas_badval 0 STAT 24:chunk_size 17352 STAT 24:chunks_per_page 60 STAT 24:total_pages 1 STAT 24:total_chunks 60 STAT 24:used_chunks 13 STAT 24:free_chunks 0 STAT 24:free_chunks_end 47 STAT 24:mem_requested 204714 STAT 24:get_hits 24 STAT 24:cmd_set 19 STAT 24:delete_hits 0 STAT 24:incr_hits 0 STAT 24:decr_hits 0 STAT 24:cas_hits 0 STAT 24:cas_badval 0 STAT 25:chunk_size 21696 STAT 25:chunks_per_page 48 STAT 25:total_pages 1 STAT 25:total_chunks 48 STAT 25:used_chunks 12 STAT 25:free_chunks 0 STAT 25:free_chunks_end 36 STAT 25:mem_requested 226710 STAT 25:get_hits 19 STAT 25:cmd_set 13 STAT 25:delete_hits 0 STAT 25:incr_hits 0 STAT 25:decr_hits 0 STAT 25:cas_hits 0 STAT 25:cas_badval 0 STAT 26:chunk_size 27120 STAT 26:chunks_per_page 38 STAT 26:total_pages 1 STAT 26:total_chunks 38 STAT 26:used_chunks 11 STAT 26:free_chunks 0 STAT 26:free_chunks_end 27 STAT 26:mem_requested 281056 STAT 26:get_hits 40 STAT 26:cmd_set 11 STAT 26:delete_hits 0 STAT 26:incr_hits 0 STAT 26:decr_hits 0 STAT 26:cas_hits 0 STAT 26:cas_badval 0 STAT 27:chunk_size 33904 STAT 27:chunks_per_page 30 STAT 27:total_pages 1 STAT 27:total_chunks 30 STAT 27:used_chunks 19 STAT 27:free_chunks 0 STAT 27:free_chunks_end 11 STAT 27:mem_requested 576446 STAT 27:get_hits 87 STAT 27:cmd_set 21 STAT 27:delete_hits 0 STAT 27:incr_hits 0 STAT 27:decr_hits 0 STAT 27:cas_hits 0 STAT 27:cas_badval 0 STAT 28:chunk_size 42384 STAT 28:chunks_per_page 24 STAT 28:total_pages 1 STAT 28:total_chunks 24 STAT 28:used_chunks 18 STAT 28:free_chunks 0 STAT 28:free_chunks_end 6 STAT 28:mem_requested 641419 STAT 28:get_hits 64 STAT 28:cmd_set 18 STAT 28:delete_hits 0 STAT 28:incr_hits 0 STAT 28:decr_hits 0 STAT 28:cas_hits 0 STAT 28:cas_badval 0 STAT 29:chunk_size 52984 STAT 29:chunks_per_page 19 STAT 29:total_pages 1 STAT 29:total_chunks 19 STAT 29:used_chunks 6 STAT 29:free_chunks 0 STAT 29:free_chunks_end 13 STAT 29:mem_requested 274379 STAT 29:get_hits 2 STAT 29:cmd_set 14 STAT 29:delete_hits 0 STAT 29:incr_hits 0 STAT 29:decr_hits 0 STAT 29:cas_hits 0 STAT 29:cas_badval 0 STAT 30:chunk_size 66232 STAT 30:chunks_per_page 15 STAT 30:total_pages 1 STAT 30:total_chunks 15 STAT 30:used_chunks 3 STAT 30:free_chunks 0 STAT 30:free_chunks_end 12 STAT 30:mem_requested 168858 STAT 30:get_hits 2 STAT 30:cmd_set 4 STAT 30:delete_hits 0 STAT 30:incr_hits 0 STAT 30:decr_hits 0 STAT 30:cas_hits 0 STAT 30:cas_badval 0 STAT 31:chunk_size 82792 STAT 31:chunks_per_page 12 STAT 31:total_pages 1 STAT 31:total_chunks 12 STAT 31:used_chunks 1 STAT 31:free_chunks 0 STAT 31:free_chunks_end 11 STAT 31:mem_requested 66877 STAT 31:get_hits 0 STAT 31:cmd_set 1 STAT 31:delete_hits 0 STAT 31:incr_hits 0 STAT 31:decr_hits 0 STAT 31:cas_hits 0 STAT 31:cas_badval 0 STAT active_slabs 31 STAT total_malloced 32223496 END
It seems I have only one instance running. I run it from Apache primarily using php modules in Mediawiki & gallery2.