- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/tmp 100%
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
01-31-2002 10:11 AM
01-31-2002 10:11 AM
/var/tmp 100%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 10:18 AM
01-31-2002 10:18 AM
Re: /var/tmp 100%
You can have a cron job than can clean /var/tmp on a regular basis. Another choice is to redirect your user tmp files to another directory using the "TMPDIR" variable and then setting a quota on the directory size/growth. This willl restrict the user to the amount of space allocated by quota.
Maybe some other forum member has a better suggestion.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 10:25 AM
01-31-2002 10:25 AM
Re: /var/tmp 100%
You could use quota's as Sanjay mentioned, but with that you will face performance overhead, and the possibility of hammering a real production process.
If you can identify the processes (users) that are doing this nasty deed, then have a discussion with them about "housekeeping".
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 10:31 AM
01-31-2002 10:31 AM
Re: /var/tmp 100%
There is no really good answer to this because it is considered the job of the programmer/script writer to be aware of available resources. Aside from regular cleanup scripts the best answer is to have a daemon which monitors all filesystems and then either sends messages via mail or better yet to a tool like IT/O or VP/O. Just to be fair, sometimes it's not the fault of the idiot programmer but rather the fault of the idiot admin who killed processes via kill -9 so that the temp files could not be removed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 10:50 AM
01-31-2002 10:50 AM
Re: /var/tmp 100%
I created the attached script and config file to make this task a little easier. When I find a user process that doesn't cleanup well after itself, I make an entry in the "autocleanuup.conf" file. I run the autocleanup.sh script once per week.
Tom