<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #677: Spike in MyISAM (search) database activity, Redis unable to cache such requests</title>
    <link>http://localhost:8080/trac/ticket/677</link>
    <description>&lt;p&gt;
Since Sunday there has been a marked increase in MySQL activity and also a drop in Redis memory use, I suspect these things are related.
&lt;/p&gt;
&lt;p&gt;
I'll post some Munin graphs below to illustrate this.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/677</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:52:44 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;multips_memory-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:52:53 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_bytes-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:53:01 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_commands-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:53:19 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_innodb_bpool_act-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:53:29 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_innodb_io-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:53:40 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_innodb_tnx-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:53:51 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_innodb_rows-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:54:02 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_myisam_indexes-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:54:10 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_qcache-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:54:18 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_queries-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:54:26 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;mysql_slow-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:59:25 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
This image illustrates the drop in Redis memory use:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/multips_memory-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/multips_memory-week.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
These graphs illustrate the increase in MySQL activity:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_bytes-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_bytes-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_commands-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_commands-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_innodb_bpool_act-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_innodb_bpool_act-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_innodb_io-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_innodb_io-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_innodb_tnx-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_innodb_tnx-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_innodb_rows-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_innodb_rows-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_myisam_indexes-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_myisam_indexes-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_qcache-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_qcache-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_queries-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_queries-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/mysql_slow-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/mysql_slow-week.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
We don't have any Munin graphs for Redis, I'm going to see if this plugin works: &lt;a class="ext-link" href="https://github.com/bpineau/redis-munin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/bpineau/redis-munin&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 10:59:55 GMT</pubDate>
      <title>status, description changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;accepted&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/trac/ticket/677?action=diff&amp;amp;version=2"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 11:14:13 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.25&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Installing the Redis munin plugin from &lt;a class="ext-link" href="https://github.com/bpineau/redis-munin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/bpineau/redis-munin&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /usr/local/share/munin/plugins/
wget https://raw.github.com/bpineau/redis-munin/master/redis_
chmod 755 redis_
cd /etc/munin/plugins/
ln -s /usr/local/share/munin/plugins/redis_ redis_127.0.0.1_6379
&lt;/pre&gt;&lt;p&gt;
Test it:
&lt;/p&gt;
&lt;pre class="wiki"&gt;munin-run redis_127.0.0.1_6379
multigraph redis_clients
clients.value 3
multigraph redis_blocked_clients
blocked.value 0
multigraph redis_memory
memory.value 55500240
multigraph redis_fragmentation
frag.value 1.11
multigraph redis_total_connections
connections.value 41287
multigraph redis_expired_keys
expired.value 65
multigraph redis_evicted_keys
evicted.value 0
multigraph redis_pubsub_channels
channels.value 0
multigraph redis_commands
commands.value 1820777
hits.value 921236
misses.value 424794
multigraph redis_dbs
db0keys.value 3203
db0expires.value 438
puffin:/etc/munin/plugins# munin-run redis_127.0.0.1_6379
multigraph redis_clients
clients.value 2
multigraph redis_blocked_clients
blocked.value 0
multigraph redis_memory
memory.value 55721136
multigraph redis_fragmentation
frag.value 1.10
multigraph redis_total_connections
connections.value 41298
multigraph redis_expired_keys
expired.value 65
multigraph redis_evicted_keys
evicted.value 0
multigraph redis_pubsub_channels
channels.value 0
multigraph redis_commands
commands.value 1821217
hits.value 921524
misses.value 424870
multigraph redis_dbs
db0keys.value 3265
db0expires.value 453
&lt;/pre&gt;&lt;p&gt;
So soon we should have some Redis stats here:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://penguin.transitionnetwork.org/munin/transitionnetwork.org/puffin.transitionnetwork.org/index.html#redis"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://penguin.transitionnetwork.org/munin/transitionnetwork.org/puffin.transitionnetwork.org/index.html#redis&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
I have updated the wiki with a link to this ticket: &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PuffinServer#MuninStats"&gt;wiki:PuffinServer#MuninStats&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The question I don't know the answer to is why was there a dramatic reduction of Redis MySQL caching on Sunday -- what changed and can we reverse that change? Does anyone have any idea?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 11:17:54 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.01&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.5&lt;/em&gt; to &lt;em&gt;0.51&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The only entry in the Trac Timeline for Sunday 2014-01-12 is Jim closing this &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/640#comment:7" title="defect: views UI issue (closed: fixed)"&gt;ticket:640#comment:7&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 11:34:54 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.51&lt;/em&gt; to &lt;em&gt;0.61&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The last time we had a dramatic drop in Redis memory use and also an increase on MySQL activity it was due to a missing Redis password, see &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/554" title="maintenance: Site slow down and MySQL load increase (closed: fixed)"&gt;ticket:554&lt;/a&gt; however this isn't the case this time because no password is set in either &lt;tt&gt;/etc/redis/redis.conf&lt;/tt&gt; or &lt;tt&gt;/data/conf/global.inc&lt;/tt&gt; -- these passwords are commented out:
&lt;/p&gt;
&lt;pre class="wiki"&gt;grep -i redis /data/conf/global.inc | grep pass
  //$conf['redis_client_password']            = '5m2NsYoF';
&lt;/pre&gt;&lt;pre class="wiki"&gt;grep requirepass /etc/redis/redis.conf
# If the master is password protected (using the "requirepass" configuration
# requirepass 9r243rmI
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 12:06:32 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.01&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.61&lt;/em&gt; to &lt;em&gt;0.62&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Zooming in on the Munin graphs the change in behaviour happened at 1:30pm on Sunday 2014-01-12.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 16:47:26 GMT</pubDate>
      <title>cc, hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;aland&lt;/em&gt; added
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.3&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.62&lt;/em&gt; to &lt;em&gt;0.92&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Looking at some Redis docs:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://redis.io/topics/admin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/admin&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://redis.io/topics/problems"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/problems&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://redis.io/topics/latency"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/latency&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://redis.io/topics/memory-optimization"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/memory-optimization&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://redis.io/commands/info"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/commands/info&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Latency test:
&lt;/p&gt;
&lt;pre class="wiki"&gt;redis-cli --latency -h 127.0.0.1 -p 6379
min: 0, max: 84, avg: 0.17 (40459 samples)^C
&lt;/pre&gt;&lt;p&gt;
Following &lt;a class="ext-link" href="http://redis.io/topics/admin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/admin&lt;/a&gt;
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
If you are deploying using a virtual machine that uses the Xen hypervisor you may experience slow fork() times. This may block Redis from a few milliseconds up to a few seconds depending on the dataset size. Check the latency page for more information. This problem is not common to other hypervisors.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Which links to &lt;a class="ext-link" href="http://redis.io/topics/latency"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/latency&lt;/a&gt; where these is a lot of info. Note that we are using Xen.
&lt;/p&gt;
&lt;p&gt;
INFO:
&lt;/p&gt;
&lt;pre class="wiki"&gt;redis-cli
redis 127.0.0.1:6379&amp;gt; INFO
# Server
redis_version:2.6.16
redis_git_sha1:00000000
redis_git_dirty:0
redis_mode:standalone
os:Linux 2.6.32-5-xen-amd64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.7.2
process_id:30927
run_id:4725cded865a9f73032b22696abd1a6d8f405b6d
tcp_port:6379
uptime_in_seconds:59145
uptime_in_days:0
hz:10
lru_clock:568341
# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:55409072
used_memory_human:52.84M
used_memory_rss:60973056
used_memory_peak:83923640
used_memory_peak_human:80.04M
used_memory_lua:31744
mem_fragmentation_ratio:1.10
mem_allocator:jemalloc-3.2.0
# Persistence
loading:0
rdb_changes_since_last_save:1779
rdb_bgsave_in_progress:0
rdb_last_save_time:1389803629
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:0
rdb_current_bgsave_time_sec:-1
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
# Stats
total_connections_received:63496
total_commands_processed:2830397
instantaneous_ops_per_sec:0
rejected_connections:0
expired_keys:118
evicted_keys:0
keyspace_hits:1424102
keyspace_misses:646412
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:20161
# Replication
role:master
connected_slaves:0
# CPU
used_cpu_sys:444.22
used_cpu_user:129.26
used_cpu_sys_children:10.20
used_cpu_user_children:40.63
# Keyspace
db0:keys=3180,expires=571,avg_ttl=60771602
&lt;/pre&gt;&lt;p&gt;
Latency time checked via:
&lt;/p&gt;
&lt;pre class="wiki"&gt;redis-cli
redis 127.0.0.1:6379&amp;gt; BGSAVE
latest_fork_usec:18888
&lt;/pre&gt;&lt;p&gt;
Not quite sure how this relates to the stats here: &lt;a class="ext-link" href="http://redis.io/topics/latency"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/latency&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
It is suggested at &lt;a class="ext-link" href="http://redis.io/topics/admin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://redis.io/topics/admin&lt;/a&gt; that we should
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Add &lt;tt&gt;vm.overcommit_memory = 1&lt;/tt&gt; to &lt;tt&gt;/etc/sysctl.conf&lt;/tt&gt; and then reboot or run the command &lt;tt&gt;sysctl vm.overcommit_memory=1&lt;/tt&gt; for this to take effect immediately.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
We don't have this set:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cat /etc/sysctl.conf | grep overcommit_memory
vm.overcommit_memory = 0
&lt;/pre&gt;&lt;p&gt;
It also suggests:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Make sure to setup some swap in your system (we suggest as much as swap as memory). If Linux does not have swap and your Redis instance accidentally consumes too much memory, either Redis will crash for out of memory or the Linux kernel OOM killer will kill the Redis process.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
However we currently have swap disabled in an attempt to improve performance, it is commented out of fstab:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cat /etc/fstab | grep swap
# /dev/xvda1 none swap sw 0 0
&lt;/pre&gt;&lt;p&gt;
This is all very interesting but it doesn't explain why redis has stopped caching as much MySQL data...
&lt;/p&gt;
&lt;p&gt;
Does anyone have a clue?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 15 Jan 2014 20:46:35 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:8</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.75&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.92&lt;/em&gt; to &lt;em&gt;1.67&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Been out all day... OK, I've had a look around  just done the following:
&lt;/p&gt;
&lt;pre class="wiki"&gt;~$ cat .redis.pass.txt
[password]
~$ grep pass /etc/redis/redis.conf
# If the master is password protected (using the "requirepass" configuration
# masterauth &amp;lt;master-password&amp;gt;
# 150k passwords per second against a good box. This means that you should
# use a very strong password otherwise it will be very easy to break.
# requirepass [some old password]
&lt;/pre&gt;&lt;p&gt;
So a) the 'requirepass' line was commented out, and b) the password in the commented line was wrong.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;AFAIK, Redis ABSOLUTELY requires a password, and &lt;a class="missing wiki"&gt;Drupal/Aegir?&lt;/a&gt; need to know it too! &lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
I've uncommented the line and put the current password in &lt;tt&gt;from #~/.redis.pass.txt&lt;/tt&gt;, then restarted the redis-server service. I've also uncommented the two lines Chris mentioned in &lt;a href="http://localhost:8080/trac/ticket/677#comment:5" title="Comment 5 for Ticket #677"&gt;comment:5&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Before I'd uncommented the global.inc ones, TN.org was slow as hell, so Redis must have been working. Once all uncommented (and hence sharing the right password), everything suddenly seems faster.
&lt;/p&gt;
&lt;p&gt;
See &lt;a class="ext-link" href="https://penguin.transitionnetwork.org/munin/static/dynazoom.html?plugin_name=transitionnetwork.org%2Fpuffin.transitionnetwork.org%2Fmysql_queries&amp;amp;start_iso8601=2014-01-15T19%3A30%3A00-0000&amp;amp;stop_iso8601=2014-01-15T21%3A00%3A00-0000&amp;amp;start_epoch=1389814200&amp;amp;stop_epoch=1389819600&amp;amp;lower_limit=&amp;amp;upper_limit=&amp;amp;size_x=800&amp;amp;size_y=400&amp;amp;cgiurl_graph=%2Fmunin-cgi%2Fmunin-cgi-graph"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;this view from Munin&lt;/a&gt; demonstrating the spike in MySQL activity during me having a password mismatch...
&lt;/p&gt;
&lt;p&gt;
OK, so Sherlock hat back on...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 15 Jan 2014 20:59:04 GMT</pubDate>
      <title>hours, priority, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:9</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;critical&lt;/em&gt; to &lt;em&gt;minor&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.67&lt;/em&gt; to &lt;em&gt;1.92&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Except, according to &lt;a class="ext-link" href="https://github.com/omega8cc/nginx-for-drupal/blob/5f33b1ca25bf1158267482afa7f468ea3efab4b1/CHANGELOG.txt#L901"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;the BOA changelog from 2.1.0 (2 Nov 2013)&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Redis: Make redis_client_password optional and none by default
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
SOOOooo... I assume that the update script commented out those lines, and they are not necessary. The fact I've commented them back in and the system works fine shows us that either is ok, but not both at once.
&lt;/p&gt;
&lt;p&gt;
But the key thing is Redis is working, and used by the websites -- without it the sites and server are seriously slower.
&lt;/p&gt;
&lt;p&gt;
Moving on, I note this &lt;a class="ext-link" href="https://penguin.transitionnetwork.org/munin/static/dynazoom.html?plugin_name=transitionnetwork.org%2Fpuffin.transitionnetwork.org%2Fmysql_myisam_indexes&amp;amp;start_iso8601=2014-01-07T20%3A56%3A08-0000&amp;amp;stop_iso8601=2014-01-15T20%3A56%3A08-0000&amp;amp;start_epoch=1389128168&amp;amp;stop_epoch=1389819368&amp;amp;lower_limit=&amp;amp;upper_limit=&amp;amp;size_x=800&amp;amp;size_y=400&amp;amp;cgiurl_graph=%2Fmunin-cgi%2Fmunin-cgi-graph"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Munin chart of MyISAM indexes went up a lot at the same time&lt;/a&gt;... Which is funny, because we use InnoDB for our tables... EXCEPT the search tables...
&lt;/p&gt;
&lt;p&gt;
Soo....
&lt;/p&gt;
&lt;p&gt;
Going to the &lt;a class="ext-link" href="https://stg.transitionnetwork.org/admin/settings/search"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;STG site's search index I see&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
20% of the site has been indexed. There are 19001 items left to index.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
AHA! This is it... The two sites STG and STG2 are the cause! They are re-indexing after I emptied the search_* tables as part of my work in &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/610" title="defect: Aegir database intensive (migrate, clone, restore) tasks hang for larger ... (closed: fixed)"&gt;#610&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
When I come back from dinner in 20, I'll disable the search modules.
&lt;/p&gt;
&lt;p&gt;
Downgrading, and relaxing!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 15 Jan 2014 21:48:15 GMT</pubDate>
      <title>priority, summary changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:10</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:10</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;minor&lt;/em&gt; to &lt;em&gt;major&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Redis has stopped caching MySQL data?&lt;/em&gt; to &lt;em&gt;Spike in MyISAM (search) database activity, Redis unable to cache such requests&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Fix for search issue, disable on STG:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[as TN Aegir user]
tn@puffin:~$ drush @stg.transitionnetwork.org dis search -y
The following extensions will be disabled: search
Do you really want to continue? (y/n): y
search was disabled successfully.
&lt;/pre&gt;&lt;p&gt;
Did same for STG2 site... All future clones of these will inherit this status. I've updated the &lt;a class="ext-link" href="https://wiki.transitionnetwork.org/BOA_Server/Development_workflow#Cloning_PROD_to_STG"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://wiki.transitionnetwork.org/BOA_Server/Development_workflow#Cloning_PROD_to_STG&lt;/a&gt; and &lt;a class="ext-link" href="https://wiki.transitionnetwork.org/BOA_Server/Development_workflow#Copying_a_site_for_local_development"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://wiki.transitionnetwork.org/BOA_Server/Development_workflow#Copying_a_site_for_local_development&lt;/a&gt; documentation to include the disablig the core Search module.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;BUT'''
&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
I've checked and the cron isn't running on those site -- and the above chart is for MyISAM reads, not writes... So I've jumped to conclusion here.
&lt;/p&gt;
&lt;p&gt;
Upgrading back to Major, and I've enabled the DBLog module on www site to see if we can get any extra info from Drupal.
&lt;/p&gt;
&lt;p&gt;
But the cause of the MyISAM reads is unknown... Renaming this ticket as I think Redis is fine...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 15 Jan 2014 22:06:18 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/677#comment:11</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:11</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.4&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.92&lt;/em&gt; to &lt;em&gt;2.32&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Got it... I noticed &lt;a class="missing wiki"&gt;MailChimp?&lt;/a&gt; in the DBlog saying it'd synced users every couple of minutes -- this should only happen every few hours...
&lt;/p&gt;
&lt;p&gt;
So it's my bad: I missed adding Elysia Cron module (per [&lt;a class="ext-link" href="https://tech.transitionnetwork.org/trac/ticket/590#comment:34"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://tech.transitionnetwork.org/trac/ticket/590#comment:34&lt;/a&gt; my work on performance on &lt;a class="assigned ticket" href="http://localhost:8080/trac/ticket/590" title="defect: Drupal performance improvements (assigned)"&gt;#590&lt;/a&gt;) and so Cron was running every minute for EVERYTHING! This explains also why Redis' memory footprint was so low -- it was being cleared every minute!
&lt;/p&gt;
&lt;p&gt;
I've just &lt;a class="ext-link" href="https://github.com/transitionnetwork/transitionnetwork.org-d6.profile/commit/585159c0150ae9fa28510293d06d4bbbd0bb02c7"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;added elysia_cron to makefile&lt;/a&gt;. And downloaded/enabled it on PROD, so &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/build/cron"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/build/cron&lt;/a&gt; is now showing all the right goodies.
&lt;/p&gt;
&lt;p&gt;
Phew! Downgrading again, but this can be closed when Chris is happy -- though we might want to re-comment the Redis password per &lt;a href="http://localhost:8080/trac/ticket/677#comment:8" title="Comment 8 for Ticket #677"&gt;comment:8&lt;/a&gt;...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 15 Jan 2014 22:15:02 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/677#comment:23</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:23</guid>
      <description>
        &lt;pre class="wiki"&gt;Nice one Jim, it all makes sense now.
I don't think we need a redis password, it's set to only listen on
127.0.0.1 and it's not a shared server.
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:09:58 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_multips_memory-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:10:07 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_bytes-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:10:19 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_commands-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:10:30 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_innodb_bpool_act-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:10:40 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_innodb_io-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:10:50 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_innodb_rows-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:11:34 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_innodb_tnx-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:11:47 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_myisam_indexes-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:12:03 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_qcache-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:12:14 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_queries-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:12:22 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/677</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;puffin_2014-01-16_mysql_slowqueries-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 16 Jan 2014 10:23:22 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/677#comment:24</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/677#comment:24</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;accepted&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;2.32&lt;/em&gt; to &lt;em&gt;2.82&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/677#comment:11" title="Comment 11 for Ticket #677"&gt;jim&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
we might want to re-comment the Redis password per &lt;a href="http://localhost:8080/trac/ticket/677#comment:8" title="Comment 8 for Ticket #677"&gt;comment:8&lt;/a&gt;...
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I have commented out the lines with the passwd in &lt;tt&gt;/etc/redis/redis.conf&lt;/tt&gt; and &lt;tt&gt;/data/conf/global.inc&lt;/tt&gt; as I think Redis only needs to be password protected when it's either a shared server and/or redis is listening on external addresses. This has also caused the Redis Munin graphs to start working again:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://penguin.transitionnetwork.org/munin/transitionnetwork.org/puffin.transitionnetwork.org/index.html#redis"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://penguin.transitionnetwork.org/munin/transitionnetwork.org/puffin.transitionnetwork.org/index.html#redis&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
I have created a Redis section on the &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PuffinServer#Redis"&gt;wiki:PuffinServer#Redis&lt;/a&gt; wiki page.
&lt;/p&gt;
&lt;p&gt;
I have attached the same graphs as above, &lt;a href="http://localhost:8080/trac/ticket/677#comment:1" title="Comment 1 for Ticket #677"&gt;comment:1&lt;/a&gt; for reference, memory use:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_multips_memory-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_multips_memory-week.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
MySQL activity:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_bytes-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_bytes-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_commands-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_commands-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_innodb_bpool_act-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_innodb_bpool_act-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_innodb_io-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_innodb_io-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_innodb_rows-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_innodb_rows-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_innodb_tnx-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_innodb_tnx-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_myisam_indexes-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_myisam_indexes-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_qcache-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_qcache-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_queries-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_queries-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/677/puffin_2014-01-16_mysql_slowqueries-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/677/puffin_2014-01-16_mysql_slowqueries-week.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I think this ticket is good to close, Jim, thanks foir your work on it last night.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>