my dog learned polymorphism
The moose likes Linux / UNIX and the fly likes Var is occupying more space in SUN Solaris 5.8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Var is occupying more space in SUN Solaris 5.8" Watch "Var is occupying more space in SUN Solaris 5.8" New topic

Var is occupying more space in SUN Solaris 5.8

nisha madhuri

Joined: Aug 23, 2007
Posts: 5
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

Joined: Jul 08, 2003
Posts: 24199

Have a look in /var/tmp and /var/spool, both places where applications store temporary data.

[Jess in Action][AskingGoodQuestions]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

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.

An IDE is no substitute for an Intelligent Developer.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

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:
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.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Var is occupying more space in SUN Solaris 5.8
It's not a secret anymore!