wood burning stoves*
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 8 in Action this week in the Java 8 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
Author

Var is occupying more space in SUN Solaris 5.8

nisha madhuri
Greenhorn

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
Marshal

Joined: Jul 08, 2003
Posts: 24168
    
  30

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: 15662
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ben Souther
Sheriff

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


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Var is occupying more space in SUN Solaris 5.8
 
Similar Threads
size of the table
Table space
Help in GroupLayout
Tomcat showing wrong date
To list only the directory