<?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:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Linux increase the maximum number of open files or file descriptors</title>
	<atom:link href="http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/</link>
	<description>Every answer asks a more beautiful question.</description>
	<lastBuildDate>Sun, 21 Mar 2010 09:24:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Adam HP</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-46125</link>
		<dc:creator>Adam HP</dc:creator>
		<pubDate>Thu, 25 Feb 2010 09:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-46125</guid>
		<description>To clear up any confusion for increasing the limit on Red Hat 5.X systems:

# echo &quot;fs.file-max=70000&quot; &gt;&gt; /etc/sysctl.conf
# sysctl -p
# echo &quot;*                hard    nofile          65536&quot; &gt;&gt; /etc/security/limits.conf
# echo &quot;session    required     pam_limits.so&quot; &gt;&gt; /etc/pam.d/login
# ulimit -n -H
65536

In summary set your max file descriptors to a number higher than your hard security &#039;nofile&#039; limit to leave room for the OS to run.</description>
		<content:encoded><![CDATA[<p>To clear up any confusion for increasing the limit on Red Hat 5.X systems:</p>
<p># echo &#8220;fs.file-max=70000&#8243; &gt;&gt; /etc/sysctl.conf<br />
# sysctl -p<br />
# echo &#8220;*                hard    nofile          65536&#8243; &gt;&gt; /etc/security/limits.conf<br />
# echo &#8220;session    required     pam_limits.so&#8221; &gt;&gt; /etc/pam.d/login<br />
# ulimit -n -H<br />
65536</p>
<p>In summary set your max file descriptors to a number higher than your hard security &#8216;nofile&#8217; limit to leave room for the OS to run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hywl51</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-44351</link>
		<dc:creator>hywl51</dc:creator>
		<pubDate>Wed, 28 Oct 2009 05:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-44351</guid>
		<description>&quot;Use the following command command to display maximum number of open file descriptors:
cat /proc/sys/fs/file-max
Output:

75000

75000 files normal user can have open in single login session. &quot;

I think 75000 should mean the whole system can support 75000 open files at most , not for per user login.</description>
		<content:encoded><![CDATA[<p>&#8220;Use the following command command to display maximum number of open file descriptors:<br />
cat /proc/sys/fs/file-max<br />
Output:</p>
<p>75000</p>
<p>75000 files normal user can have open in single login session. &#8221;</p>
<p>I think 75000 should mean the whole system can support 75000 open files at most , not for per user login.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shankar</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-42144</link>
		<dc:creator>shankar</dc:creator>
		<pubDate>Fri, 19 Jun 2009 15:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-42144</guid>
		<description>you could use the following command to check if the given change reflected

#ulimit -n -H

that gives the hard value...</description>
		<content:encoded><![CDATA[<p>you could use the following command to check if the given change reflected</p>
<p>#ulimit -n -H</p>
<p>that gives the hard value&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arstan</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-37799</link>
		<dc:creator>Arstan</dc:creator>
		<pubDate>Wed, 23 Apr 2008 02:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-37799</guid>
		<description>I&#039;m trying to make 8192 on Ubuntu 7.10, adding 

*               soft    nofile            8192
*               hard    nofile          8192

doesn&#039;t work, but when i do change * to username(lets say root) it applies.

So how to change it system wide?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to make 8192 on Ubuntu 7.10, adding </p>
<p>*               soft    nofile            8192<br />
*               hard    nofile          8192</p>
<p>doesn&#8217;t work, but when i do change * to username(lets say root) it applies.</p>
<p>So how to change it system wide?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-37111</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Sat, 01 Dec 2007 01:54:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-37111</guid>
		<description>Red Hat configuration requires the following line to be added for /etc/security/limits to work.

in /etc/pam.d/login
session required pam_limits.so</description>
		<content:encoded><![CDATA[<p>Red Hat configuration requires the following line to be added for /etc/security/limits to work.</p>
<p>in /etc/pam.d/login<br />
session required pam_limits.so</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivek</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-36831</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Fri, 14 Sep 2007 04:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-36831</guid>
		<description>baka.tom / jason,

The FAQ has been updated for latest kernel. It should work now. Let me know if you have any more problems. 

bourne, thanks for pointing out user level or group level filelimit option. 

I appreciate all feedback.</description>
		<content:encoded><![CDATA[<p>baka.tom / jason,</p>
<p>The FAQ has been updated for latest kernel. It should work now. Let me know if you have any more problems. </p>
<p>bourne, thanks for pointing out user level or group level filelimit option. </p>
<p>I appreciate all feedback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-36826</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Thu, 13 Sep 2007 20:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-36826</guid>
		<description>I am running &quot;Red Hat Enterprise Linux ES release 4 (Nahant Update 5)&quot; and followed the instructions above. Like &quot;baka.tom&quot;, I was unable to see the change reflected by typing &quot;ulimit -n&quot;. I don&#039;t know if this is a problem, but it certainly reduces the credibility of this article (unless I screwed up, of course).</description>
		<content:encoded><![CDATA[<p>I am running &#8220;Red Hat Enterprise Linux ES release 4 (Nahant Update 5)&#8221; and followed the instructions above. Like &#8220;baka.tom&#8221;, I was unable to see the change reflected by typing &#8220;ulimit -n&#8221;. I don&#8217;t know if this is a problem, but it certainly reduces the credibility of this article (unless I screwed up, of course).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bourne</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-36822</link>
		<dc:creator>bourne</dc:creator>
		<pubDate>Thu, 13 Sep 2007 14:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-36822</guid>
		<description>/etc/sysctl.conf is good for the system-wide amount, but don&#039;t forget that users also need different limits.  See /etc/security/limits.conf (Debian, Redhat, SuSE all have it, probably most others as well) to assign specific limits on per-group, per-user, and default basises.</description>
		<content:encoded><![CDATA[<p>/etc/sysctl.conf is good for the system-wide amount, but don&#8217;t forget that users also need different limits.  See /etc/security/limits.conf (Debian, Redhat, SuSE all have it, probably most others as well) to assign specific limits on per-group, per-user, and default basises.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: baka.tom</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-36814</link>
		<dc:creator>baka.tom</dc:creator>
		<pubDate>Tue, 11 Sep 2007 23:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-36814</guid>
		<description>i tried this on a CentOS (which by the way, i&#039;ve decided the worst linux distribution ever), and it doesn&#039;t seem to work. ulimit -n still says 1024, even after logout, even after reboot.</description>
		<content:encoded><![CDATA[<p>i tried this on a CentOS (which by the way, i&#8217;ve decided the worst linux distribution ever), and it doesn&#8217;t seem to work. ulimit -n still says 1024, even after logout, even after reboot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathish A</title>
		<link>http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/comment-page-1/#comment-36776</link>
		<dc:creator>Sathish A</dc:creator>
		<pubDate>Tue, 28 Aug 2007 23:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-increase-the-maximum-number-of-open-files.php#comment-36776</guid>
		<description>how to increase in a Redhat linux server? How to find the location of sysctl.conf file or how to find in which file the limit has been set?

thanks in advance</description>
		<content:encoded><![CDATA[<p>how to increase in a Redhat linux server? How to find the location of sysctl.conf file or how to find in which file the limit has been set?</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.095 seconds -->
<!-- Cached page served by WP-Cache -->
