 <?xml-stylesheet type="text/css" href="https://flowerbunch.org.uk/Data/style/rss1.css" ?> <?xml-stylesheet type="text/xsl" href="https://flowerbunch.org.uk/Data/style/rss1.xsl" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
  <channel>
    <title>Blog</title>
    <link>https://flowerbunch.org.uk/blog</link>
    <description />
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>mojoPortal Blog Module</generator>
    <language>en-US</language>
    <ttl>120</ttl>
    <atom:link href="https://flowerbunch.org.uk/Blog/RSS.aspx?p=1~1~14" rel="self" type="application/rss+xml" />
    <itunes:owner />
    <itunes:explicit>no</itunes:explicit>
    <item>
      <title>Automatic closure is a bad thing</title>
      <description><![CDATA[<p>Lots of things open and close – doors, shops, windows, mouths, apps, free schools, etc.&nbsp; The “open” state is good for use, travel, ventilation, communication, education, aspiration and operation. The “closed” state is good for silence, darkness, stasis and rest. “Closed” is good only when the recovery it permits is necessary for “open” to be good.</p>

<p>These days everything that can be opened is made to close itself again automatically. Doors have heavy weighted thingies so they can smack you in the mouth, apps close themselves when they think you have finished using them, and Microsoft SQL Server databases have a setting that makes them close down when all users have disconnected.</p>

<p>One of the web sites I run (<a href="http://www.mynydd-du.org.uk/">www.mynydd-du.org.uk</a>) has been performing terribly for the last two weeks – frequent alerts that the site was down, and terrible page load times. The site is built with <a href="http://www.mojoportal.com/" target="_blank" title="mojoPortal">mojoPortal</a> CMS, using a SQL Server database. After a lot of frustrating exchanges with the hosting company (<a href="http://www.arvixe.com/" target="_blank" title="Arvixe">Arvixe</a>), who could see nothing wrong, I finally spotted that this “Auto Close” setting was set to True for this site’s database, and False for all my others. My account didn’t have permissions to change this setting so I’ve no idea how it got like this, but that’s how it was. I explained this to Arvixe, and waited… eventually they made the change, after I went to their main quality assurance people - thanks to Joe Audette at mojoPortal for giving me the crucial email address.</p>

<p>Here’s the difference it made, as measured by <a href="http://uptimerobot.com/" target="_blank" title="Uptime Robot">Uptime Robot</a>:</p>

<p><img alt="image" border="0" height="186" src="https://flowerbunch.org.uk/Data/Sites/1/media/wlw/image_63.png" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" width="513" /></p>

<p>The setting was changed at about 03:40, and apart from one bad reading the average response immediately time changed from about 8 seconds to about 0.5. And in the time since, I’ve only had one alert of the site being down, instead of LOTS in every preceding period.</p>

<p>So the moral of the story is… in SQL Server databases always set Auto Close to False, and in general, don’t trust anything that closes itself automatically.</p>
<br /><a href='https://flowerbunch.org.uk/automatic-closure-is-a-bad-thing'>Crispin</a>&nbsp;&nbsp;<a href='https://flowerbunch.org.uk/automatic-closure-is-a-bad-thing'>...</a>]]></description>
      <link>https://flowerbunch.org.uk/automatic-closure-is-a-bad-thing</link>
      <author>crispin.flower@live.co.uk (Crispin)</author>
      <comments>https://flowerbunch.org.uk/automatic-closure-is-a-bad-thing</comments>
      <guid isPermaLink="true">https://flowerbunch.org.uk/automatic-closure-is-a-bad-thing</guid>
      <pubDate>Sat, 14 Dec 2013 19:53:00 GMT</pubDate>
    </item>
    <item>
      <title>Wind and string sections</title>
      <description><![CDATA[<p>
	First the wind:&nbsp;as a birthday treat&nbsp;for Naomi we&nbsp;did the <a href="http://www.fellrace.com/mynyddtroed" target="_blank">Mynydd Troed&nbsp;Race</a> today. I don't think I've ever done a&nbsp;race in such foul conditions, with screaming winds&nbsp;and driving rain. Before the start I was a bit miffed&nbsp;that&nbsp;the course was shortened to miss out Mynydd Llangorse - this was my first&nbsp;race after busting the knee and I wanted my money's worth!&nbsp; However&nbsp;the&nbsp;remaining 4.5 miles still took me 58 minutes&nbsp;-&nbsp;almost&nbsp;as long as the full&nbsp;7 miles takes&nbsp;normally -&nbsp;and&nbsp;since my calf&nbsp;strain returned with a vengeance about half&nbsp;way, it was plenty. Stewart&nbsp;was a few places ahead of me, and will lunch out on this for ever.</p>
<p>
	Naomi had a good run, beating&nbsp;Sharon and various Chepstow lasses.</p>
<p>
	Now the strings: Lois found&nbsp;out yesterday she got a distinction in her cello grade 5 exam.&nbsp;Much surprise and&nbsp;joy.</p>
<br /><a href='https://flowerbunch.org.uk/wind-and-string-sections'>Crispin</a>&nbsp;&nbsp;<a href='https://flowerbunch.org.uk/wind-and-string-sections'>...</a>]]></description>
      <link>https://flowerbunch.org.uk/wind-and-string-sections</link>
      <author>crispin.flower@live.co.uk (Crispin)</author>
      <comments>https://flowerbunch.org.uk/wind-and-string-sections</comments>
      <guid isPermaLink="true">https://flowerbunch.org.uk/wind-and-string-sections</guid>
      <pubDate>Sun, 29 Apr 2012 17:05:00 GMT</pubDate>
    </item>
  </channel>
</rss>