<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #54: 502 Errors</title>
    <link>https://trac.crin.org/trac/ticket/54</link>
    <description>&lt;p&gt;
Last night the &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/NginxLogWatch"&gt;wiki:NginxLogWatch&lt;/a&gt; script found a lot of 502 errors:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Dec 22     288 502, 0 503 and 0 504 errors from crin2.crin.org
Dec 22    4283 502, 0 503 and 0 504 errors from crin2.crin.org
&lt;/pre&gt;&lt;p&gt;
I'm not sure why yet.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CRIN Trac</title>
      <url>https://trac.crin.org/trac/chrome/site/logo.gif</url>
      <link>https://trac.crin.org/trac/ticket/54</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 12:49:09 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;memcached_rates-day.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 12:49:19 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;fw_conntrack-day.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 12:49:28 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;phpfpm_status-day.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 12:49:39 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;multips-day.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 12:49:50 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;multips_memory-day.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 12:50:02 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;memory-day.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 12:50:15 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;load-day.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 13:19:22 GMT</pubDate>
      <title>hours changed; totalhours set</title>
      <link>https://trac.crin.org/trac/ticket/54#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                set to &lt;em&gt;1&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Most days there are between one and five 502 errors caused by Bing bot requests like this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;207.46.13.148 - - [20/Dec/2015:12:19:10 +0000] "GET /docs/resources/publications/%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A0%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%C2%A2%C3%A2%E2%82%AC%C5%BE%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AE%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A6%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A6%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%ACviolence%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A0%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%C2%A2%C3%A2%E2%82%AC%C5%BE%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AE%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A6%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%A2%E2%82%AC%C2%A6%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%81/conceptpaper.pdf HTTP/1.1" 502 172 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
&lt;/pre&gt;&lt;p&gt;
Looking at the email alerts, one is for port 80 and one for port 443, saved the list of requests in files and counted them and the ones from a specific IP:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cat crin2.2015-12-22_1.txt | wc -l
288
grep "^45.32.160.62" crin2.2015-12-22_1.txt | wc -l
283
cat crin2.2015-12-22_2.txt | wc -l
4283
grep "^45.32.160.62" crin2.2015-12-22_2.txt | wc -l
4249
&lt;/pre&gt;&lt;p&gt;
So this load spike was basically caused by a massive number of requests from one IP address starting at: 21/Dec/2015:23:44:31 and ending at 21/Dec/2015:23:45:05 for the first file and starting at 21/Dec/2015:23:44:14 and ending at 21/Dec/2015:23:45:11 for the second file, so one IP address made around 5k requests in less than a minute.
&lt;/p&gt;
&lt;p&gt;
This shows up as a clear spike on the Munin graphs:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/memcached_rates-day.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/memcached_rates-day.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/fw_conntrack-day.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/fw_conntrack-day.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/phpfpm_status-day.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/phpfpm_status-day.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/multips-day.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/multips-day.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/multips_memory-day.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/multips_memory-day.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/memory-day.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/memory-day.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/load-day.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/load-day.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The IP address is owned by Vultr in Miami:  &lt;a class="ext-link" href="https://www.robtex.com/ip/45.32.160.62.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.robtex.com/ip/45.32.160.62.html&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I guess we could contact them about this, but for now I'm simply going to deny access from this IP address using IP tables via the &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/IpDrop"&gt;wiki:IpDrop&lt;/a&gt; script I just installed.
&lt;/p&gt;
&lt;pre class="wiki"&gt;ipdrop 45.32.160.62
&lt;/pre&gt;&lt;p&gt;
The &lt;a class="ext-link" href="http://nginx.org/en/docs/http/ngx_http_limit_req_module.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Nginx ngx_http_limit_req_module&lt;/a&gt; allows rate limiting, following &lt;a class="ext-link" href="https://www.howtoforge.com/rate-limiting-with-nginx"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;this article&lt;/a&gt; &lt;tt&gt;/etc/nginx/nginx.conf&lt;/tt&gt; was edited to add:
&lt;/p&gt;
&lt;pre class="wiki"&gt;limit_req_zone  $binary_remote_addr  zone=one:10m   rate=1r/s;
&lt;/pre&gt;&lt;p&gt;
And in &lt;tt&gt;/etc/nginx/sites-available/crin.org&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;limit_req zone=one burst=5;
&lt;/pre&gt;&lt;p&gt;
If IP addresses exceed requesting a PHP page per second they should now get 503 errors rather than cause 502 errors.
&lt;/p&gt;
&lt;p&gt;
I'll check over the next few days how this rate limit effects things.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 22 Dec 2015 15:17:55 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/54#comment:2</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;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;1&lt;/em&gt; to &lt;em&gt;1.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
So far so good:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/usr/local/bin/nginx-logwatch /var/log/nginx/crin.org.ssl_access.log | less
Total 502 errors: 0
Total 503 errors: 119
Total 504 errors: 0
&lt;/pre&gt;&lt;p&gt;
The 119 503's were caused by an IP address in Hanoi, requesting lots of pages between 22/Dec/2015:14:49:28 and 22/Dec/2015:14:49:35, so around 17 pages a second, and what is good is that there are no other IP addresses with errors, so the rate limiting prevented the IP address being abusive from causing a load spike which would have had a bad effect on other users.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 24 Dec 2015 10:58:11 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/54#comment:3</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;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;1.25&lt;/em&gt; to &lt;em&gt;1.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
With the limit of one PHP page per IP address per second we have had the &lt;a class="ext-link" href="https://munin.crin.org/munin/crin.org/crin2.crin.org/multips.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;max number of PHP processes peaking to 9&lt;/a&gt; and the recent 503's which were a result of this limit:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/usr/local/bin/nginx-logwatch /var/log/nginx/crin.org.ssl_access.log.1 | less
Total 502 errors: 0
Total 503 errors: 95
Total 504 errors: 0
&lt;/pre&gt;&lt;p&gt;
So in &lt;tt&gt;/etc/nginx/nginx.conf&lt;/tt&gt; I have doubled the number of requests per second per IP to 2:
&lt;/p&gt;
&lt;pre class="wiki"&gt;        #limit_req_zone  $binary_remote_addr  zone=one:10m   rate=1r/s;
        limit_req_zone  $binary_remote_addr  zone=one:10m   rate=2r/s;
&lt;/pre&gt;&lt;p&gt;
If it goes OK at this level it can go higher.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 24 Dec 2015 14:12:38 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/54#comment:4</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;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;1.5&lt;/em&gt; to &lt;em&gt;1.6&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
There have been a few more 503's and not much in the way of load increases so upping the limit to 4 PHP pages per IP address per second in &lt;tt&gt;/etc/nginx/nginx.conf&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;limit_req_zone  $binary_remote_addr  zone=one:10m   rate=4r/s;
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 24 Dec 2015 14:14:24 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/54#comment:5</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:5</guid>
      <description>
        &lt;p&gt;
I also changed this in &lt;tt&gt;/etc/nginx/sites-available/crin.org&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#limit_req zone=one burst=10;
limit_req zone=one burst=10;
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 Jan 2016 12:23:49 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;crin2_2016-01-07_fw_conntrack-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 Jan 2016 12:23:59 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;crin2_2016-01-07_if_eth0-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 Jan 2016 12:24:10 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;crin2_2016-01-07_nginx_status-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 Jan 2016 12:24:25 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;crin2_2016-01-07_phpfpm_status-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 Jan 2016 12:24:44 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;crin2_2016-01-07_cpu-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 Jan 2016 12:25:23 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;crin2_2016-01-07_load-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 Jan 2016 13:03:10 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/54#comment:6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;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;1.6&lt;/em&gt; to &lt;em&gt;2.35&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Over the last week there has been a large, saw-tooth shaped, increase in requests to the site in the early hours of the morning, see these graphs:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/crin2_2016-01-07_fw_conntrack-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/crin2_2016-01-07_fw_conntrack-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/crin2_2016-01-07_if_eth0-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/crin2_2016-01-07_if_eth0-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/crin2_2016-01-07_nginx_status-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/crin2_2016-01-07_nginx_status-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/crin2_2016-01-07_phpfpm_status-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/crin2_2016-01-07_phpfpm_status-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/crin2_2016-01-07_cpu-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/crin2_2016-01-07_cpu-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/crin2_2016-01-07_load-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/crin2_2016-01-07_load-week.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
These have coincided with a increase in &lt;tt&gt;502&lt;/tt&gt; and &lt;tt&gt;503&lt;/tt&gt; errors, for example the &lt;tt&gt;Subject&lt;/tt&gt; lines from the alert emails from last night for the HTTPS and HTTP logs:
&lt;/p&gt;
&lt;pre class="wiki"&gt;75 502, 1 503 and 0 504 errors from crin2.crin.org
3701 502, 678 503 and 0 504 errors from crin2.crin.org
&lt;/pre&gt;&lt;p&gt;
Looking at the errors from last night, this lists the IPs by numbers of requests:
&lt;/p&gt;
&lt;pre class="wiki"&gt;nginx-logwatch /var/log/nginx/crin.org.access.log.1 | awk '{ print $1 }' | sort | uniq -c | sort -bgr -k 1
    433 93.95.228.179
    238 101.65.XX.XX
    ...
&lt;/pre&gt;&lt;p&gt;
Looking at the top IPs, the top one was requesting 30 RSS feeds a second and using URL's from when the site was using ASP, for example:
&lt;/p&gt;
&lt;pre class="wiki"&gt;93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss_info.asp?ID=27166 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any5&amp;amp;country=176 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /Law/rss.asp?scope=i&amp;amp;TypeID=1004&amp;amp;langlist=3&amp;amp;country=169 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?country=169&amp;amp;GM=1001 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /Law/rss.asp?scope=i&amp;amp;TypeID=1003&amp;amp;langlist=3&amp;amp;country=171 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /en/Law/rss.asp?scope=i&amp;amp;TypeID=1004&amp;amp;langlist=3&amp;amp;country=232 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?country=232&amp;amp;GM=1001 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any3&amp;amp;country=176 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any5&amp;amp;country=172 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss_info.asp?ID=26928 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /Law/rss.asp?scope=i&amp;amp;TypeID=1004&amp;amp;langlist=3&amp;amp;country=176 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?country=176&amp;amp;GM=1001 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /en/resources/rss.asp?categoryID=67&amp;amp;country=232 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=9&amp;amp;country=232 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any4&amp;amp;country=175 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /en/resources/rss_info.asp?ID=30664 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=67&amp;amp;country=177 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=9&amp;amp;country=177 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=67&amp;amp;country=175 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=9&amp;amp;country=175 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any4&amp;amp;country=172 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /en/resources/rss.asp?categoryID=67&amp;amp;country=173 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss_info.asp?ID=29383 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=9&amp;amp;country=173 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss_info.asp?ID=24703 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any3&amp;amp;country=170 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=67&amp;amp;country=168 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=9&amp;amp;country=168 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any5&amp;amp;country=169 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=67&amp;amp;country=166 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=9&amp;amp;country=166 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss_info.asp?ID=24376 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /resources/rss.asp?categoryID=Any5&amp;amp;country=170 HTTP/1.0" 503 212 "-" "-"
93.95.XX.XX - - [07/Jan/2016:03:05:23 +0000] "GET /en/resources/rss.asp?categoryID=Any5&amp;amp;country=168 HTTP/1.0" 503 212 "-" "-"
&lt;/pre&gt;&lt;p&gt;
The fact that these requests are served 503's is good, if they were served 502's the load impact could result in other clients accessing the site at the same time also getting errors.
&lt;/p&gt;
&lt;p&gt;
I have just realised that these requests are coming from &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt;! It much be some &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/MediaWiki"&gt;MediaWiki&lt;/a&gt; RSS script, this probably calls for another ticket...
&lt;/p&gt;
&lt;p&gt;
The second most active IP address is a Chinese one, but this was at a different time from the peaks, a sample of the requests:
&lt;/p&gt;
&lt;pre class="wiki"&gt;101.65.XX.XX - - [06/Jan/2016:13:58:44 +0000] "GET /library/custom-search-publications/?field_publications=470 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:44 +0000] "GET /en/general-measures/1-process-law-reform HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:44 +0000] "GET /library/custom-search-publications/?field_publications=468 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:44 +0000] "GET /en/general-measures/2-development-independent-human-rights-institutions-children HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:44 +0000] "GET /en/issue/child-participation HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:45 +0000] "GET /library/custom-search-publications/?field_publications=462 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:45 +0000] "GET /library/custom-search-publications/?field_publications=453 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:45 +0000] "GET /library/custom-search-publications/?field_publications=450 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:45 +0000] "GET /library/custom-search-publications/?field_publications=448 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:46 +0000] "GET /library/custom-search-publications/?field_publications=444 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:46 +0000] "GET /library/custom-search-publications/?field_publications=442 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:46 +0000] "GET /library/custom-search-publications/?field_publications=443 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:46 +0000] "GET /library/custom-search-publications/?field_publications=441 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:46 +0000] "GET /en/library/organisations/child-rights-international-network HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:46 +0000] "GET /library/custom-search-publications/?field_publications=1365 HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.XX.XX - - [06/Jan/2016:13:58:46 +0000] "GET /library/country HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
...
101.65.47.46 - - [06/Jan/2016:13:59:00 +0000] "GET /library/countries/marshall-islands HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:00 +0000] "GET /library/countries/malta HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:00 +0000] "GET /library/countries/mali HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:00 +0000] "GET /library/countries/malaysia HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:00 +0000] "GET /library/countries/madagascar HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:00 +0000] "GET /library/countries/macedonia-former-yugoslav-republic HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:00 +0000] "GET /en/library/countries/netherlands-antilles-netherlands HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:01 +0000] "GET /library/countries/macao-special-administrative-region-china HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:01 +0000] "GET /library/countries/liechtenstein HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:01 +0000] "GET /en/library/countries/nauru HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:02 +0000] "GET /library/countries/liberia HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:02 +0000] "GET /library/countries/latvia HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:02 +0000] "GET /library/countries/korea-democratic-peoples-republic HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:02 +0000] "GET /library/countries/kuwait HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:02 +0000] "GET /library/countries/kyrgyzstan HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:02 +0000] "GET /library/countries/kiribati HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:02 +0000] "GET /en/library/countries/mongolia HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:03 +0000] "GET /library/countries/jamaica HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:03 +0000] "GET /library/countries/japan HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:03 +0000] "GET /library/countries/israel HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:03 +0000] "GET /library/countries/italy HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:03 +0000] "GET /library/countries/iraq HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/india HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/kenya HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/honduras HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/holy-see HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/hong-kong-special-administrative-region-china HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/hungary HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/haiti HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/guyana HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/guinea-bissau HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:04 +0000] "GET /library/countries/guinea HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:05 +0000] "GET /library/countries/guatemala HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:05 +0000] "GET /library/countries/greenland-denmark HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:05 +0000] "GET /library/countries/guadeloupe-france HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:05 +0000] "GET /library/countries/guam HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:05 +0000] "GET /library/countries/ghana HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:05 +0000] "GET /library/countries/germany HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
101.65.47.46 - - [06/Jan/2016:13:59:05 +0000] "GET /en/library/countries/maldives HTTP/1.1" 503 212 "" "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60"
&lt;/pre&gt;&lt;p&gt;
These requests are not from a human, the fact that they result on 503 errors and don't take the site down for others is probably a good thing, if someone doesn't want to crawl the whole site they need to use rate limiting.
&lt;/p&gt;
&lt;p&gt;
The next top IP address was getting 502's and ever request has a different User Agent string -- this appears to be a bot upto no good, for example:
&lt;/p&gt;
&lt;pre class="wiki"&gt;192.3.XX.XX - - [06/Jan/2016:23:22:04 +0000] "GET /en/library/countries/tuvalu?qt-countr-tabs=4 HTTP/1.1" 502 574 "http://www.crin.org/en/library/countries/tuvalu?qt-countr-tabs=4" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
192.3.XX.XX - - [06/Jan/2016:23:22:04 +0000] "GET /custom-search?field_country=618&amp;amp;type=un_and_regional_documentation HTTP/1.1" 502 574 "http://www.crin.org/custom-search?field_country=618&amp;amp;type=un_and_regional_documentation" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
192.3.XX.XX - - [06/Jan/2016:23:22:05 +0000] "GET /en/library/legal-database/dojan-v-germany HTTP/1.1" 502 172 "http://www.crin.org/en/library/legal-database/dojan-v-germany" "Mozilla/5.0 (Windows NT 5.1; rv:33.0) Gecko/20100101 Firefox/33.0"
192.3.XX.XX - - [06/Jan/2016:23:22:05 +0000] "GET /docs/CRIN_Mechanisms_2011.pdf HTTP/1.1" 502 172 "http://www.crin.org/docs/CRIN_Mechanisms_2011.pdf" "Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0"
192.3.XX.XX - - [06/Jan/2016:23:23:02 +0000] "GET /en/library/countries/algeria?qt-countr-tabs=1 HTTP/1.1" 502 574 "http://www.crin.org/en/library/countries/algeria?qt-countr-tabs=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"
192.3.XX.XX - - [07/Jan/2016:02:50:54 +0000] "GET /es/node/41461 HTTP/1.1" 502 574 "http://www.crin.org/es/node/41461" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.120 Chrome/37.0.2062.120 Safari/537.36"
192.3.XX.XX - - [07/Jan/2016:02:50:54 +0000] "GET /en/library/custom-search-organisations?search_api_language=current&amp;amp;promo=1&amp;amp;f[0]=field_themes%3A24&amp;amp;f[1]=field_themes%3A23 HTTP/1.1" 502 574 "http://www.crin.org/en/library/custom-search-organisations?search_api_language=current&amp;amp;promo=1&amp;amp;f[0]=field_themes%3A24&amp;amp;f[1]=field_themes%3A23" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36"
192.3.XX.XX - - [07/Jan/2016:02:50:55 +0000] "GET /en/library/custom-search-organisations?search_api_language=current&amp;amp;promo=1&amp;amp;f[0]=field_themes%3A18&amp;amp;f[1]=field_themes%3A24 HTTP/1.1" 502 574 "http://www.crin.org/en/library/custom-search-organisations?search_api_language=current&amp;amp;promo=1&amp;amp;f[0]=field_themes%3A18&amp;amp;f[1]=field_themes%3A24" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36"
192.3.XX.XX - - [07/Jan/2016:02:50:55 +0000] "GET /en/library/organisations/child-wise HTTP/1.1" 502 574 "http://www.crin.org/en/library/organisations/child-wise" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"
&lt;/pre&gt;&lt;p&gt;
I'm not sure if it is worth spending too much more time digging into these logs, even though I haven't found the cause of the large overnight loads-- I think I'd better spend time on the caching ticket, &lt;a class="new ticket" href="https://trac.crin.org/trac/ticket/56" title="defect: Drupal Caching (new)"&gt;ticket:56&lt;/a&gt; as I only have a day a month to work on the servers.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 08 Jan 2016 10:13:05 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/54#comment:7</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;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;2.35&lt;/em&gt; to &lt;em&gt;2.6&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Only 5 &lt;tt&gt;502&lt;/tt&gt; errors yesterday, all of these from &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/MediaWiki"&gt;MediaWiki&lt;/a&gt; requesting non-existant RSS feeds. One, typical, &lt;tt&gt;503&lt;/tt&gt; error from BingBot, there are a few of these every day, I have no idea why URLs like this are requested:
&lt;/p&gt;
&lt;pre class="wiki"&gt;157.55.39.223 - - [07/Jan/2016:10:16:22 +0000] "GET /docs/%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A0%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%C2%A2%C3%A2%E2%82%AC%C5%BE%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AE%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A6%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A6%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%ACPeru%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A0%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%C2%A2%C3%A2%E2%82%AC%C5%BE%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AE%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%82%C2%A6%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%A2%E2%80%9E%C2%A2%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%9A%C3%82%C2%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%E2%80%9A%C3%82%C2%AC%C3%83%C6%92%C3%A2%E2%82%AC%C2%A6%C3%83%E2%80%9A%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%E2%80%A0%C3%A2%E2%82%AC%E2%84%A2%C3%83%C6%92%C3%82%C2%A2%C3%83%C2%A2%C3%A2%E2%82%AC%C5%A1%C3%82%C2%AC%C3%83%E2%80%A6%C3%82%C2%A1%C3%83%C6%92%C3%86%E2%80%99%C3%83%C2%A2%C3%A2%E2%80%9A%C2%AC%C3%85%C2%A1%C3%83%C6%92%C3%A2%E2%82%AC%C5%A1%C3%83%E2%80%9A%C3%82%C2%81_GIN_NGO_Report.doc HTTP/1.1" 502 172 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:43:03 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_memcached_rates-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:43:15 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_if_eth0-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:43:25 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_fw_packets-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:43:36 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_cpu-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:43:48 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_interrupts-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:44:01 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_load-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:46:06 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_memcached_rates-month.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:46:19 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_if_eth0-month.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:46:30 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_fw_packets-month.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:46:49 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_cpu-month.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:47:02 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_interrupts-month.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 09:47:14 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/54</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;2016-02-23_crin2_load-month.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 Feb 2016 10:02:15 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/54#comment:8</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/54#comment:8</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;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;2.6&lt;/em&gt; to &lt;em&gt;3.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a class="ticket" href="https://trac.crin.org/trac/ticket/54#comment:6" title="Comment 6"&gt;chris&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Over the last week there has been a large, saw-tooth shaped, increase in requests to the site in the early hours of the morning
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
That pattern was on-going until a few days ago, when it stopped, these are some graphs from the last week:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_memcached_rates-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_memcached_rates-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_if_eth0-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_if_eth0-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_fw_packets-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_fw_packets-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_cpu-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_cpu-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_interrupts-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_interrupts-week.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_load-week.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_load-week.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
And these are from the last month, showing the duration of the pattern:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_memcached_rates-month.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_memcached_rates-month.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_if_eth0-month.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_if_eth0-month.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_fw_packets-month.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_fw_packets-month.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_cpu-month.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_cpu-month.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_interrupts-month.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_interrupts-month.png" /&gt;&lt;/a&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/54/2016-02-23_crin2_load-month.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/54/2016-02-23_crin2_load-month.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I did look at the traffic during these periods, several times, and it appears to be traffic from bots, the User Agent string was different for each request, and there were huge numbers of GET and HEAD requests being made at the same time.
&lt;/p&gt;
&lt;p&gt;
However I'm not sure that this was the sole cause of the saw tooth pattern -- last night there were 584 503 errors served by &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; and of these 292 were to one IP address (again lots of different User Agent strings) between 07:05:15 and 07:05:17 and another 292 of them were server to another IP address between 09:39:20 and 09:39:23.
&lt;/p&gt;
&lt;p&gt;
I don't know what conclusion to draw from this apart from the one that the Nginx rate limiting of requests for PHP generated pages to 6 per seconds per remote IP address is working quite well at stopping abuse from bots -- no human is going to try open almost 300 tags in two seconds to read articles using multiple user agent strings...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>