<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>mehblog: apache problems</title>
    <link>http://blog.pauldalton.co.uk/articles/2006/05/26/apache-problems</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>random mumblings</description>
    <item>
      <title>apache problems</title>
      <description>For a while now my blog has been going down due to a strange problem with apache.  The error log always contains the same error message, 
&lt;pre&gt;
*** glibc detected *** double free or corruption (fasttop)
&lt;/pre&gt;

	&lt;p&gt;Now I haven&amp;#8217;t been able to determine what was causing this problem, so I decided to start using &lt;a href="http://mongrel.rubyforge.org/"&gt;Mongrel&lt;/a&gt;  instead thinking that the problem was down to fastcgi. So I set up a proxypass directive in my apache conf to proxy to mongrel. Works well but apache is still crashing.&lt;/p&gt;


	&lt;p&gt;From there I decided &amp;#8220;what the heck&amp;#8221; and set up a cron job to restart apache every hour. And that seemed just fine also until this morning when I noticed that the blog was down again. To cut a long and tedious story short it was the old &amp;#8216;apache leaving semaphores around when it restarts&amp;#8217; chestnut. I have seen this problem before on a redhat 9 box running plesk. I had always assumed it was due to the version of apache that was being used on that box. Not so it would seem. Anyway, the &lt;a href="http://www.cosmicscripts.com/servers/startingapache.html"&gt;simple fix can be found here&lt;/a&gt;, among others.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve also changed my cron job to only restart every six hours now.&lt;/p&gt;


	&lt;p&gt;So my apache really isn&amp;#8217;t too well.&lt;/p&gt;</description>
      <pubDate>Fri, 26 May 2006 07:10:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:afc131f3a8484bea74173a1999ccd60a</guid>
      <author>paul</author>
      <link>http://blog.pauldalton.co.uk/articles/2006/05/26/apache-problems</link>
    </item>
  </channel>
</rss>
