<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can you tell your current File-Max? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849521#M24863</link>
    <description>NOTE that you can set limits globally (user=*) and per user:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rac2node1 ## grep -e '^[^#]' /etc/security/limits.conf   &lt;BR /&gt;... oracle               soft      nproc      4000&lt;BR /&gt;... oracle               hard      nproc      20000&lt;BR /&gt;... oracle               soft      nofile     4000&lt;BR /&gt;... oracle               hard      nofile     63000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When you log in, the settings are set to the soft limit first.&lt;BR /&gt;&lt;BR /&gt;*Then*, you can bump the particular limit up (max= hard limit), which may be and usually is done in the .{bash}_profile.&lt;BR /&gt;&lt;BR /&gt;NOTE that a NON-root user can only bump it *up* once, but that he can bump it down as often as desired.&lt;BR /&gt;&lt;BR /&gt;::::&lt;BR /&gt;&lt;BR /&gt;rac2node1 ## su - oracle&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -a&lt;BR /&gt;... ...&lt;BR /&gt;... open files                    (-n) 4000&lt;BR /&gt;... max user processes            (-u) 4000&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 63001&lt;BR /&gt;... -bash: ulimit: open files: cannot modify limit: Operation not permitted&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 63000&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n &lt;BR /&gt;... 63000&lt;BR /&gt;rac2node1  $ ulimit -n 8888&lt;BR /&gt;rac2node1 $$ ulimit -n&lt;BR /&gt;... open files                    (-n) 8888&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 9999&lt;BR /&gt;... -bash: ulimit: open files: cannot modify limit: Operation not permitted&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 7777&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 6666&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n&lt;BR /&gt;... 6666&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;bv&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Aug 2006 07:59:50 GMT</pubDate>
    <dc:creator>Bob_Vance</dc:creator>
    <dc:date>2006-08-25T07:59:50Z</dc:date>
    <item>
      <title>How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849513#M24855</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How do you tell what's your file-max setting?  I've been doing this;&lt;BR /&gt;ulimit -a user&lt;BR /&gt;And I look for open files&lt;BR /&gt;Is ulimit and file-max are the same thing?&lt;BR /&gt;&lt;BR /&gt;The default value of open files is 1024.  No matter what I tried, the new value doesn't stick  and goes right back in the default value 1024.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jorge</description>
      <pubDate>Thu, 24 Aug 2006 01:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849513#M24855</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-08-24T01:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849514#M24856</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;ulimit displays soft limits that can be changed in the user profile. Some products will object but you can go with unlimited if you wish.&lt;BR /&gt;&lt;BR /&gt;There is also a hard limit in the kernel, which is stored in /proc virtual filesystems.&lt;BR /&gt;&lt;BR /&gt;To avoid limitations, you should change both.&lt;BR /&gt;&lt;BR /&gt;Summary: Not the same thing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 24 Aug 2006 03:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849514#M24856</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-24T03:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849515#M24857</link>
      <description>Hi Jorge,&lt;BR /&gt;&lt;BR /&gt;If you are running linux, then the limits can be set in the file ---&lt;BR /&gt;&lt;BR /&gt;/etc/security/limits.conf&lt;BR /&gt;&lt;BR /&gt;and also you will have to use "pam_limits" module.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Atul</description>
      <pubDate>Thu, 24 Aug 2006 05:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849515#M24857</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-08-24T05:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849516#M24858</link>
      <description>And yes Jorge......&lt;BR /&gt;&lt;BR /&gt;as SEP has suggested...the values should not be the same..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Atul</description>
      <pubDate>Thu, 24 Aug 2006 06:21:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849516#M24858</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-08-24T06:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849517#M24859</link>
      <description>And yes Jorge......&lt;BR /&gt;&lt;BR /&gt;as SEP has suggested...the values should not be the same..&lt;BR /&gt;&lt;BR /&gt;And the file /etc/security/limits.conf will itself provide with enough information.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Atul</description>
      <pubDate>Thu, 24 Aug 2006 06:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849517#M24859</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-08-24T06:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849518#M24860</link>
      <description>And yes Jorge......&lt;BR /&gt;&lt;BR /&gt;as SEP has suggested...the values should not be the same..&lt;BR /&gt;&lt;BR /&gt;And the file /etc/security/limits.conf will itself provide you with enough information for setting up these options.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Atul</description>
      <pubDate>Thu, 24 Aug 2006 06:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849518#M24860</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-08-24T06:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849519#M24861</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I tried setting that up from the /etc/security/limits.conf -- After I made the changes to the limits.conf, I also manually made changes to the user, and here's the command that I used:&lt;BR /&gt;su - user&lt;BR /&gt;ulimit -n 65536 user&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As soon as I exit and log back in and display the ulimit of that user, I still see the open files set at 1024.&lt;BR /&gt;&lt;BR /&gt;The setting doesn't stick.&lt;BR /&gt;&lt;BR /&gt;Where else should I look for?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;J</description>
      <pubDate>Thu, 24 Aug 2006 09:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849519#M24861</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-08-24T09:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849520#M24862</link>
      <description>there are two different limits:&lt;BR /&gt;&lt;BR /&gt;1) system-wide limits. You can see/set them under /proc or using sysctl (/etc/sysctl.conf) interface&lt;BR /&gt;&lt;BR /&gt;2) user limits - "ulimit" and /etc/security/limits.conf.&lt;BR /&gt;Under limits.conf you can set soft and hard limits. Regular user can increase his limit up to his hard limit.&lt;BR /&gt;&lt;BR /&gt;In RH linux, for example, default  for max open files 1) limit is 1024 and for 2) is 50978.&lt;BR /&gt;&lt;BR /&gt;You, probably, want to increase "per user" limit - so edit /etc/security/limits.conf and ask use to relogin - you'll see new value in "ulimit".&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
      <pubDate>Thu, 24 Aug 2006 09:42:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849520#M24862</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-08-24T09:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can you tell your current File-Max?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849521#M24863</link>
      <description>NOTE that you can set limits globally (user=*) and per user:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rac2node1 ## grep -e '^[^#]' /etc/security/limits.conf   &lt;BR /&gt;... oracle               soft      nproc      4000&lt;BR /&gt;... oracle               hard      nproc      20000&lt;BR /&gt;... oracle               soft      nofile     4000&lt;BR /&gt;... oracle               hard      nofile     63000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When you log in, the settings are set to the soft limit first.&lt;BR /&gt;&lt;BR /&gt;*Then*, you can bump the particular limit up (max= hard limit), which may be and usually is done in the .{bash}_profile.&lt;BR /&gt;&lt;BR /&gt;NOTE that a NON-root user can only bump it *up* once, but that he can bump it down as often as desired.&lt;BR /&gt;&lt;BR /&gt;::::&lt;BR /&gt;&lt;BR /&gt;rac2node1 ## su - oracle&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -a&lt;BR /&gt;... ...&lt;BR /&gt;... open files                    (-n) 4000&lt;BR /&gt;... max user processes            (-u) 4000&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 63001&lt;BR /&gt;... -bash: ulimit: open files: cannot modify limit: Operation not permitted&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 63000&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n &lt;BR /&gt;... 63000&lt;BR /&gt;rac2node1  $ ulimit -n 8888&lt;BR /&gt;rac2node1 $$ ulimit -n&lt;BR /&gt;... open files                    (-n) 8888&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 9999&lt;BR /&gt;... -bash: ulimit: open files: cannot modify limit: Operation not permitted&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 7777&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n 6666&lt;BR /&gt;&lt;BR /&gt;rac2node1 $$ ulimit -n&lt;BR /&gt;... 6666&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;bv&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 07:59:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-you-tell-your-current-file-max/m-p/3849521#M24863</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2006-08-25T07:59:50Z</dc:date>
    </item>
  </channel>
</rss>

