<?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: ninode kernel parameter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110308#M313110</link>
    <description>What value is the vendor recommending you to increase nofiles to with "ulimit -n"?  Will you be using that value for the new maxfiles setting when you rebuild your kernel?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
    <pubDate>Fri, 30 Nov 2007 12:51:57 GMT</pubDate>
    <dc:creator>Dave Olker</dc:creator>
    <dc:date>2007-11-30T12:51:57Z</dc:date>
    <item>
      <title>ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110301#M313103</link>
      <description>I've a piece of software installed that occasionally (approx. once every 7-10 days) reports that a file isn't open after a call was made to open it.  Uses it's own error message numbers, not std UNIX error code(s).&lt;BR /&gt;&lt;BR /&gt;Looking at the usual suspects in system tables (nproc, nfile, flock, maxfiles, maxfiles_lim) and all are less than 40% used.  However ninode maxes out (current 7120).  &lt;BR /&gt;&lt;BR /&gt;In looking at the man pages for fopen and open, I don't see anything that specifically states that hitting the max on ninode will cause issues.  OS is 11.0 btw&lt;BR /&gt;&lt;BR /&gt;Can anybody confirm (or deny) this?&lt;BR /&gt;&lt;BR /&gt;Thx...scott</description>
      <pubDate>Fri, 30 Nov 2007 11:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110301#M313103</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-11-30T11:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110302#M313104</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;ninode, as you may already know, sizes (among other things) the HFS inode table.  Are you using HFS filesystems on your 11.0 system?  Does your application open lots of files in the HFS filesystem?  Do you see any messages in the dmesg or syslog.log output indicating "file table full"?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 30 Nov 2007 11:49:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110302#M313104</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-11-30T11:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110303#M313105</link>
      <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;only HFS filesystem is /stand, everything else is vxfs...&lt;BR /&gt;&lt;BR /&gt;wasn't aware of the relationship you noted between HFS and ninode.  do see it described as "inode cache" and associated w/ the number of open inodes.&lt;BR /&gt;&lt;BR /&gt;we know when the last one of these events occurred (yesterday afternoon) and there is nothing reported by dmesg or showing in syslog that is of interest.&lt;BR /&gt;&lt;BR /&gt;"maxfiles" is set kinda low, but I didn't think a "soft" limit would cause issues...you would be ok until you hit "maxfiles_lim".  Am I mistaken?</description>
      <pubDate>Fri, 30 Nov 2007 12:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110303#M313105</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-11-30T12:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110304#M313106</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;So you're not using HFS, which means ninode is likely not the culprit.  If you're using VxFS filesystems then that inode table is sized by different tunables, and the defaults set by the kernel are based on the amount of physical memory in your system, and they tend to be sized on the high side, which means I doubt you're running out of VxFS inodes.&lt;BR /&gt;&lt;BR /&gt;The maxfiles limit could be responsible for the application issue, though your application vendor should be able to tell you definitively what would cause the problem you're seeing.&lt;BR /&gt;&lt;BR /&gt;How do you have maxfiles and maxfiles_lim set currently?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 30 Nov 2007 12:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110304#M313106</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-11-30T12:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110305#M313107</link>
      <description>if ninode ( Max Number of Open Inodes) are maxing out the program properly is claming a inode and is not closing it again, I read in the other replays that ninode is only for hfs I din't know that but if that is the case please look ad bdf -i /stand. &lt;BR /&gt;maybe the program is creating a lot of files (7120?) in stand&lt;BR /&gt;normaly iused is not match bigger than 50</description>
      <pubDate>Fri, 30 Nov 2007 12:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110305#M313107</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2007-11-30T12:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110306#M313108</link>
      <description>Hi Scott:&lt;BR /&gt;&lt;BR /&gt;To add to Dave's comments regarding HFS filesystems and 'ninode' see this execellent &lt;BR /&gt;whitepaper:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/7779/commonMisconfig.pdf" target="_blank"&gt;http://docs.hp.com/en/7779/commonMisconfig.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 30 Nov 2007 12:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110306#M313108</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-11-30T12:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110307#M313109</link>
      <description>maxfiles and maxfiles_lim are set at 90 / 1024 respectively.&lt;BR /&gt;&lt;BR /&gt;The app. vendor wasn't real helpful...they suggested "run ulimit -a" and "change the "nofiles" entry, That's usually the problem."  &lt;BR /&gt;&lt;BR /&gt;Of course, he also kept referring to "file handles" and didn't seem to grasp the concept of "transactions" either.&lt;BR /&gt;&lt;BR /&gt;I'm going to bump both of the above up as soon as I can get scheduled downtime.&lt;BR /&gt;&lt;BR /&gt;I just wasn't sure as the the impact of ninode.  From your replies, and the doc pointed out by JRF, this doesn't appear to be the issue..</description>
      <pubDate>Fri, 30 Nov 2007 12:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110307#M313109</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-11-30T12:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110308#M313110</link>
      <description>What value is the vendor recommending you to increase nofiles to with "ulimit -n"?  Will you be using that value for the new maxfiles setting when you rebuild your kernel?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 30 Nov 2007 12:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110308#M313110</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-11-30T12:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110309#M313111</link>
      <description>that's just it...they have no recommendation other than "that's probably the problem" and "make it bigger".  They didn't even bother to ask what they were currently set to.  &lt;BR /&gt;&lt;BR /&gt;I'd like to go into this w/ at least an idea of what's what.&lt;BR /&gt;&lt;BR /&gt;I've been watching nfile and such w/ glance, and their highwater mark (so far) is less than 40%.  To me, the system wide stuff seems not to be an issue.&lt;BR /&gt;&lt;BR /&gt;I've yet to find a method to follow the "per user" limits...and as they app doesn't report anything other than their own error codes, I've nothing to base a fix on.&lt;BR /&gt;&lt;BR /&gt;I should have mentioned, the file that fails to open is basically a read only file, it already exists, so its not a disk space issue...&lt;BR /&gt;&lt;BR /&gt;would be really nice is the app returned something like [EMFILE] or [ENFILE].  I guess something that provides a useful clue is a bit much to ask for however</description>
      <pubDate>Fri, 30 Nov 2007 13:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110309#M313111</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-11-30T13:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110310#M313112</link>
      <description>Well..... if you really want to investigate why the problem is happening and collect some concrete evidence before you rebuild the kernel with a higher maxfiles setting, you could use tusc to attach to the application process and trace the system calls.  When the problem occurs you would look at the tusc output and see if the application failed because it called open() or fopen() or some other system call and it failed because the process hit the maxfiles limit.&lt;BR /&gt;&lt;BR /&gt;Unfortunately it sounds like this problem occurs very intermittently so you'd end up with tusc attached to your application for quite a while, which would generate a pretty sizable log file while you wait for the problem to happen.&lt;BR /&gt;&lt;BR /&gt;Now, if you had a way to force the application to duplicate the behavior then collecting a tusc trace would be ideal.  Even if the application won't return a standard error code, tusc will show you which system call is failing and why.&lt;BR /&gt;&lt;BR /&gt;Just a thought...&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 30 Nov 2007 13:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110310#M313112</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-11-30T13:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110311#M313113</link>
      <description>its worse than you think...each user runs an instance of applicationA.  AppA calls AppB.  AppB is the one failing.  100's of users a day...each of whom may (or may not) experience the issue.  &lt;BR /&gt;&lt;BR /&gt;I've not been able to rule out things like "nfiles" either...I just haven't seen that one exceed 37% at highwater (yet). &lt;BR /&gt;&lt;BR /&gt;of course, their is always the possibilty that AppB has other problem and is just reporting it didn't open the file&lt;BR /&gt;&lt;BR /&gt;Thanks for all the input.&lt;BR /&gt;&lt;BR /&gt;scott</description>
      <pubDate>Fri, 30 Nov 2007 13:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110311#M313113</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-11-30T13:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: ninode kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110312#M313114</link>
      <description>ok, the original question was about ninode parameter.&lt;BR /&gt;&lt;BR /&gt;responses indicate that is not the issue here, so I'm going to close this.&lt;BR /&gt;&lt;BR /&gt;thanks to all for the help</description>
      <pubDate>Fri, 30 Nov 2007 14:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ninode-kernel-parameter/m-p/4110312#M313114</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-11-30T14:00:20Z</dc:date>
    </item>
  </channel>
</rss>

