HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Necessary maintenance /tmp 98%.
Operating System - HP-UX
1829553
Members
2007
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-03-2010 12:43 PM
11-03-2010 12:43 PM
Good Day
The / tmp directory on the server is at 98% is necessary maintenance. Please help with best practices for the cleaning of this directory.
Greetings
The / tmp directory on the server is at 98% is necessary maintenance. Please help with best practices for the cleaning of this directory.
Greetings
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2010 12:49 PM
11-03-2010 12:49 PM
Solution
typically /tmp is cleared during reboot by setting the CLEAR_TMP=1 in /etc/rc.config.d/clean_tmps
if you do not reboot your servers on a regular basis then it is at your discretion and you will have to analyze what is in /tmp.
/tmp is temporary by name and nature. anything put there should only be needed temporarily so deleting it should not cause an issue.. users that put non-temporaray files in /tmp are only asking for problems, but nobody would be silly enough to do that, right ?
if you do not reboot your servers on a regular basis then it is at your discretion and you will have to analyze what is in /tmp.
/tmp is temporary by name and nature. anything put there should only be needed temporarily so deleting it should not cause an issue.. users that put non-temporaray files in /tmp are only asking for problems, but nobody would be silly enough to do that, right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2010 01:20 PM
11-03-2010 01:20 PM
Re: Necessary maintenance /tmp 98%.
Hi:
Strictly speaking, '/tmp' is intended for use by the operating system. Applications should use '/var/tmp' as their temporary workspace.
Regards!
...JRF...
Strictly speaking, '/tmp' is intended for use by the operating system. Applications should use '/var/tmp' as their temporary workspace.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2010 01:59 PM
11-06-2010 01:59 PM
Re: Necessary maintenance /tmp 98%.
Hello,
I actually design HP-UX servers with even
more stringency:
a) I always encourage application admins to use their own areas for temporary files.
Some applications look at TMPDIR environment
variable. Others look at two other variables.
Try setting TEMP and TMP as well as TMPDIR.
One of these three environment variables will
work.
b) By default, I always enable in
/etc/rc.config.d/clean_tmps
CLEAR_TMP=1
These two items help a lot.
Cheers,
VK2COT
I actually design HP-UX servers with even
more stringency:
a) I always encourage application admins to use their own areas for temporary files.
Some applications look at TMPDIR environment
variable. Others look at two other variables.
Try setting TEMP and TMP as well as TMPDIR.
One of these three environment variables will
work.
b) By default, I always enable in
/etc/rc.config.d/clean_tmps
CLEAR_TMP=1
These two items help a lot.
Cheers,
VK2COT
VK2COT - Dusan Baljevic
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP