- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var is getting filledup regularly
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
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
тАО11-23-2008 09:33 AM
тАО11-23-2008 09:33 AM
/var is getting filledup regularly
almost in all my unix servers the /var filesystem is growing upto above 90% usage.Can anybody suggest me what are the things we can remove regularly from this /var filesystem.i don't have any printers configured in my servers.Please help me.
thanks & regards
Jagan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 10:21 AM
тАО11-23-2008 10:21 AM
Re: /var is getting filledup regularly
#du -kx /var | sort -rn | head -20
Check also with find for bigger, last modified files.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 10:27 AM
тАО11-23-2008 10:27 AM
Re: /var is getting filledup regularly
/var/adm/crash/ /var/adm/?
/var/adm/sw/products/?
Various log files that need to be trimmed.
/var/tmp/ user files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 01:31 PM
тАО11-23-2008 01:31 PM
Re: /var is getting filledup regularly
please find the output below.
# du -kx /var | sort -rn | head -20
4910704 /var
3762680 /var/adm
1496768 /var/adm/sw
1347448 /var/adm/sw/save
1085424 /var/adm/crash
780216 /var/hp
467288 /var/hp/sgpatch
341648 /var/adm/syslog
312904 /var/hp/patch
275064 /var/adm/crash/crash.11
269968 /var/adm/crash/crash.16
259168 /var/hp/patch/depot
255856 /var/adm/sw/save/PHCO_33081/VEA-FILESET/opt/VRTSob
255856 /var/adm/sw/save/PHCO_33081/VEA-FILESET/opt
255856 /var/adm/sw/save/PHCO_33081/VEA-FILESET
255856 /var/adm/sw/save/PHCO_33081
204608 /var/adm/crash/crash.15
167752 /var/adm/crash/crash.12
153656 /var/opt
146616 /var/hp/sgpatch/depot
#
from the above output pls suggest me to get some free space.
jagan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 02:08 PM
тАО11-23-2008 02:08 PM
Re: /var is getting filledup regularly
If the crash dumps in '/var/adm/crash' are old; or they have been analyzed; or you are not interested in having them analyzed and you know why they happened; remove them.
Another directory that usually grows quite large is '/var/adm/sw'. Do NOT manually remove anything in this directory! It is the key to your Installed Product Database (IPD) and without its contents you cannot install or uninstall software let alone properly patch your server.
Instead, you can reclaim space by doing:
# cleanup -c 1
...which is the safe way to manage (remove) unnecessary files in '/var/adm/sw'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 02:09 PM
тАО11-23-2008 02:09 PM
Re: /var is getting filledup regularly
This directory normally contains crash dumps from times when your server crashed. If these crash dumps are old and/or the issue causing the crash(es) has been resolved then they can probably be deleted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 02:10 PM
тАО11-23-2008 02:10 PM
Re: /var is getting filledup regularly
I meant to add that if your server is generating crash dumps "regularly", you need to open a support case with HP Support and have the dumps analyzed. This is not normal nor tolerable.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 04:06 PM
тАО11-23-2008 04:06 PM
Re: /var is getting filledup regularly
Right. You can also look at the INDEX file in each directory. If the "cause" is the same, you might want to remove everything but that file for all but the last.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 08:32 PM
тАО11-23-2008 08:32 PM
Re: /var is getting filledup regularly
Mostly in production environments /var/adm/crash is different FS, so before deleting any files from /var/adm/crash please check is /var/adm/crash FS is under /var ?
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2008 08:42 PM
тАО11-23-2008 08:42 PM
Re: /var is getting filledup regularly
It was, du -x was used.