• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Var is occupying more space in SUN Solaris 5.8

 
nisha madhuri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Please treat this as urgent!!!
I am using SUN OS with version SunOS 5.8 SPARC
Everytime I check my disk space using "df -k" var is increasing like anything.
I am seeing messages logging under var/adm/ but I am not sure wheither to delete them are not.
Can anybody update how can I avoid var occupying this space.

Note: This is leading to very slow processing of applications.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look in /var/tmp and /var/spool, both places where applications store temporary data.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "du" command can be used to display how much space a directory and its files is using up. Use that to home in on your out-of-control growth.

I don't remember exactly, but I think maybe that the Solaris swapfile would appear under /var. If this is the offender, you'll need to IBM (Install Biger Memory).

If you're getting lots of messages to the logfile, fix whatever problem it's complaining about.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by nisha madhuri:
Please treat this as urgent!!!


nisha madhuri,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
EaseUp
to find out why adding 'urgent' to your post or subject line can actually slow down or halt responses to your question altogether.

Again, welcome to JavaRanch and good luck with your question.
-Ben
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic