Memcached

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(move Rabanus instead of Yongle.)
(add CommonSettings.php details)
Line 1: Line 1:
 
Memcached configuration.
 
Memcached configuration.
  
==old==
+
==new==
512MB each
+
180MB each. 200MB looked too tight for two copies each on Isidore and Moreri. Vincent wasn't used because it showed cyclic high RAM use. Switched on [[19 September]] [[2004]].
 
<table border=1>
 
<table border=1>
 
<tr><th>server<th>IP<th>copies<th>total<th>notes
 
<tr><th>server<th>IP<th>copies<th>total<th>notes
<tr><td>Rabanus
+
<tr><td>dalembert
   <td>207.142.131.239
+
   <td>207.142.131.194
   <td>4
+
   <td>1
   <td>2048
+
   <td>180
  <td>moving to squid
+
<tr><td>Yongle
+
  <td>207.142.131.237
+
  <td>4
+
  <td>2048
+
  <td>keeping - runs stats job
+
<tr><td>Bart
+
  <td>207.142.131.227
+
  <td>2
+
  <td>1024
+
 
   <td>&nbsp;
 
   <td>&nbsp;
<tr><td>Bayle
+
<tr><td>Tingxi
   <td>207.142.131.228
+
   <td>207.142.131.195
   <td>2
+
   <td>1
   <td>1024
+
   <td>180
 
   <td>&nbsp;
 
   <td>&nbsp;
<tr><th>total<th>&nbsp;<th>12<th>6144<th>&nbsp;
+
<tr><td>Alrazi
</table>
+
  <td>207.142.131.196
 
+
  <td>1
==new==
+
  <td>180
180MB each. 200MB looked too tight for two copies each on Isidore and Moreri.
+
  <td>&nbsp;
<table border=1>
+
<tr><td>Friedrich
<tr><th>server<th>IP<th>copies<th>total<th>notes
+
  <td>207.142.131.197
<tr><td>Yongle
+
  <td>1
   <td>207.142.131.237
+
  <td>180
   <td>12
+
  <td>&nbsp;
   <td>2160
+
<tr><td>Harris
 +
   <td>207.142.131.199
 +
   <td>1
 +
   <td>180
 
   <td>&nbsp;
 
   <td>&nbsp;
 
<tr><td>Bart
 
<tr><td>Bart
Line 57: Line 50:
 
   <td>360
 
   <td>360
 
   <td>&nbsp;
 
   <td>&nbsp;
<tr><td>Vincent
+
<tr><td>Yongle
   <td>207.142.131.233
+
   <td>207.142.131.237
   <td>0
+
   <td>12
   <td>
+
   <td>2160
   <td>shows cyclic high RAM use
+
   <td>&nbsp;
 
<tr><td>Avicenna
 
<tr><td>Avicenna
 
   <td>207.142.131.249
 
   <td>207.142.131.249
  <td>1
 
  <td>180
 
  <td>&nbsp;
 
<tr><td>dalembert
 
  <td>207.142.131.194
 
  <td>1
 
  <td>180
 
  <td>&nbsp;
 
<tr><td>Tingxi
 
  <td>207.142.131.195
 
  <td>1
 
  <td>180
 
  <td>&nbsp;
 
<tr><td>Alrazi
 
  <td>207.142.131.196
 
  <td>1
 
  <td>180
 
  <td>&nbsp;
 
<tr><td>Friedrich
 
  <td>207.142.131.197
 
  <td>1
 
  <td>180
 
  <td>&nbsp;
 
<tr><td>Harris
 
  <td>207.142.131.199
 
 
   <td>1
 
   <td>1
 
   <td>180
 
   <td>180
Line 95: Line 63:
  
 
</table>
 
</table>
 +
 +
CommonSettings.php entry looks like this:
 +
<pre>
 +
$wgMemCachedServers = array(
 +
        "207.142.131.194:11000", # dalembert
 +
        "207.142.131.195:11000", # tingxi
 +
        "207.142.131.196:11000", # alrazi
 +
        "207.142.131.197:11000", # friedrich
 +
        "207.142.131.199:11000", # harris
 +
        "207.142.131.227:11000", # bart
 +
        "207.142.131.227:11001",
 +
        "207.142.131.227:11002",
 +
        "207.142.131.227:11003",
 +
        "207.142.131.227:11004",
 +
        "207.142.131.227:11005",
 +
        "207.142.131.228:11000", # bayle
 +
        "207.142.131.228:11001",
 +
        "207.142.131.228:11002",
 +
        "207.142.131.228:11003",
 +
        "207.142.131.228:11004",
 +
        "207.142.131.228:11005",
 +
        "207.142.131.231:11000", # isidore
 +
        "207.142.131.231:11001",
 +
        "207.142.131.232:11000", # moreri
 +
        "207.142.131.232:11001",
 +
        "207.142.131.237:11000", # yongle
 +
        "207.142.131.237:11001",
 +
        "207.142.131.237:11002",
 +
        "207.142.131.237:11003",
 +
        "207.142.131.237:11004",
 +
        "207.142.131.237:11005",
 +
        "207.142.131.237:11006",
 +
        "207.142.131.237:11007",
 +
        "207.142.131.237:11008",
 +
        "207.142.131.237:11009",
 +
        "207.142.131.237:11010",
 +
        "207.142.131.237:11011",
 +
        "207.142.131.249:11000", # avicenna
 +
);
 +
</pre>
 +
 +
==old==
 +
512MB each, used prior to [[19 September]] [[2004]].
 +
<table border=1>
 +
<tr><th>server<th>IP<th>copies<th>total<th>notes
 +
<tr><td>Rabanus
 +
  <td>207.142.131.239
 +
  <td>4
 +
  <td>2048
 +
  <td>moving to squid
 +
<tr><td>Yongle
 +
  <td>207.142.131.237
 +
  <td>4
 +
  <td>2048
 +
  <td>keeping - runs stats job
 +
<tr><td>Bart
 +
  <td>207.142.131.227
 +
  <td>2
 +
  <td>1024
 +
  <td>&nbsp;
 +
<tr><td>Bayle
 +
  <td>207.142.131.228
 +
  <td>2
 +
  <td>1024
 +
  <td>&nbsp;
 +
<tr><th>total<th>&nbsp;<th>12<th>6144<th>&nbsp;
 +
</table>
 +
 +
CommonSettings.php entry looked like this:
 +
<pre>
 +
$wgMemCachedServers = array(
 +
        "207.142.131.227:11000", # bart
 +
        "207.142.131.227:11001",
 +
        "207.142.131.228:11000", # bayle
 +
        "207.142.131.228:11001",
 +
        "207.142.131.237:11000", # yongle
 +
        "207.142.131.237:11001",
 +
        "207.142.131.237:11002",
 +
        "207.142.131.237:11003",
 +
        "207.142.131.239:11000", # rabanus
 +
        "207.142.131.239:11001",
 +
        "207.142.131.239:11002",
 +
        "207.142.131.239:11003"
 +
);
 +
</pre>

Revision as of 10:01, 19 September 2004

Memcached configuration.

new

180MB each. 200MB looked too tight for two copies each on Isidore and Moreri. Vincent wasn't used because it showed cyclic high RAM use. Switched on 19 September 2004.

serverIPcopiestotalnotes
dalembert 207.142.131.194 1 180  
Tingxi 207.142.131.195 1 180  
Alrazi 207.142.131.196 1 180  
Friedrich 207.142.131.197 1 180  
Harris 207.142.131.199 1 180  
Bart 207.142.131.227 6 1080  
Bayle 207.142.131.228 6 1080  
Isidore 207.142.131.231 2 360  
Moreri 207.142.131.232 2 360  
Yongle 207.142.131.237 12 2160  
Avicenna 207.142.131.249 1 180  
total 346120 

CommonSettings.php entry looks like this:

$wgMemCachedServers = array(
        "207.142.131.194:11000", # dalembert
        "207.142.131.195:11000", # tingxi
        "207.142.131.196:11000", # alrazi
        "207.142.131.197:11000", # friedrich
        "207.142.131.199:11000", # harris
        "207.142.131.227:11000", # bart
        "207.142.131.227:11001",
        "207.142.131.227:11002",
        "207.142.131.227:11003",
        "207.142.131.227:11004",
        "207.142.131.227:11005",
        "207.142.131.228:11000", # bayle
        "207.142.131.228:11001",
        "207.142.131.228:11002",
        "207.142.131.228:11003",
        "207.142.131.228:11004",
        "207.142.131.228:11005",
        "207.142.131.231:11000", # isidore
        "207.142.131.231:11001",
        "207.142.131.232:11000", # moreri
        "207.142.131.232:11001",
        "207.142.131.237:11000", # yongle
        "207.142.131.237:11001",
        "207.142.131.237:11002",
        "207.142.131.237:11003",
        "207.142.131.237:11004",
        "207.142.131.237:11005",
        "207.142.131.237:11006",
        "207.142.131.237:11007",
        "207.142.131.237:11008",
        "207.142.131.237:11009",
        "207.142.131.237:11010",
        "207.142.131.237:11011",
        "207.142.131.249:11000", # avicenna
);

old

512MB each, used prior to 19 September 2004.

serverIPcopiestotalnotes
Rabanus 207.142.131.239 4 2048 moving to squid
Yongle 207.142.131.237 4 2048 keeping - runs stats job
Bart 207.142.131.227 2 1024  
Bayle 207.142.131.228 2 1024  
total 126144 

CommonSettings.php entry looked like this:

$wgMemCachedServers = array(
        "207.142.131.227:11000", # bart
        "207.142.131.227:11001",
        "207.142.131.228:11000", # bayle
        "207.142.131.228:11001",
        "207.142.131.237:11000", # yongle
        "207.142.131.237:11001",
        "207.142.131.237:11002",
        "207.142.131.237:11003",
        "207.142.131.239:11000", # rabanus
        "207.142.131.239:11001",
        "207.142.131.239:11002",
        "207.142.131.239:11003"
);
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox