- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Var directory grows up to 99%
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
02-18-2003 01:31 AM
02-18-2003 01:31 AM
Can I get help with the subject above.I did remove the log files,removed core files and trimed all logg file to the recomended size but there is no change on my /var.Fisrtly it was at 100 % and after I performed the above commands its sitting at 99%.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 01:35 AM
02-18-2003 01:35 AM
Solutioncd /var
du -sk * | sort -n
This will list the largest subdirs under /var last - then you can cd to them and again do the du command or see if theres some large files in there you can remove or trim down.
Can you add some space to /var ? It does grow a lot and we often have to increase ours or make them large in the first place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 01:37 AM
02-18-2003 01:37 AM
Re: Var directory grows up to 99%
Also make sure the processes that were writing to the files you've removed are not still running. See:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc0621012aa92d5118ff10090279cd0f9,00.html
for a full discussion.
rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 01:40 AM
02-18-2003 01:40 AM
Re: Var directory grows up to 99%
# find /var -size +1000000c -exec ll {} \;
And there are a lot of log files in /var. A lot of space can be freed by removing old system crash files in /var/adm/crash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 02:02 AM
02-18-2003 02:02 AM
Re: Var directory grows up to 99%
as pointed already check which directory is using the space. also, if u have been installing patches, u could remove the already superceeded old patches.
checkout the manpages for cleanup for more details.
hth
-b-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 04:57 AM
02-18-2003 04:57 AM
Re: Var directory grows up to 99%
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 07:25 AM
02-18-2003 07:25 AM
Re: Var directory grows up to 99%
# du -kx /var |sort -rn > /tmp/du.var
now look in /tmp/du.var the first few should be ur largest dir, look inside of them & sort content by size:
# ll |sort -rnk5 |more
Cheers,
T??
PAP ! (a.k.a. Pliz Assign Points )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 07:30 AM
02-18-2003 07:30 AM
Re: Var directory grows up to 99%
If you have some type of hardware problem the activity.log file can grow to be VERY LARGE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 06:43 AM
02-20-2003 06:43 AM
Re: Var directory grows up to 99%
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 02:08 AM
02-21-2003 02:08 AM
Re: Var directory grows up to 99%
If its one large filesystem, it may well be you have a large number of small files in /var/tmp. T.M Louah's idea might point you in the right direction.
Of course we don't know what % free you had before your problems started - perhaps /var was not sized correctly in the first place, and you should look at extending it?