- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var grow up irregular
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
тАО08-22-2007 03:33 PM
тАО08-22-2007 03:33 PM
/var grow up irregular
Do anyone know that how come the size of /var directory increasingly grew up? I check the /var patrition by bdf command and found the number in the "available" column is decreasing. What actual background process need to touch /var?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 04:15 PM
тАО08-22-2007 04:15 PM
Re: /var grow up irregular
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 04:18 PM
тАО08-22-2007 04:18 PM
Re: /var grow up irregular
>> What actual background process need to touch /var?
Issue command: # fuser /var
Example:
/var: 770o(root) 592o(root) 589o(root) 1488mo(root) 617o(root) 618o(root) 735o(root) 839o(root) 1153cm(root) ........
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:03 PM
тАО08-22-2007 05:03 PM
Re: /var grow up irregular
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 06:10 PM
тАО08-22-2007 06:10 PM
Re: /var grow up irregular
find /var -xdev -size +500000c -mtime -3 -exec ls -altr {}\; | sort -r -n -k 5 | more
or
to really dig down /var filesystem try -
du -sk * | more
and check out for the large files there.
Hope this wud help u !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 07:24 PM
тАО08-22-2007 07:24 PM
Re: /var grow up irregular
Use this command to find out which files/directories are filling up /var
# du -akx /var | sort -nr | more
Then you can decide if you can delete something to free up space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 07:25 PM
тАО08-22-2007 07:25 PM
Re: /var grow up irregular
First do fuser -cu to check who is using /var
check is there any batch program is runing and chech what is the output goes may be someone give the output directory is /var
or u can check /var/spool directory some time I have found some old big file over there just delete all old file
hope it will work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 07:47 PM
тАО08-22-2007 07:47 PM
Re: /var grow up irregular
I found that one of file called the error.log which is located at /var/opt/dce/svc is so big (7610368 bytes) and its contains all the same line like that
2007-08-23-05:22:47.541+00:00I----- dced ERROR dhd hostdata epops.c 1021 0x7b5c4ed4 Postprocessor for /opt/dcelocal/bin/ep_scavenger exited with status 2
What is the function of dce?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 08:24 PM
тАО08-22-2007 08:24 PM
Re: /var grow up irregular
Invalid record size. Unable to continue ...
The size of wtmps is 197181440
The size of btmps is 1127690940
- Tags:
- wtmps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 09:29 PM
тАО08-22-2007 09:29 PM
Re: /var grow up irregular
Invalid record size. Unable to continue ...
The size of wtmps is 197181440
The size of btmps is 1127690940
I'm not sure you care about this info? You could copy it and then empty those files.
If you want to try repairing them, see fwtmp(1M).
See this other thread if you are on 11.23 or later:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1149632