<?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 Unable to open buffer file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547875#M877284</link>
    <description>One of the DBA's is getting the following error message when running an 'isql' script:&lt;BR /&gt;&lt;BR /&gt;"Unable to open buffer file"&lt;BR /&gt;&lt;BR /&gt;The problem is random and occurs during different operations in the script. It only shows up every once in a while, which is making it more difficult to track down.&lt;BR /&gt;&lt;BR /&gt;My current thoughts are the following kernel parameters: nbuf and/or bufpages&lt;BR /&gt;&lt;BR /&gt;On this particular server these are set as follows: nbuf=389930 and bufpages=491520&lt;BR /&gt;&lt;BR /&gt;I want to get off this and use dynamic buffer cache, but I need to come up with a reason why for management.&lt;BR /&gt;&lt;BR /&gt;Any assistance would be greately appreciated.&lt;BR /&gt;&lt;BR /&gt;p.s. This is a K460 running 11.0</description>
    <pubDate>Mon, 02 Jul 2001 19:22:36 GMT</pubDate>
    <dc:creator>David Child_1</dc:creator>
    <dc:date>2001-07-02T19:22:36Z</dc:date>
    <item>
      <title>Unable to open buffer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547875#M877284</link>
      <description>One of the DBA's is getting the following error message when running an 'isql' script:&lt;BR /&gt;&lt;BR /&gt;"Unable to open buffer file"&lt;BR /&gt;&lt;BR /&gt;The problem is random and occurs during different operations in the script. It only shows up every once in a while, which is making it more difficult to track down.&lt;BR /&gt;&lt;BR /&gt;My current thoughts are the following kernel parameters: nbuf and/or bufpages&lt;BR /&gt;&lt;BR /&gt;On this particular server these are set as follows: nbuf=389930 and bufpages=491520&lt;BR /&gt;&lt;BR /&gt;I want to get off this and use dynamic buffer cache, but I need to come up with a reason why for management.&lt;BR /&gt;&lt;BR /&gt;Any assistance would be greately appreciated.&lt;BR /&gt;&lt;BR /&gt;p.s. This is a K460 running 11.0</description>
      <pubDate>Mon, 02 Jul 2001 19:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547875#M877284</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2001-07-02T19:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open buffer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547876#M877285</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;I am more inclined to belive that you are running out of system-wide file descriptors.&lt;BR /&gt;Do a sar -v 2 2 and look for overflows. &lt;BR /&gt;&lt;BR /&gt;Normally, for pure database servers (I think ISQL is Informix), dynamic buffer cache is &lt;BR /&gt;not optimal. Hard setting it via bufpages&lt;BR /&gt;leads to much less contention. In any event, a problem with buffers might lead to performance problems but not the ability to open a file.&lt;BR /&gt;&lt;BR /&gt;My 2 cents, Clay&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2001 19:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547876#M877285</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-02T19:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open buffer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547877#M877286</link>
      <description>Hi,&lt;BR /&gt;this seems to happen if you run out of space on /tmp or /var/tmp.&lt;BR /&gt;Other possibility is that there was an old bufferfile left of another user, which the other user cannot overwrite.&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Tue, 03 Jul 2001 04:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547877#M877286</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-07-03T04:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open buffer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547878#M877287</link>
      <description>hi,&lt;BR /&gt;1) check permissions on /tmp&lt;BR /&gt;2) look for db related files /tmp , if the appl. session is not properly closed, then you may get this error. try removing those files related with the db under /tmp.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jul 2001 06:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547878#M877287</guid>
      <dc:creator>neylan tokerler</dc:creator>
      <dc:date>2001-07-03T06:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open buffer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547879#M877288</link>
      <description>I've run into this error before running a batch job either in a unix shell, dec or microsoft batchjob. If its a unix cron I find it occours more often. &lt;BR /&gt;&lt;BR /&gt;The cause is simple contention over system resources between the database server software and the system calls being made via the shell or batch job. The errors will seem to be random but they will occour most often within a looping construct that makes heavy use of aggragate functions (like count or avg). You can configure your database to allow for a larger buffer but this does not always solve the problem, you can also increase the size of the partition the buffer uses this does not always solve the problem.&lt;BR /&gt;&lt;BR /&gt; I find what works everytime with these small random errors is time. Testing for this return error in a shell or batch job and then pause the job for a second or two. This will give the operating system and database software to catch up on housekeeping. After pausing for a second run the select statment again. Set a limit on how many times you try again, I like to try three times and have not had a fail yet. I also drop this out to an error log and check it from time to time to ensure I'm not running out of resources. &lt;BR /&gt;&lt;BR /&gt;  The only other option is to transfer the shell scripts or batch jobs to code, depending on the system either C, C++ or Ada all publish extensions/libs for both Sybase, Oracle and probably MicroSoft as well. Using a compiler will alow a complete testing and flushing of buffer space that you can't accomplish within a shell.&lt;BR /&gt;&lt;BR /&gt;  Know this post is old but thought I'd reply since I recall when I first encountered this error in 1997. Drove me crazy and no-one at tech support for Sybase could help. First encountered it in a HP Unix environment.</description>
      <pubDate>Tue, 06 Jul 2004 05:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-open-buffer-file/m-p/2547879#M877288</guid>
      <dc:creator>terryshawaii.rr.com</dc:creator>
      <dc:date>2004-07-06T05:42:52Z</dc:date>
    </item>
  </channel>
</rss>

