<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Want $500?  Help Us Fix Jabberd2!</title>
	<atom:link href="http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/feed/" rel="self" type="application/rss+xml" />
	<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/</link>
	<description>a blog about startups and code</description>
	<lastBuildDate>Thu, 18 Dec 2008 03:41:49 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: markdoliner</title>
		<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/#comment-318</link>
		<dc:creator>markdoliner</dc:creator>
		<pubDate>Mon, 03 Nov 2008 08:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://metajack.wordpress.com/?p=23#comment-318</guid>
		<description>Hi again.  metajack, I think you&#039;ve switched to using ejabberd?  But I thought I&#039;d leave a follow-up post in case someone else stumbles across this.  The two patches on ticket 219 have been committed, along with another change to get rid of another cache which may have contributed to the memory growth you saw.</description>
		<content:encoded><![CDATA[<p>Hi again.  metajack, I think you&#8217;ve switched to using ejabberd?  But I thought I&#8217;d leave a follow-up post in case someone else stumbles across this.  The two patches on ticket 219 have been committed, along with another change to get rid of another cache which may have contributed to the memory growth you saw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Doliner</title>
		<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/#comment-100</link>
		<dc:creator>Mark Doliner</dc:creator>
		<pubDate>Wed, 04 Jun 2008 22:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://metajack.wordpress.com/?p=23#comment-100</guid>
		<description>@metajack: I&#039;ve uploaded another patch to the jabberd ticket at http://jabberd2.xiaoka.com/ticket/219  This one is not mysql-specific.  I&#039;d love to hear if it helps the problems you&#039;re seeing with memory usage.</description>
		<content:encoded><![CDATA[<p>@metajack: I&#8217;ve uploaded another patch to the jabberd ticket at <a href="http://jabberd2.xiaoka.com/ticket/219" rel="nofollow">http://jabberd2.xiaoka.com/ticket/219</a>  This one is not mysql-specific.  I&#8217;d love to hear if it helps the problems you&#8217;re seeing with memory usage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Doliner</title>
		<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/#comment-93</link>
		<dc:creator>Mark Doliner</dc:creator>
		<pubDate>Wed, 28 May 2008 18:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://metajack.wordpress.com/?p=23#comment-93</guid>
		<description>It&#039;s very possible that the the key leaking issue that John mentioned is still a problem... I wasn&#039;t extremely thorough, and I&#039;m sure the code has changed a bit since I looked at it late last year.  But I would venture to say that it&#039;s not likely to be major cause of the memory growth you&#039;re seeing.</description>
		<content:encoded><![CDATA[<p>It&#8217;s very possible that the the key leaking issue that John mentioned is still a problem&#8230; I wasn&#8217;t extremely thorough, and I&#8217;m sure the code has changed a bit since I looked at it late last year.  But I would venture to say that it&#8217;s not likely to be major cause of the memory growth you&#8217;re seeing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: metajack</title>
		<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/#comment-85</link>
		<dc:creator>metajack</dc:creator>
		<pubDate>Tue, 27 May 2008 22:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://metajack.wordpress.com/?p=23#comment-85</guid>
		<description>@Mark: so the key leaking issue that john mentioned isn&#039;t really a problem?  Unfortunately we do not use mysql, but postgresql.  Although perhaps the postgresql backend has a similar leak?   I apologize for not specifying that in the bounty above.  I&#039;m happy to pay you a partial bounty when smoku commits your patch.</description>
		<content:encoded><![CDATA[<p>@Mark: so the key leaking issue that john mentioned isn&#8217;t really a problem?  Unfortunately we do not use mysql, but postgresql.  Although perhaps the postgresql backend has a similar leak?   I apologize for not specifying that in the bounty above.  I&#8217;m happy to pay you a partial bounty when smoku commits your patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Doliner</title>
		<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/#comment-84</link>
		<dc:creator>Mark Doliner</dc:creator>
		<pubDate>Tue, 27 May 2008 21:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://metajack.wordpress.com/?p=23#comment-84</guid>
		<description>Tomasz, the lead jabberd2 developer, created a ticket for your bounty at the jabberd2 website.  I&#039;ve attached a patch to the ticket that might help the memory leak if you&#039;re using the MySQL storage backend.  If it&#039;s not too inconvenient, I encourage you to try it out and leave a comment on the ticket with your findings: http://jabberd2.xiaoka.com/ticket/219

Also, in the past I&#039;ve investigated the usage of many of the hash tables in jabberd2 and most of them appear to free the data they&#039;re responsible for in a timely fashion.

valgrind&#039;s massif tool is a great way to track down the primary users of memory in a program, but it&#039;s sometimes hard to use in a production environment, and it&#039;s hard to simulate real world traffic in a test environment.

Tracking down memory leaks in programs that use memory pools is hard :-(</description>
		<content:encoded><![CDATA[<p>Tomasz, the lead jabberd2 developer, created a ticket for your bounty at the jabberd2 website.  I&#8217;ve attached a patch to the ticket that might help the memory leak if you&#8217;re using the MySQL storage backend.  If it&#8217;s not too inconvenient, I encourage you to try it out and leave a comment on the ticket with your findings: <a href="http://jabberd2.xiaoka.com/ticket/219" rel="nofollow">http://jabberd2.xiaoka.com/ticket/219</a></p>
<p>Also, in the past I&#8217;ve investigated the usage of many of the hash tables in jabberd2 and most of them appear to free the data they&#8217;re responsible for in a timely fashion.</p>
<p>valgrind&#8217;s massif tool is a great way to track down the primary users of memory in a program, but it&#8217;s sometimes hard to use in a production environment, and it&#8217;s hard to simulate real world traffic in a test environment.</p>
<p>Tracking down memory leaks in programs that use memory pools is hard <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/#comment-83</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 27 May 2008 12:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://metajack.wordpress.com/?p=23#comment-83</guid>
		<description>Hey Rob,

there&#039;s this short writeup on the memory leak issue, on the jabberd2 wiki:

http://jabberd2.xiaoka.com/wiki/KnownBugs#xhashpoolleakbymisuse

Does this seem familiar? It doesn&#039;t seem to be on purpose, contrarily to what you&#039;re saying. Would you have any insight on the matter?</description>
		<content:encoded><![CDATA[<p>Hey Rob,</p>
<p>there&#8217;s this short writeup on the memory leak issue, on the jabberd2 wiki:</p>
<p><a href="http://jabberd2.xiaoka.com/wiki/KnownBugs#xhashpoolleakbymisuse" rel="nofollow">http://jabberd2.xiaoka.com/wiki/KnownBugs#xhashpoolleakbymisuse</a></p>
<p>Does this seem familiar? It doesn&#8217;t seem to be on purpose, contrarily to what you&#8217;re saying. Would you have any insight on the matter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://metajack.wordpress.com/2008/05/22/want-500-help-us-fix-jabberd2/#comment-82</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Sat, 24 May 2008 13:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://metajack.wordpress.com/?p=23#comment-82</guid>
		<description>I haven&#039;t looked at the code since 2006 so I don&#039;t know what&#039;s changed since then, but during my watch there was a major memory issue in that the session manager would never release user data that it had previously loaded. There was a really good reason for this at the time that I&#039;ve forgotten now. Your graphs look rather familiar. Does that issue still exist?

--Rob (ex jabberd2 lead developer)</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t looked at the code since 2006 so I don&#8217;t know what&#8217;s changed since then, but during my watch there was a major memory issue in that the session manager would never release user data that it had previously loaded. There was a really good reason for this at the time that I&#8217;ve forgotten now. Your graphs look rather familiar. Does that issue still exist?</p>
<p>&#8211;Rob (ex jabberd2 lead developer)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
