<?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: mod-mono-server2 memory consumption problems</title>
	<atom:link href="http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121/feed" rel="self" type="application/rss+xml" />
	<link>http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121</link>
	<description>giving you tricks and tips of good coding</description>
	<lastBuildDate>Tue, 03 Aug 2010 13:50:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Martin</title>
		<link>http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121/comment-page-1#comment-3012</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 15 Feb 2010 15:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://sourcecodebean.com/?p=121#comment-3012</guid>
		<description>maybe yesterday really webservice used one of customers.
MonoMaxMemory 500000000 maybe work, but its combination of problems with webservices.

we try dealocation all data manualy...

i past here any news</description>
		<content:encoded><![CDATA[<p>maybe yesterday really webservice used one of customers.<br />
MonoMaxMemory 500000000 maybe work, but its combination of problems with webservices.</p>
<p>we try dealocation all data manualy&#8230;</p>
<p>i past here any news</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121/comment-page-1#comment-3010</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 15 Feb 2010 10:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://sourcecodebean.com/?p=121#comment-3010</guid>
		<description>I am note quite sure how to set if for all vhosts, or how well MonoMaxMemory works at all. This is from the documentation:

&quot;MonoMaxMemory. If MonoRunXSP is True, the maximum size of the process&#039;s data segment (data size) in bytes allowed for the spawned mono process. It will be restarted when the limit is reached. If this capability is not available on your system, the directive will be ignored. Default value: system default&quot;

This page states http://www.mono-project.com/Mod_mono:
&quot;Lines 4 and 5 set the maximum memory to be used (bytes) and the maximum CPU time consumed (seconds) by the &#039;jeanette&#039; mod-mono-server instance. After reaching the limit, the OS will kill mod-mono-server. A new instance should start automatically on the next request. (But, JT notes that these directives don&#039;t work at all for him.)&quot;

So it seems like others have problem with the MonoMaxMemory as well...</description>
		<content:encoded><![CDATA[<p>I am note quite sure how to set if for all vhosts, or how well MonoMaxMemory works at all. This is from the documentation:</p>
<p>&#8220;MonoMaxMemory. If MonoRunXSP is True, the maximum size of the process&#8217;s data segment (data size) in bytes allowed for the spawned mono process. It will be restarted when the limit is reached. If this capability is not available on your system, the directive will be ignored. Default value: system default&#8221;</p>
<p>This page states <a href="http://www.mono-project.com/Mod_mono" rel="nofollow">http://www.mono-project.com/Mod_mono</a>:<br />
&#8220;Lines 4 and 5 set the maximum memory to be used (bytes) and the maximum CPU time consumed (seconds) by the &#8216;jeanette&#8217; mod-mono-server instance. After reaching the limit, the OS will kill mod-mono-server. A new instance should start automatically on the next request. (But, JT notes that these directives don&#8217;t work at all for him.)&#8221;</p>
<p>So it seems like others have problem with the MonoMaxMemory as well&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121/comment-page-1#comment-3006</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sun, 14 Feb 2010 23:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://sourcecodebean.com/?p=121#comment-3006</guid>
		<description>no today webservice called...  
and i dont reise maxmemory but limit it to 500MB

How can i limit memory SUM of all solutions to 500MB?</description>
		<content:encoded><![CDATA[<p>no today webservice called&#8230;<br />
and i dont reise maxmemory but limit it to 500MB</p>
<p>How can i limit memory SUM of all solutions to 500MB?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121/comment-page-1#comment-3004</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 14 Feb 2010 23:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://sourcecodebean.com/?p=121#comment-3004</guid>
		<description>Our problem originated in a WebService method that accepted an file upload as byte[]. On Windows using the .NET runtime this did not cause any problem - the memory got freed as supposed. But on Mono the memory allocated for the byte[] (the uploaded file) doesn&#039;t seem to be garbage collected, ever. 

Raising the MonoMaxMemory will only delay the problem, once you are out of memory you are out. I really hope the Mono team will adress this issue in the upcoming releases of Mono.</description>
		<content:encoded><![CDATA[<p>Our problem originated in a WebService method that accepted an file upload as byte[]. On Windows using the .NET runtime this did not cause any problem &#8211; the memory got freed as supposed. But on Mono the memory allocated for the byte[] (the uploaded file) doesn&#8217;t seem to be garbage collected, ever. </p>
<p>Raising the MonoMaxMemory will only delay the problem, once you are out of memory you are out. I really hope the Mono team will adress this issue in the upcoming releases of Mono.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121/comment-page-1#comment-3001</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sun, 14 Feb 2010 22:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://sourcecodebean.com/?p=121#comment-3001</guid>
		<description>I have same problem mono 2.6.1:

1.5GB and server stop responding....

ab -n 100 http://.....    =&gt; 1.5GB =&gt; stop responding

i use directive:
MonoMaxMemory 500000000

and problem solved, ab(apache benchamrk) dont reached 1.5GB... BUT next day server stop responding 2x time, and i must use hard reset... directive work only for one app ? (3x app = 1500GB?) .... this its very bad situation... any solution?

I add now MonoAutoRestartTime 00:01 ... :X</description>
		<content:encoded><![CDATA[<p>I have same problem mono 2.6.1:</p>
<p>1.5GB and server stop responding&#8230;.</p>
<p>ab -n 100 <a href="http://...." rel="nofollow">http://&#8230;.</a>.    =&gt; 1.5GB =&gt; stop responding</p>
<p>i use directive:<br />
MonoMaxMemory 500000000</p>
<p>and problem solved, ab(apache benchamrk) dont reached 1.5GB&#8230; BUT next day server stop responding 2x time, and i must use hard reset&#8230; directive work only for one app ? (3x app = 1500GB?) &#8230;. this its very bad situation&#8230; any solution?</p>
<p>I add now MonoAutoRestartTime 00:01 &#8230; :X</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: An update on the mono memory issue &#124; source code bean</title>
		<link>http://sourcecodebean.com/archives/mod-mono-server2-memory-consumption-problems/121/comment-page-1#comment-838</link>
		<dc:creator>An update on the mono memory issue &#124; source code bean</dc:creator>
		<pubDate>Wed, 13 May 2009 13:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://sourcecodebean.com/?p=121#comment-838</guid>
		<description>[...] workaround I tested out a few weeks ago did not really solve my problem – actually it made it worse. The autorestart caused mono to hang [...]</description>
		<content:encoded><![CDATA[<p>[...] workaround I tested out a few weeks ago did not really solve my problem – actually it made it worse. The autorestart caused mono to hang [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
