- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Issue w/ AAA*.TMP files blowing disk space
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
тАО03-04-2003 08:54 AM
тАО03-04-2003 08:54 AM
Issue w/ AAA*.TMP files blowing disk space
The problem is this: extremely large temp files (AAA*.TMP) get created on disk (/tmp or /var/tmp) when a user executes a large or global sql query on a large table. This temp file gets created about 4-5 minutes into the query and continues to grow until it gobbles up the entire 1gb of space I have available on /tmp; when disk capacity is reached the form returns to the user presenting the rows of data that it was able to successfully fetch and it produces an error "FRM-40900: Unable to allocate record buffer". Forms buffers a number of records per block in memory and then when this area is full buffers it to disk; which is why the temp file isn't created immediately.
I clean out this directory every night, but am still running into the issue during the day. My DBA has a TAR open with Oracle, but isn't expecting much back. My forms developers are trying to block global queries, but large queries are producing the same results so I am trying to find a solution. I tried increasing dbc_max_pct from 20 to 50 but this doesn't seem to make a difference. I have 3gb of memory on the system, but am low on free disk space so am unable to allocate any more to /tmp for these files.
Any ideas as to how to handle/manage/solve this problem??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 09:49 AM
тАО03-04-2003 09:49 AM
Re: Issue w/ AAA*.TMP files blowing disk space
You might try setting the TMPDIR variable to a filesystem name that you dedicate to temporary files. Try seting and exporting TMPDIR during Oracle's startup. The effect will be to create temporary files in the filesystem of your choice rather than '/var/tmp' or '/tmp'. See the man pages for 'mktemp(1)' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 10:25 AM
тАО03-04-2003 10:25 AM
Re: Issue w/ AAA*.TMP files blowing disk space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 10:43 AM
тАО03-04-2003 10:43 AM
Re: Issue w/ AAA*.TMP files blowing disk space
You can relocate cache and temporary files from /tmp to mounted filesystems.
Check this line.
REPORTS60_WEBLOC=/webcache; export REPORTS60_WEBLOC
Consider reolocategn it to a mounted fs with more space.
If your report is triggered by say a button in forms, check the forms60_server script for location of temporary files.
Oracle likes to store temporary output to disk, and you really need to have a place for that.
If the database is running on the same box(I think you said no) you might want to look at init.ora for the database and check where that's going. As far as database goes, I'd wonder about how big the rollback space is, redo segments and such.
If its reports server and the database is not on the same box, then it could be the building blocks for the reports output file.
There is a variable in forms/reports pointing to where pdf files get created. That needs to have plenty of free space.
If its the sql query doing this then its time to check the queries for efficiency. No matter how much disk space you have bad queries can kill you.
I found one of these files on my system and here were the permissions.
-rw-r--r-- 1 ias oinstall 72768 Jan 15 09:29 /var/tmp/AAAa00980.TMP
ias really doesn't do a lot of sql work. The backend sql work is on the database server as are temporary files, redo,rollback segments and archive logs.
Our server is pretty heavily used and the user ias is not the database owner(that would be oracle). In our setup, the database server runs on the same box as ias.
The obvious question from me,(Mr. Patch) is do you have the latest forms/reports patch installed? They are on Patch Level 13, I'm currently getting 12 rolled out.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 11:01 AM
тАО03-04-2003 11:01 AM
Re: Issue w/ AAA*.TMP files blowing disk space
On some other filesystem, do you have space? Even on a filesystem that Oracle uses...that, I believe is what JRF is referring to.
In Oracle's 'config.ora' the DBA has set /tmp as the TMPDIR. This can be set to any other filesystem that has some room.
By doing this, you keep your vg00 filesystems from hitting 100%...and creating problems for everyone.
If you don't have any other place to set Oracle's TMPDIR to, than you are in desperate need of ordering some diskspace.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 11:16 AM
тАО03-04-2003 11:16 AM
Re: Issue w/ AAA*.TMP files blowing disk space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 11:40 AM
тАО03-04-2003 11:40 AM
Re: Issue w/ AAA*.TMP files blowing disk space
Yes, Rita is correct. Since it appears that you cannot extend '/tmp', my next choice would be to look for enough physical space on another volumd group to compose a dedicated logical volume (filesystem) for these temporary files. In the absence of that, Rita's point is well-taken, you could use any filesystem with enough space.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 11:57 AM
тАО03-04-2003 11:57 AM
Re: Issue w/ AAA*.TMP files blowing disk space
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 12:09 PM
тАО03-04-2003 12:09 PM
Re: Issue w/ AAA*.TMP files blowing disk space
This is not a memory issue, it is plain old disk space, so changing memory around won't help. (one exception is for very large SGA in Oracle but you'll need another 9Gb of RAM and Oracle (and related apps) must run in 64bit mode) I'd ask the DBA's and developers to look carefully at the indexes and if nothing can be done to improve the code, get a purchase order for a bunch of disk space.
Bill Hassell, sysadmin