- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: /var is at 90% capacity
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
тАО03-08-2006 07:25 AM
тАО03-08-2006 07:25 AM
/var is at 90% capacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 07:54 AM
тАО03-08-2006 07:54 AM
Re: /var is at 90% capacity
Quota files probably wouldn't be the problem. Use this command as root:
# find /var -exec ls -s1 {} \; | sort -k1,1nr | more
This will list files sorted by size in KBs largest files 1st.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 08:06 AM
тАО03-08-2006 08:06 AM
Re: /var is at 90% capacity
You should check for unreaded mailboxes on /var/spool/mail
Also use:
du -sk * |sort -nrb
To identify the biggest directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 09:48 AM
тАО03-08-2006 09:48 AM
Re: /var is at 90% capacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 03:43 PM
тАО03-08-2006 03:43 PM
Re: /var is at 90% capacity
1. /var/spool/mail and see any user mail is having more size.
2. /var/adm/crash, if crash dir contains core files.
3. zip the old /var/adm/syslog.dated/ directories which are not required.
Hope this will clear most of the things. If you still couldnot make the space use du -ks /var and see which dir is taking more space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 04:00 PM
тАО03-08-2006 04:00 PM
Re: /var is at 90% capacity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 04:14 PM
тАО03-08-2006 04:14 PM
Re: /var is at 90% capacity
> taking more space.
Close, but "du -ks /var" will tell you about
"/var" as a whole, not about the directories
in "/var".
Perhaps "du -ks /var/*", as was suggested
(more or less) earlier.
Trying this stuff before posting it might be
more helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 02:25 AM
тАО03-09-2006 02:25 AM
Re: /var is at 90% capacity
Check for this condition by comparing the output of df (disk free) and du (disk used).
df /var
du -sk /var
If the values for space used differ by more than a few megabytes, then check to see if you have any long-running processes with files open in /var that do not have corresponding file entries in the file system. The main tool I use for this check is lsof (LiSt Open Files) available from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 04:00 AM
тАО03-09-2006 04:00 AM
Re: /var is at 90% capacity
Thank you for your replies. Steven's suggestions helped alot with the du -ks /var/*. It narrowed it and turns out that the /var/audit directory was the biggest directory. The filesystem has 16GB and the /var/audit is taking up over 14GB.
This leads to this question, can I delete the auditlog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 04:16 AM
тАО03-09-2006 04:16 AM
Re: /var is at 90% capacity
ls: /var/audit not found
Clearly, none of that stuff is needed.
Of course, mine is only a hobbyist system,
and does nothing very important.
"man -k audit" does offer some stuff,
including:
audit_tool, audit_tool.ultrix (8) - Audit log reduction tool
auditconfig, audit_setup (8) - Audit subsystem configuration graphical interface (Enhanced Security)
So, I know nothing, but I'd bet that
there's a manual somewhere. My guess is
that if it makes sense to collect these data,
then it probably makes sense to archive them
(possibly) and to purge them (certainly).
If you didn't even know the data were there,
they may not be too important, but I also
tend not to throw anything away (totally),
especially when I don't know its purpose
and/or value.