- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /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-23-2007 12:51 AM
тАО08-23-2007 12:51 AM
Re: /var grow up irregular
Hi Achillies
Tips to clean wtmps/btmps
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01016434-2
Thanks
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2007 01:07 AM
тАО08-23-2007 01:07 AM
Re: /var grow up irregular
cleanup -c 2
This will remove all patches that have been superseded twice or more. You can run the command with -p to preview, and the output will tell you exactly how much space you could reclaim.
Use with care though.
- Tags:
- cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2007 02:15 PM
тАО08-23-2007 02:15 PM
Re: /var grow up irregular
# find /var -xdev -size +10000000c (To list around >10MB)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2011 02:21 PM
тАО07-22-2011 02:21 PM
Re: /var grow up irregular
Hi guys, I was having the same problem.
Right now the filesystem /var is increasing and decreasing in a few minutes, between 58% and 75%, but most of the time is in the lower.
Do you have any Idea why is this happening or what can I check?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2011 02:31 PM
тАО07-22-2011 02:31 PM
Re: /var grow up irregular
I would monitor /var/tmp first. My guess is that something is creating and destroying temporary files.
You could always try something like:
find /var -type f -mtime -1 -exec ls -ld {} \;
to try to find files that are less than 1 day old.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2011 03:05 PM
тАО07-22-2011 03:05 PM
Re: /var grow up irregular
>Do you have any idea why is this happening or what can I check?
Have you looked at what the most recent files are and who the owner is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2011 01:29 PM
тАО07-25-2011 01:29 PM
Re: /var grow up irregular
This is a sample of the output of the command
find /var -type f -mtime -1 -exec ls -ld {} \; .... -rw-r--r-- 1 root root 452 Jul 25 15:45 /var/stm/logs/tools/1_0_8_1_0_4_0_2_3_1_1_9_2/info/test_activity_log -rw-r--r-- 1 root root 1316 Jul 25 15:45 /var/stm/logs/tools/1_0_8_1_0_4_0_2_3_1_1_9_2/info/info_log_msg -rw-r--r-- 1 root root 452 Jul 25 15:45 /var/stm/logs/tools/1_0_8_1_0_4_0_2_3_1_1_9_3/info/test_activity_log -rw-r--r-- 1 root root 1316 Jul 25 15:45 /var/stm/logs/tools/1_0_8_1_0_4_0_2_3_1_1_9_3/info/info_log_msg -rw-r--r-- 1 root root 452 Jul 25 15:45 /var/stm/logs/tools/1_0_8_1_0_4_0_2_3_1_1_9_4/info/test_activity_log -rw-r--r-- 1 root root 1316 Jul 25 15:45 /var/stm/logs/tools/1_0_8_1_0_4_0_2_3_1_1_9_4/info/info_log_msg -rw-r--r-- 1 root root 452 Jul 25 15:55 /var/stm/logs/tools/64000_0xfa00_0x12/info/test_activity_log -rw-r--r-- 1 root root 1316 Jul 25 15:55 /var/stm/logs/tools/64000_0xfa00_0x12/info/info_log_msg -rw-r--r-- 1 root root 452 Jul 25 15:55 /var/stm/logs/tools/64000_0xfa00_0x15/info/test_activity_log -rw-r--r-- 1 root root 1316 Jul 25 15:55 /var/stm/logs/tools/64000_0xfa00_0x15/info/info_log_msg -rw-r--r-- 1 root root 452 Jul 25 15:55 /var/stm/logs/tools/64000_0xfa00_0x4/info/test_activity_log -rw-r--r-- 1 root root 1316 Jul 25 15:55 /var/stm/logs/tools/64000_0xfa00_0x4/info/info_log_msg -rw-r--r-- 1 root root 452 Jul 25 15:55 /var/stm/logs/tools/64000_0xfa00_0x16/info/test_activity_log ...
There are several files with this description, another batch of them are from DB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2011 01:02 AM - edited тАО07-26-2011 05:04 AM
тАО07-26-2011 01:02 AM - edited тАО07-26-2011 05:04 AM
Re: /var grow up irregular
>Right now the filesystem /var is increasing and decreasing in a few minutes
Well, that sounds ok - applications are writing temp log-files and delete it again.
Just check the [edit](above already) mentioned directories:
/var/tmp
/var/adm/crash
Superseeded patches:
Check it with 'cleanup -p -c 2'
then recover space with 'cleanup -c 2'
HTH
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2011 04:29 AM
тАО07-26-2011 04:29 AM
Re: /var grow up irregular
All those logs would suggest some diagnostic activity. Any hardware issues in the system? Take a look at dmesg output and syslog for errors. Other than that, this might be completely normal.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2011 10:00 AM
тАО07-28-2011 10:00 AM
Re: /var grow up irregular
Thanks all.
- « Previous
-
- 1
- 2
- Next »