<?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: strange maxfiles problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306367#M338698</link>
    <description>Ok, I get that, so then my question is.&lt;BR /&gt;&lt;BR /&gt;if maxfiles_lim is the hard limit and its 4096.&lt;BR /&gt;&lt;BR /&gt;why kcusage shows 61151 on maxfiles_limit ?&lt;BR /&gt;&lt;BR /&gt;[root@sdp:~]# kcusage&lt;BR /&gt;maxfiles_lim 61151 / 4096&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 15 Nov 2008 11:36:39 GMT</pubDate>
    <dc:creator>likid0</dc:creator>
    <dc:date>2008-11-15T11:36:39Z</dc:date>
    <item>
      <title>strange maxfiles problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306363#M338694</link>
      <description>Hy,&lt;BR /&gt;&lt;BR /&gt;There is a bug in oracle RAC, with a process that opens loads of files, in my case 61189, I increased the nfiles to 90000, because i was getting the Table is full, message in syslog&lt;BR /&gt;&lt;BR /&gt;[root@sdp:/tmp]# lsof G 2344 | wc -l&lt;BR /&gt;61189&lt;BR /&gt;&lt;BR /&gt;The thing is .. that I haven't increased the maxfiles and the database is working with no problem.&lt;BR /&gt;&lt;BR /&gt;Does it make any sense?, shouldn't the system stop oracle from opening more than 2048 file descriptors?&lt;BR /&gt;&lt;BR /&gt;[root@sdp:~]#   kcusage                                                                              &lt;BR /&gt;maxfiles_lim            61151 / 4096&lt;BR /&gt;nfile                   65635 / 90000&lt;BR /&gt;&lt;BR /&gt;[root@sdp:~]# kctune G  maxfiles          &lt;BR /&gt;maxfiles                         2048  Default&lt;BR /&gt;maxfiles_lim                     4096  Default     Immed&lt;BR /&gt;&lt;BR /&gt;sdp@oracle:&amp;gt;ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        131072&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 2048&lt;BR /&gt;&lt;BR /&gt;:?&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2008 13:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306363#M338694</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2008-11-14T13:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: strange maxfiles problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306364#M338695</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The 'maxfiles' paramters is a *per-process* file descriptor limitation.  It is 'nfile' that sets the overall, system fence.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 14 Nov 2008 13:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306364#M338695</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-11-14T13:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: strange maxfiles problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306365#M338696</link>
      <description>Yes but as you can see, its one process(2344), that has all the files open:&lt;BR /&gt;&lt;BR /&gt;[root@sdp:/tmp]# lsof -p 2344 | wc -l&lt;BR /&gt;61189&lt;BR /&gt;&lt;BR /&gt;the process is from oracle,and the maxfiles per process is 2048.&lt;BR /&gt;&lt;BR /&gt;you can see maxfiles in kcusage is way over the top:&lt;BR /&gt;&lt;BR /&gt;[root@sdp:~]# kcusage&lt;BR /&gt;maxfiles_lim 61151 / 4096&lt;BR /&gt;&lt;BR /&gt;thnx&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2008 17:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306365#M338696</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2008-11-14T17:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: strange maxfiles problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306366#M338697</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;The "soft limit" for open files per process is governed by 'maxfiles'.  Processes can increase this up to the "hard limit" set by 'maxfiles_lim'.&lt;BR /&gt;&lt;BR /&gt;The 'maxfiles_lim' is a dynamic tunable as your data shows.&lt;BR /&gt;&lt;BR /&gt;As an aside, counting open files with 'lsof' as you did, may suggest too large an open count.  You undoubtedly have memory-mapped files represented and it is possible to mmap() a file after opening it and then close the descriptor.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 14 Nov 2008 19:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306366#M338697</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-11-14T19:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: strange maxfiles problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306367#M338698</link>
      <description>Ok, I get that, so then my question is.&lt;BR /&gt;&lt;BR /&gt;if maxfiles_lim is the hard limit and its 4096.&lt;BR /&gt;&lt;BR /&gt;why kcusage shows 61151 on maxfiles_limit ?&lt;BR /&gt;&lt;BR /&gt;[root@sdp:~]# kcusage&lt;BR /&gt;maxfiles_lim 61151 / 4096&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 15 Nov 2008 11:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306367#M338698</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2008-11-15T11:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: strange maxfiles problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306368#M338699</link>
      <description>&amp;gt;why kcusage shows 61151 on maxfiles_limit?&lt;BR /&gt;&lt;BR /&gt;Perhaps kcusage(1m) is making the same mistake as lsof?</description>
      <pubDate>Sat, 15 Nov 2008 13:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-maxfiles-problem/m-p/4306368#M338699</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-15T13:33:26Z</dc:date>
    </item>
  </channel>
</rss>

