<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>a little bit of zeank &#187; blogsport</title>
	<atom:link href="http://blog.jwchat.org/category/blogsport/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jwchat.org</link>
	<description>coding and stuff</description>
	<pubDate>Fri, 18 Dec 2009 08:59:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>blogsport in trouble</title>
		<link>http://blog.jwchat.org/2006/03/02/blogsport-in-trouble/</link>
		<comments>http://blog.jwchat.org/2006/03/02/blogsport-in-trouble/#comments</comments>
		<pubDate>Thu, 02 Mar 2006 09:39:04 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
		
		<category><![CDATA[blogsport]]></category>

		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://zeank.in-berlin.de/2006/03/02/blogsport-in-trouble/</guid>
		<description><![CDATA[Due to increasing traffic at blogsport my server hosting this service ran into trouble more and more as it&#8217;s got not enough RAM as an increasing number of apache processes kept eating it up. Sure I just could have spent some money into new hardware but this seemed not to be adequate to me as [...]]]></description>
			<content:encoded><![CDATA[<p>Due to increasing traffic at <a href="http://blogsport.de/main/2006/02/28/never-change-a-winning-team/">blogsport</a> my server hosting this service ran into trouble more and more as it&#8217;s got not enough RAM as an increasing number of apache processes kept eating it up. Sure I just could have spent some money into new hardware but this seemed not to be adequate to me as I don&#8217;t make profit with this service.<br />
My idea was to replace the somewhat outdated apache1.3 with an apache2 running in threaded mode (the mpm-worker model). Unfortunately I discovered that mod_php is not compatible with this. After some investigation I decided to switch nevertheless using mod_fcgid to run php5. Everything worked smooth except when it came to new postings. Postings did get filled into the DB but a &#8220;premature end of script headers&#8221; caused an Internal Server Error and stopped the show.<br />
After a lot of debugging I found out that the reason for this were calls to fgets() and fputs() respectively. Despite intensive googling nothing showed up that seemed to match this topic so I wrote a quick mail to the author of mod_fcgid who gave my the tip to play around with timeouts and after setting &#8216;IPCCommTimeout&#8217; for mod_fcgid the error seemes to be gone indeed now. </p>
<p>Current mood: happy again <img src='http://blog.jwchat.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Some more notes: RAM usage has decreased dramatically now, system responsiveness is fine again, regular outages seem to have gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jwchat.org/2006/03/02/blogsport-in-trouble/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
