- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /tmp size.
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
Forums
Discussions
Discussions
Discussions
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
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
06-21-2002 05:26 AM
06-21-2002 05:26 AM
/tmp size.
I am new to HP-UX and I hope someone will answer this query?
What is the default filesystem for the /tmp directory on HP-UX. Is it /var ?
Are there any recommendations for the filesystem sizing for /tmp ?
Can temp files be handled differnently (other tha setti g TMPDIR) ?
Regards..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:28 AM
06-21-2002 05:28 AM
Re: /tmp size.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:32 AM
06-21-2002 05:32 AM
Re: /tmp size.
Is /tmp a seperate filesystem or is it a on root/. ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:32 AM
06-21-2002 05:32 AM
Re: /tmp size.
the default on HP-UX is /tmp. On my installations i allways change the size to 300 MB (chose: fixed size). The default installation normally gives a size of 64 MB.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:33 AM
06-21-2002 05:33 AM
Re: /tmp size.
/tmp is a seperate filesystem. You can confirm this in /etc/fstab file.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:34 AM
06-21-2002 05:34 AM
Re: /tmp size.
/tmp is the default /tmp filesystem in HPUX. The size of the /tmp can be decided by you and I feel it should be around 500MB. /var/tmp is also used by some applications.
If you have installed the HPUX with the option of Volatile filesytems then /tmp will be a seperate filesystem, or else it will be under / (root).
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:35 AM
06-21-2002 05:35 AM
Re: /tmp size.
this really depends on your needs: we've got servers with a /tmp of just 20MB and others with a /tmp of 1GB!
Generally 100-200MB will be fine.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:36 AM
06-21-2002 05:36 AM
Re: /tmp size.
'/tmp' would be the default based on the rules defined by 'mktemp' (see the man pages).
For some utilities, like 'sort', /var/tmp is used preferentially over '/tmp' (see the man pages, again).
SD utilities also use /var/tmp.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:43 AM
06-21-2002 05:43 AM
Re: /tmp size.
I am a used other Unix forums a lot and I am very inpressed with the reponse..
I'll be back..
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:43 AM
06-21-2002 05:43 AM
Re: /tmp size.
/var is another LV /dev/vg00/lvol8
/var/tmp is generally a less well know temp dir, vi uses it for instance.
/tmp will need to be as big as you need. 20MB to as musch as is required (we have 512MB)
I know of no system variable that alters tempdir, it is usually set from within the APP (e.g. Informix use DBSPACETEMP)
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:55 AM
06-21-2002 05:55 AM
Re: /tmp size.
/tmp is the default temporary filesystem for HP. It's size will change from system to system. U can create as per requirement. It can be seperate file system or it can be a directory under root. In that case Ur root file system should have enough space. In a big setup it is suggested to create as another filesystem.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:58 AM
06-21-2002 05:58 AM
Re: /tmp size.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:59 AM
06-21-2002 05:59 AM
Re: /tmp size.
If you aeere talking about the default logical volume for /tmp. it should be /dev/vg00/lvol6. The size of this filesystem depends on the type of configuration you have and the size of the root disk on your system.
The temporary files are store either in /tmp or /var/tmp on your system. I don't think there is any variable other than TMPDIR that can help you manage your tmp files.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:05 AM
06-21-2002 06:05 AM
Re: /tmp size.
It is also my personal choice to make /var/tmp its own file system too.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:13 AM
06-21-2002 07:13 AM
Re: /tmp size.
Dependant upon your site its a good idea to keep an eye on what is being written in /tmp as not all programmers will be good enough to remove tmp files upon program completion.
Ideally anything older than a few days in /tmp should be removed but check what is left in there first before you first start deleting. Once you are happy that your apps are not writing anything you wish to keep (get the programs amended if they are) add the following line into cron to clear anything older than 2 days in /tmp.
find /tmp -type f -mtime +2 -exec rm {} \; 2>/dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 09:03 PM
06-21-2002 09:03 PM
Re: /tmp size.
http://66.216.15.50/ITRCForumsEtiquette/
(0pts please)
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2002 06:18 PM
06-22-2002 06:18 PM
Re: /tmp size.
export TEMP=/var/tmp
export TMPDIR=/var/tmp
Look at the white paper: file_sys in /usr/share/doc for more details.
It should also be noted that /var represents several large scale subsystems (email, spooling, logging, patches/software, crash dumps), any of which can fill /var and bring the system to it's knees. It is recommended that separately mounted filesystems be created within /var to keep these filesystems separate (based on system usage).
Bill Hassell, sysadmin