<?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: nfile parameter increasing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064889#M306489</link>
    <description>Thanks Mark for the suggestion, but sadly it's not going to be as simple as that (wish it was!).</description>
    <pubDate>Tue, 04 Sep 2007 08:29:05 GMT</pubDate>
    <dc:creator>Steven Richards</dc:creator>
    <dc:date>2007-09-04T08:29:05Z</dc:date>
    <item>
      <title>nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064885#M306485</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm looking for some help with regards to the nfile parameter on a HP-UX 11.11 server. I would like to understand what the "normal" behaviour is for this parameter.&lt;BR /&gt;&lt;BR /&gt;The server in question had the nfile parameter set to 10000 until about a 45 days or so ago. Our alerting picked up that the usage was getting high and we raised the figure to 30000. Our capacity people were able to show from data collected that after a certain date that the figure started to increase steadily. Since increasing the figure to 30000 we have been keeping an eye on the output from 'sar -v' and noticed that after the reboot for the parameter change it started at around 3500 and has steadily increased over 45 days to 11500. So it appears it will eventually (although not for a while) hit 30000 if this behaviour continues, is this normal? My feeling is that some part of the application running on the server is misbehaving with regards to nfile.&lt;BR /&gt;&lt;BR /&gt;Are there any tools for tracking what nfile is doing?&lt;BR /&gt;&lt;BR /&gt;Hope this makes sense, many thanks in advance for your help.&lt;BR /&gt;&lt;BR /&gt;Steve.</description>
      <pubDate>Tue, 04 Sep 2007 04:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064885#M306485</guid>
      <dc:creator>Steven Richards</dc:creator>
      <dc:date>2007-09-04T04:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064886#M306486</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;The nfile parameter simply defines the number of slots available in the file descriptor table  in the kernel.  When you run out of available slots, then you can't open any more files.  &lt;BR /&gt;&lt;BR /&gt;Now, normally, when a process completes, it should close all it's open files, thus releasing the file descriptor table entries for re-use.  If this number continues to increase, then you have some very poorly behaved applications that are not closing down properly!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Sep 2007 05:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064886#M306486</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-09-04T05:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064887#M306487</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. What you have described confirms my fears that the applciation is poorly written and is not releasing it's open files once it has finished. The problem now is trying to locate what excatly is doing this.&lt;BR /&gt;&lt;BR /&gt;I guess the next step is to log a call with HP and see if they have any tools so I can hand the app team some proof!?&lt;BR /&gt;&lt;BR /&gt;Many thanks, Steve.</description>
      <pubDate>Tue, 04 Sep 2007 05:50:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064887#M306487</guid>
      <dc:creator>Steven Richards</dc:creator>
      <dc:date>2007-09-04T05:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064888#M306488</link>
      <description>If you know what the app is, you could run a ps -ef|grep appname and check for multiple occurrences. I have known this to cause a problem with nfile.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 04 Sep 2007 07:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064888#M306488</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2007-09-04T07:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064889#M306489</link>
      <description>Thanks Mark for the suggestion, but sadly it's not going to be as simple as that (wish it was!).</description>
      <pubDate>Tue, 04 Sep 2007 08:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064889#M306489</guid>
      <dc:creator>Steven Richards</dc:creator>
      <dc:date>2007-09-04T08:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064890#M306490</link>
      <description>If you don't have it, you need to download and install the utility lsof.  This could help you pinpoint which process(es) are the culprits.&lt;BR /&gt;&lt;BR /&gt;lsof (list open files) can list a ton of information about processes, tcp/ip connections, etc.&lt;BR /&gt;&lt;BR /&gt;lsof can be obtained from:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.78/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.78/&lt;/A&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064890#M306490</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-09-04T08:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064891#M306491</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;I do believe we have lsof installed on our systems, although I have limited expertise in using it.&lt;BR /&gt;&lt;BR /&gt;Many thanks for the suggestion.&lt;BR /&gt;&lt;BR /&gt;Steve.</description>
      <pubDate>Tue, 04 Sep 2007 08:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064891#M306491</guid>
      <dc:creator>Steven Richards</dc:creator>
      <dc:date>2007-09-04T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064892#M306492</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Just type lsof and you'll see some common options and be able to track this.&lt;BR /&gt;&lt;BR /&gt;You might also find glance gui high water mark display might give you a picture of how close your system is to limits during the day.&lt;BR /&gt;&lt;BR /&gt;Commonly application issues can cause file handles to open and not be closed.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 04 Sep 2007 08:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064892#M306492</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-04T08:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064893#M306493</link>
      <description>One thing that you should be aware of with respect to the nfile tunable is that n open instances of the same file count as but one. This means that if 15 applications have the file "/etc/passwd" open, from the perspective of nfile the count is 1 not 15. Conversly, from the perspective of the per-process file limits (maxfiles, maxfiles_lim) each open file descriptor, whether or not the process has the same file open more than once, counts as 1.&lt;BR /&gt;&lt;BR /&gt;It's difficult to say whether or not your application is behaving normally. Some applications are smart enough to examine the limits and tune their behavior accordingly because repeated opening and closing of a file are (relatively) expensive operations.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2007 09:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064893#M306493</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-04T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064894#M306494</link>
      <description>this link will give you more explanation about the nfile parameter :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.Nfile.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.Nfile.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other kernel parameters :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html&lt;/A&gt;</description>
      <pubDate>Tue, 04 Sep 2007 09:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064894#M306494</guid>
      <dc:creator>tkc</dc:creator>
      <dc:date>2007-09-04T09:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064895#M306495</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;Thanks for the input much appreciated.&lt;BR /&gt;&lt;BR /&gt;It would seem I have enough info to start trying to diagnose if something is behaving badly or not. Our best guess is that the a change was made to the App on the date when we start to see the steady increase begin. I'm going to ask the App support team to try and pin point what they think happenned at that point. Interestingly there also seems to be a big increase over month end, so also suspect that an end of month batch processing job maybe the culprit.&lt;BR /&gt;&lt;BR /&gt;Cheers, Steve.</description>
      <pubDate>Tue, 04 Sep 2007 09:39:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064895#M306495</guid>
      <dc:creator>Steven Richards</dc:creator>
      <dc:date>2007-09-04T09:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: nfile parameter increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064896#M306496</link>
      <description>One thing to note is that a single process could only get you into nfile trouble if maxfiles and maxfiles_lim were very large. Otherwise the maxfiles_lim per-process limit would come into play long before the system-wide nfile limit ever did. As soon as this rogue process terminated, all of its file descriptors would be freed. From your description, you may have processes which never terminate and that is what is actually eating your files.</description>
      <pubDate>Tue, 04 Sep 2007 10:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-parameter-increasing/m-p/4064896#M306496</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-04T10:29:54Z</dc:date>
    </item>
  </channel>
</rss>

