<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #88: Newsletter improvement IMMEDIATE: up the delivery rates</title>
    <link>http://localhost:8080/trac/ticket/88</link>
    <description>&lt;p&gt;
newsletter editor is unhappy with simplenews delivery rates - we need to get it out much much faster - starting thursday 27/05/10
&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/88</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 26 May 2010 11:53:52 GMT</pubDate>
      <title>owner, status changed</title>
      <link>http://localhost:8080/trac/ticket/88#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;jim&lt;/em&gt; to &lt;em&gt;chris&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Cron is still only getting called once an hour - this is the first port of call in speeding up &lt;a class="missing wiki"&gt;SimpleNews?&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Secondly, the server is too slow to send out more than about 100 newsletters per cron run - upping the PHP max timeout would extend this
&lt;/p&gt;
&lt;p&gt;
Thirdly, &lt;a class="missing wiki"&gt;SimpleNews?&lt;/a&gt;'s effectiveness is in doubt! Please see: &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/58" title="enhancement: Simple news: add tracking and bounce handling facilities (closed: wontfix)"&gt;#58&lt;/a&gt; 'Simple news: add tracking and bounce handling facilities'
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 27 May 2010 12:34:08 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/88#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:2</guid>
      <description>
        &lt;p&gt;
Things that have been changed:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;The cron job now runs every 5mins this is the cron job: &lt;tt&gt;*/5 * * * * /usr/local/sbin/ab -v 4 -n 1 http://www.transitionnetwork.org/cron.php&lt;/tt&gt;
&lt;/li&gt;&lt;li&gt;Access to &lt;a class="ext-link" href="http://www.transitionnetwork.org/cron.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/cron.php&lt;/a&gt; is restricted to access from the server itself, this is the URL that the cron job uses
&lt;/li&gt;&lt;li&gt;Access to &lt;a class="ext-link" href="https://www.transitionnetwork.org/cron.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/cron.php&lt;/a&gt; is restricted via HTAuthentication, using the same username and password as the uploads on Atrium, email me if you need it -- this can be used to run the cron jobs manually
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 27 May 2010 12:42:56 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/88#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:3</guid>
      <description>
        &lt;p&gt;
Oh also in &lt;tt&gt;/web/system.phpini/transitionnetwork.org/php.ini&lt;/tt&gt; I have changed this: &lt;tt&gt;default_socket_timeout = 360&lt;/tt&gt;
&lt;/p&gt;
&lt;p&gt;
It was set to 60 seconds.
&lt;/p&gt;
&lt;p&gt;
Is this OK?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 27 May 2010 12:59:30 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/88#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:4</guid>
      <description>
        &lt;p&gt;
Thanks Chris... Confirmed: cron is now running every 5 minutes.
&lt;/p&gt;
&lt;p&gt;
I've upped &lt;a class="missing wiki"&gt;SimpleNews?&lt;/a&gt;' throttle to 200/cron run so (can be made higher if needed later now the max execution time is higher):
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;7,000 newsletters/200 per cron = 35 crons
&lt;/li&gt;&lt;li&gt;35 crons / 12 per hour (60/5) = 2 hours 55 to send all newsletters...
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
&lt;strong&gt;Ed&lt;/strong&gt;: is all newsletters being sent in under 3 hours ok??
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Chris&lt;/strong&gt;: can you confirm max_execution_time in php.ini is also 360?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 27 May 2010 13:13:48 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/88#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:5</guid>
      <description>
        &lt;p&gt;
max_execution_time in php.ini is also now set to 360
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Thu, 27 May 2010 13:47:11 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/88#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:6</guid>
      <description>
        &lt;p&gt;
just to double check - no-one is going to have to press a button a lot are they?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 27 May 2010 14:06:39 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/88#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&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;/ul&gt;
        &lt;p&gt;
No, that's the point of cron - we're using its finger...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Thu, 27 May 2010 14:24:26 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/88#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/88#comment:8</guid>
      <description>
        &lt;p&gt;
damn fine work chaps. tally ho.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>