<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Avoid memory leaks in your ruby/rails code and protect you against denial of service</title>
	<atom:link href="http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/</link>
	<description>Ruby and Ruby on Rails tricks and tips from the edge</description>
	<lastBuildDate>Tue, 20 Dec 2011 20:53:03 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: דלפות זיכרון בשפות דינמיות &#171; לראות שונה</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-146</link>
		<dc:creator>דלפות זיכרון בשפות דינמיות &#171; לראות שונה</dc:creator>
		<pubDate>Tue, 29 Jun 2010 07:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-146</guid>
		<description>[...] גיליתי השבוע כי ברובי יצירה של Symbol (שם של מחלקה) היא סוג .... עכשיו חשוב להבין שזה feature מסויים, אבל השימושים שאנחנו [...]</description>
		<content:encoded><![CDATA[<p>[...] גיליתי השבוע כי ברובי יצירה של Symbol (שם של מחלקה) היא סוג &#8230;. עכשיו חשוב להבין שזה feature מסויים, אבל השימושים שאנחנו [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwi</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-145</link>
		<dc:creator>kwi</dc:creator>
		<pubDate>Tue, 29 Jun 2010 00:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-145</guid>
		<description>Hi Vitaly,

Yes you are right, it&#039;s very hard to control all these possible leaks, but limiting to 200-500 requests looks like a litlle bit too small ! In an heavy loaded environment, this can be achieve in a few seconds easily, this will reload your rails app just too often which will slow down your server.</description>
		<content:encoded><![CDATA[<p>Hi Vitaly,</p>
<p>Yes you are right, it&#8217;s very hard to control all these possible leaks, but limiting to 200-500 requests looks like a litlle bit too small ! In an heavy loaded environment, this can be achieve in a few seconds easily, this will reload your rails app just too often which will slow down your server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitaly Kushner</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-144</link>
		<dc:creator>Vitaly Kushner</dc:creator>
		<pubDate>Mon, 28 Jun 2010 15:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-144</guid>
		<description>I find it almost impossible to completely control all possible leaks in ruby code. I18n.locale is just one examples, but there are many plugins and gems that leak symbols. So I prefer to simply limit the number of requests any given application server instance can provess. For example, when using Fusion Passenger I set PassengerMaxRequests to something like 200-500, so that I&#039;m sure it can&#039;t leak too much during its lifetime.</description>
		<content:encoded><![CDATA[<p>I find it almost impossible to completely control all possible leaks in ruby code. I18n.locale is just one examples, but there are many plugins and gems that leak symbols. So I prefer to simply limit the number of requests any given application server instance can provess. For example, when using Fusion Passenger I set PassengerMaxRequests to something like 200-500, so that I&#8217;m sure it can&#8217;t leak too much during its lifetime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Особое программирование &#187; Post Topic &#187; Утечка памяти в Ruby</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-121</link>
		<dc:creator>Особое программирование &#187; Post Topic &#187; Утечка памяти в Ruby</dc:creator>
		<pubDate>Fri, 11 Jun 2010 10:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-121</guid>
		<description>[...] Скажу честно, после прочтения статьи нашел несколько промахов в своем коде, о которых даже не задумывался раньше. И так, статья Avoid memory leaks in your ruby/rails code and protect you against denial of service [...]</description>
		<content:encoded><![CDATA[<p>[...] Скажу честно, после прочтения статьи нашел несколько промахов в своем коде, о которых даже не задумывался раньше. И так, статья Avoid memory leaks in your ruby/rails code and protect you against denial of service [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwi</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-119</link>
		<dc:creator>kwi</dc:creator>
		<pubDate>Fri, 11 Jun 2010 02:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-119</guid>
		<description>Not really, it&#039;s just depend on what you are converting to symbols, you just be sure to control that !</description>
		<content:encoded><![CDATA[<p>Not really, it&#8217;s just depend on what you are converting to symbols, you just be sure to control that !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Sutterer</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-117</link>
		<dc:creator>Nick Sutterer</dc:creator>
		<pubDate>Thu, 10 Jun 2010 09:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-117</guid>
		<description>Very interesting, thanks!

So it is really bad practice to convert everything to symbols?</description>
		<content:encoded><![CDATA[<p>Very interesting, thanks!</p>
<p>So it is really bad practice to convert everything to symbols?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwi</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-104</link>
		<dc:creator>kwi</dc:creator>
		<pubDate>Wed, 09 Jun 2010 18:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-104</guid>
		<description>Thanks for the precision Seydar, and glad you read my article !</description>
		<content:encoded><![CDATA[<p>Thanks for the precision Seydar, and glad you read my article !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seydar</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-103</link>
		<dc:creator>seydar</dc:creator>
		<pubDate>Wed, 09 Jun 2010 18:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-103</guid>
		<description>Nice article. Just FYI, GC.start doesn&#039;t FORCE a GC run, it just &quot;suggests&quot; it.</description>
		<content:encoded><![CDATA[<p>Nice article. Just FYI, GC.start doesn&#8217;t FORCE a GC run, it just &#8220;suggests&#8221; it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zitooon</title>
		<link>http://www.tricksonrails.com/2010/06/avoid-memory-leaks-in-ruby-rails-code-and-protect-against-denial-of-service/comment-page-1/#comment-101</link>
		<dc:creator>Zitooon</dc:creator>
		<pubDate>Wed, 09 Jun 2010 11:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tricksonrails.com/?p=345#comment-101</guid>
		<description>Thanks for the tips !

I&#039;ll check my code ASAP and let you know if my application feels better !</description>
		<content:encoded><![CDATA[<p>Thanks for the tips !</p>
<p>I&#8217;ll check my code ASAP and let you know if my application feels better !</p>
]]></content:encoded>
	</item>
</channel>
</rss>

