<?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: Reduce Stack Limit for Multi-Thread Apps</title>
	<atom:link href="http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/</link>
	<description>Hosting Websites on Bare Minimum VPS/Dedicated Servers</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:48:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Keith</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-45186</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Sun, 11 Sep 2011 23:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-45186</guid>
		<description>I insert ulimit -s 128 into /etc/init.d/rc using Debian Squeeze.</description>
		<content:encoded><![CDATA[<p>I insert ulimit -s 128 into /etc/init.d/rc using Debian Squeeze.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yomero</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-45176</link>
		<dc:creator>Yomero</dc:creator>
		<pubDate>Sun, 11 Sep 2011 22:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-45176</guid>
		<description>I guess he talks about


/etc/init.d/rc

or

/etc/init.d/rc.local


But I am not sure. What I normally do, is to put that line &quot;ulimit -s 128&quot; almost at the start of an init script. In the example of this post, can be /etc/init.d/pdnsd</description>
		<content:encoded><![CDATA[<p>I guess he talks about</p>
<p>/etc/init.d/rc</p>
<p>or</p>
<p>/etc/init.d/rc.local</p>
<p>But I am not sure. What I normally do, is to put that line &#8220;ulimit -s 128&#8243; almost at the start of an init script. In the example of this post, can be /etc/init.d/pdnsd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: collaborando</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-45172</link>
		<dc:creator>collaborando</dc:creator>
		<pubDate>Sun, 11 Sep 2011 21:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-45172</guid>
		<description>In which RC file do I need to add limit? 
or in /etc/security/limits.conf?

I have Centos 6 on OpenVz.</description>
		<content:encoded><![CDATA[<p>In which RC file do I need to add limit?<br />
or in /etc/security/limits.conf?</p>
<p>I have Centos 6 on OpenVz.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-28326</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Mon, 18 Apr 2011 08:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-28326</guid>
		<description>As well as changing the rc file I also add to /etc/security/limits.conf just before the end.
&lt;pre&gt;
root            -       stack           256
*               -       stack           256
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>As well as changing the rc file I also add to /etc/security/limits.conf just before the end.</p>
<pre>
root            -       stack           256
*               -       stack           256
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joes Stuff &#187; Archive &#187; OpenVZ Memory Usage</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-2874</link>
		<dc:creator>Joes Stuff &#187; Archive &#187; OpenVZ Memory Usage</dc:creator>
		<pubDate>Mon, 28 Dec 2009 21:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-2874</guid>
		<description>[...] screenshots from before, but after reading a post on LowEndBox about OpenVZ&#8217;s memory usage (http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/), and then running the command he posted&#8230; My VPS&#8217;s memory usage seems to have dropped [...]</description>
		<content:encoded><![CDATA[<p>[...] screenshots from before, but after reading a post on LowEndBox about OpenVZ&#8217;s memory usage (<a href="http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/" rel="nofollow">http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/</a>), and then running the command he posted&#8230; My VPS&#8217;s memory usage seems to have dropped [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LowEndAdmin</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-2499</link>
		<dc:creator>LowEndAdmin</dc:creator>
		<pubDate>Sat, 05 Dec 2009 21:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-2499</guid>
		<description>Well it is not entirely true. OpenVZ counts how much you allocated, but VSZ is a lot more than how much each process allocates. For example shared memory -- that&#039;s why for Apache it looks big, but not necessarily a lot are through memory allocation -- much are in fact shared between processes, reported multiple times with ps, but only counted once on OpenVZ.</description>
		<content:encoded><![CDATA[<p>Well it is not entirely true. OpenVZ counts how much you allocated, but VSZ is a lot more than how much each process allocates. For example shared memory &#8212; that&#8217;s why for Apache it looks big, but not necessarily a lot are through memory allocation &#8212; much are in fact shared between processes, reported multiple times with ps, but only counted once on OpenVZ.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cling[y]</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-2497</link>
		<dc:creator>cling[y]</dc:creator>
		<pubDate>Sat, 05 Dec 2009 17:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-2497</guid>
		<description>Thanks, I didn&#039;t know OpenVZ monitored VSZ instead of RSS...since my VPS has 512MB I figured I&#039;d go with apache, currently there are 6 Apache processes each taking about 4MB RSS, no big deal I thought, but VSZ they each have about 21MB, that&#039;s about 125MB which is a big deal...</description>
		<content:encoded><![CDATA[<p>Thanks, I didn&#8217;t know OpenVZ monitored VSZ instead of RSS&#8230;since my VPS has 512MB I figured I&#8217;d go with apache, currently there are 6 Apache processes each taking about 4MB RSS, no big deal I thought, but VSZ they each have about 21MB, that&#8217;s about 125MB which is a big deal&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: InsDel</title>
		<link>http://www.lowendbox.com/blog/reduce-stack-limit-for-multi-thread-apps/#comment-2492</link>
		<dc:creator>InsDel</dc:creator>
		<pubDate>Sat, 05 Dec 2009 13:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/?p=546#comment-2492</guid>
		<description>Thanks! My memory usage went from 101MB to 58MB :D</description>
		<content:encoded><![CDATA[<p>Thanks! My memory usage went from 101MB to 58MB :D</p>
]]></content:encoded>
	</item>
</channel>
</rss>

