<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Waste of Bandwidth &#187; Linux</title>
	<atom:link href="http://www.mywasteofbandwidth.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywasteofbandwidth.com</link>
	<description>A seldomly updated look into my geeky happenings</description>
	<lastBuildDate>Sat, 13 Feb 2010 19:35:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Strange Bandwidth Issue Solved</title>
		<link>http://www.mywasteofbandwidth.com/2009/09/19/strange-bandwidth-issue-solved/</link>
		<comments>http://www.mywasteofbandwidth.com/2009/09/19/strange-bandwidth-issue-solved/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 00:11:22 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.mywasteofbandwidth.com/?p=152</guid>
		<description><![CDATA[I just finished solving a problem that had me concerned all afternoon.  My DSL access had been absolutely crawling this week, but I hadn&#8217;t had a chance to look at it until now.  When I pulled up the bandwidth chart on my router, I just about fell out of my chair.   Since Thursday, I had [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished solving a problem that had me concerned all afternoon.  My DSL access had been absolutely crawling this week, but I hadn&#8217;t had a chance to look at it until now.  When I pulled up the bandwidth chart on my router, I just about fell out of my chair.   Since Thursday, I had been pulling over 15GB of data each day and by midday today, over 7.5GB of data had moved through my DSL.  Being a security guy, I immediately feared the worst and began pouring over logs trying to determine the source of this traffic.</p>
<p>I was able to narrow down the source to my home Linux server and a quick <a href="http://www.wireshark.org">Wireshark</a> packet analysis showed my email service as the culprit.    This led me to the syslog where I found this message:</p>
<p><span style="color: #0000ff;"><strong>reject: MAIL from localhost[127.0.0.1]: 552 5.3.4 Message size exceeds fixed limit;</strong></span></p>
<p>Apparently, the <a href="http://www.postfix.org">Postfix</a> mail system caps messages at 10MB.  By chance, I had two messages on the remote server with large attachments.  Because of this, my home server would start downloading these files, but fail once it had reached the 10MB limit.  Unfortunately, it would then  try again at 10 second intervals.  This caused the perfect bandwidth storm &#8212; and potentially a mailbox storm for the sender who would have received a rejected message after each failed attempt.  (Apology letter already sent <img src='http://www.mywasteofbandwidth.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> )</p>
<p>The fix was relatively simple.  I added the following line to my Postfix main.cf file, which removes the size limit for messages all together:</p>
<p><span style="color: #0000ff;"><strong>message_size_limit = 0</strong></span></p>
<p>A quick restart of Postfix loaded the new config and a final temporary bandwidth meter spiked subsequently occurred while the files were downloaded.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywasteofbandwidth.com/2009/09/19/strange-bandwidth-issue-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
