<?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: Kernel parameter Maxfiles_lim in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114629#M313779</link>
    <description>You should get a warning message (actually a failed system call) when the process exceeds maxfiles. The process can then request to increase the allowed per-process number of files upto maxfiles_lim. When that limit is reached, an open() system call again fails. &lt;BR /&gt;&lt;BR /&gt;How a process handles a failed open() is strictly up to the developer. I've seen code that blindly assumes everything works and goes on trying to read and write from/to a bogus file descriptor.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It would really helped if you identified the source of these messages. You should also note that just because there is a message that says "open Files = 4115" that does not necessarily mean that 4115 files are open. That message means precisely what the developer coded and no more and no less. It could mean that you drank 4115 bottles of Coca-cola this year.&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Dec 2007 04:56:28 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-12-11T04:56:28Z</dc:date>
    <item>
      <title>Kernel parameter Maxfiles_lim</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114626#M313776</link>
      <description>Hi Friends,&lt;BR /&gt;&lt;BR /&gt;We  have a process on one our node  that has a large number open files, but there are no warning messages in /var/opt/messages. &lt;BR /&gt;&lt;BR /&gt;I have increased maxfiles_lim size to 1024 .&lt;BR /&gt;&lt;BR /&gt;After increasing the kernel parameter still i m getting the following without having any warnings :&lt;BR /&gt;&lt;BR /&gt;TimeStamp = 2007-12-05:16:27:27     Pid = 2573     Open Files = 4115&lt;BR /&gt;TimeStamp = 2007-12-05:16:27:27          3104 2573 FIFO&lt;BR /&gt;TimeStamp = 2007-12-05:16:27:27           997 2573 REG&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Mridul</description>
      <pubDate>Tue, 11 Dec 2007 04:12:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114626#M313776</guid>
      <dc:creator>Mridul Dutta</dc:creator>
      <dc:date>2007-12-11T04:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameter Maxfiles_lim</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114627#M313777</link>
      <description>There are 3 limits in play and you have changed only one.&lt;BR /&gt;&lt;BR /&gt;1) NFILE --- the system-wide number of open files NOTE: 3 processes having /etc/passwd open count as 1 file for this parameter.&lt;BR /&gt;&lt;BR /&gt;2) maxfiles -- the per-process maximum number of files soft limit. In this case, the same process having /etc/passwd open 3 times counts as 3.&lt;BR /&gt;&lt;BR /&gt;3) maxfiles_lim -- the per-process maxnumber of files hard limit. The files are counted the same as for maxfiles. A process with proper permissions can increase the number of open files from the soft limit upto the hard limit.&lt;BR /&gt;&lt;BR /&gt;I really don't see a question in what you have posted but normally nfile &amp;gt;&amp;gt; maxfiles_lim so 4115 system-wide open files is not unusual at all.</description>
      <pubDate>Tue, 11 Dec 2007 04:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114627#M313777</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-12-11T04:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameter Maxfiles_lim</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114628#M313778</link>
      <description>As i have changed maxfiles_lim to 1024 but still it showing more then 4000 file opening without any warning messagese. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;should i changed all three parameter to get a warning messages when it crossed 1024 limit.</description>
      <pubDate>Tue, 11 Dec 2007 04:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114628#M313778</guid>
      <dc:creator>Mridul Dutta</dc:creator>
      <dc:date>2007-12-11T04:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameter Maxfiles_lim</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114629#M313779</link>
      <description>You should get a warning message (actually a failed system call) when the process exceeds maxfiles. The process can then request to increase the allowed per-process number of files upto maxfiles_lim. When that limit is reached, an open() system call again fails. &lt;BR /&gt;&lt;BR /&gt;How a process handles a failed open() is strictly up to the developer. I've seen code that blindly assumes everything works and goes on trying to read and write from/to a bogus file descriptor.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It would really helped if you identified the source of these messages. You should also note that just because there is a message that says "open Files = 4115" that does not necessarily mean that 4115 files are open. That message means precisely what the developer coded and no more and no less. It could mean that you drank 4115 bottles of Coca-cola this year.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Dec 2007 04:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114629#M313779</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-12-11T04:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameter Maxfiles_lim</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114630#M313780</link>
      <description>Is this process running with root privileges? If so, I don't think these limits are applicable to root.</description>
      <pubDate>Tue, 11 Dec 2007 04:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114630#M313780</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2007-12-11T04:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel parameter Maxfiles_lim</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114631#M313781</link>
      <description>processes are not running by root</description>
      <pubDate>Tue, 11 Dec 2007 05:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-maxfiles-lim/m-p/4114631#M313781</guid>
      <dc:creator>Mridul Dutta</dc:creator>
      <dc:date>2007-12-11T05:03:17Z</dc:date>
    </item>
  </channel>
</rss>

