<?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: U_STACK_TRACE: Too many open files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169084#M161002</link>
    <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;It's for the user that is running the cobol/app engine programs. All the processes owned by that user will have the new "maxfiles" limit for the open files.&lt;BR /&gt;&lt;BR /&gt;If you increase maxfiles *kernel* parameter which needs a reboot, then they don't have to change it at their end which is what usually done.&lt;BR /&gt;&lt;BR /&gt;If you have 11i system, you can incrase maxfiles_lim (the hardlimit) dynamically. But the users still have to execute ulimit command to increase their maxfiles parameter.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Tue, 20 Jan 2004 17:22:12 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-01-20T17:22:12Z</dc:date>
    <item>
      <title>U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169077#M160995</link>
      <description>Hi,&lt;BR /&gt; While running some cobol/app engine programs and I'm getting the following error: U_STACK_TRACE: Too many open files&lt;BR /&gt;I've checked my kernel and these are the values of what I think it's files related:&lt;BR /&gt;maxfiles=60&lt;BR /&gt;maxfiles_lim=1042&lt;BR /&gt;nfiles=7142&lt;BR /&gt;Could one of these being set too low?&lt;BR /&gt;Please help!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Remy</description>
      <pubDate>Tue, 20 Jan 2004 16:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169077#M160995</guid>
      <dc:creator>Remy_1</dc:creator>
      <dc:date>2004-01-20T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169078#M160996</link>
      <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;You can check out nfile usage by &lt;BR /&gt;&lt;BR /&gt;sar -v 2 20&lt;BR /&gt;&lt;BR /&gt;Look at the last column that says file-sz. If the nominator (usage) is close to denominator (limit), then you will need to consider increasing that value. nfile is the total number of files you can open on the system.&lt;BR /&gt;&lt;BR /&gt;If the above is not true, then there is a good chance that maxfiles and|or maxfiles_lim have overflown. maxfiles is softlimit and it can be changed upto maxfiles_lim . These are per process limits. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 20 Jan 2004 16:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169078#M160996</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-20T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169079#M160997</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the fast reply.&lt;BR /&gt;I'm getting this for the command you recommended:&lt;BR /&gt;16:52:59   N/A   N/A 433/4116  0  2136/4540  0  3544/7422  0&lt;BR /&gt;and it looks like i'm only using half of the total.&lt;BR /&gt;Could it be something else?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Remy</description>
      <pubDate>Tue, 20 Jan 2004 16:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169079#M160997</guid>
      <dc:creator>Remy_1</dc:creator>
      <dc:date>2004-01-20T16:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169080#M160998</link>
      <description>"Too many open files" refers to EMFILE or errno 24. This is the per process maximum number of open file descriptors (maxfiles) as opposed to the system-wide number of files (nfiles). Increase maxfiles and your problems should be over unless you hard hit the hard limit (maxfiles_lim) , in which case, maxfiles_lim would also need increasing.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jan 2004 16:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169080#M160998</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-01-20T16:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169081#M160999</link>
      <description>Thank you all your help. I think my maxfiles and maxfiles_lim has to be increase.&lt;BR /&gt;Is there a limit I should stay within or can I just make up a high number to avoid this from happening again?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Remy</description>
      <pubDate>Tue, 20 Jan 2004 17:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169081#M160999</guid>
      <dc:creator>Remy_1</dc:creator>
      <dc:date>2004-01-20T17:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169082#M161000</link>
      <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;Then as I mentioned in the next paragraph, maxfiles (or maxfiles_lim if you are already setting your maxfiles to match maxfiles_lim). If you haven't done anything do the following.&lt;BR /&gt;&lt;BR /&gt;$sh&lt;BR /&gt;$ulimit -a&lt;BR /&gt;&lt;BR /&gt;(look at nofiles value)&lt;BR /&gt;$ulimit -n 1042&lt;BR /&gt;$ulimit -a&lt;BR /&gt;(verify nofiles value)&lt;BR /&gt;&lt;BR /&gt;If you start the processes from this shell, all the child processes will have 1042 limit. You can put it in your .profile so that everytime you login, you will get the new value.&lt;BR /&gt;&lt;BR /&gt;If this is not enough, increase the kernel parameters. Set maxfiles to 1024 and maxfiles_lim to 2048 though SAM. You will need to reboot the box.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jan 2004 17:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169082#M161000</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-20T17:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169083#M161001</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do I have to do it for all users or can I do it for root and it will export out to all users?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Remy</description>
      <pubDate>Tue, 20 Jan 2004 17:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169083#M161001</guid>
      <dc:creator>Remy_1</dc:creator>
      <dc:date>2004-01-20T17:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: U_STACK_TRACE: Too many open files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169084#M161002</link>
      <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;It's for the user that is running the cobol/app engine programs. All the processes owned by that user will have the new "maxfiles" limit for the open files.&lt;BR /&gt;&lt;BR /&gt;If you increase maxfiles *kernel* parameter which needs a reboot, then they don't have to change it at their end which is what usually done.&lt;BR /&gt;&lt;BR /&gt;If you have 11i system, you can incrase maxfiles_lim (the hardlimit) dynamically. But the users still have to execute ulimit command to increase their maxfiles parameter.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 20 Jan 2004 17:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/u-stack-trace-too-many-open-files/m-p/3169084#M161002</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-20T17:22:12Z</dc:date>
    </item>
  </channel>
</rss>

