- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to open buffer file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 12:22 PM
тАО07-02-2001 12:22 PM
Unable to open buffer file
"Unable to open buffer file"
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.
My current thoughts are the following kernel parameters: nbuf and/or bufpages
On this particular server these are set as follows: nbuf=389930 and bufpages=491520
I want to get off this and use dynamic buffer cache, but I need to come up with a reason why for management.
Any assistance would be greately appreciated.
p.s. This is a K460 running 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 12:48 PM
тАО07-02-2001 12:48 PM
Re: Unable to open buffer file
I am more inclined to belive that you are running out of system-wide file descriptors.
Do a sar -v 2 2 and look for overflows.
Normally, for pure database servers (I think ISQL is Informix), dynamic buffer cache is
not optimal. Hard setting it via bufpages
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.
My 2 cents, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 09:40 PM
тАО07-02-2001 09:40 PM
Re: Unable to open buffer file
this seems to happen if you run out of space on /tmp or /var/tmp.
Other possibility is that there was an old bufferfile left of another user, which the other user cannot overwrite.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 11:04 PM
тАО07-02-2001 11:04 PM
Re: Unable to open buffer file
1) check permissions on /tmp
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 10:42 PM
тАО07-05-2004 10:42 PM
Re: Unable to open buffer file
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.
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.
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.
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.