• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 519
  • Last Modified:

my var file was filled up to 108% i deleted a lot of old logs..but no diff in df

hi..i got a message from my server that /var was full..when i run df i see /var at 108%..i delelted a lot of old log files under /var/log/ but dont see any diff in df ../var seems to show still full at 108%..what to do?
0
solunatec
Asked:
solunatec
1 Solution
 
solunatecAuthor Commented:
wait I guess its dev/da0s1d mounted on var thats at 108%
0
 
arnoldCommented:
df -k
should return the mount points and their usage level.
There is nothing to suggest since you have not included any information besides that you have a partion over 100% in use.
0
 
dfkeSr. Systems EngineerCommented:
To find the 20 largest file in /var issue:

find /var -type f -print | xargs ls -l | sort -r -n -k 5,5 | head -20

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
balasundaram_sCommented:
You have to recycle the process(es) that might be holding up the log files under /var.   Then the 'df' command shows the actual usage.
0
 
solunatecAuthor Commented:
anyone familiar with :
/var/db/locate.database..
thats a hog..
0
 
solunatecAuthor Commented:
basically the top 20 hogs are all related to mysql and portsnap
0
 
solunatecAuthor Commented:
can i delete the contents of /var/db/portsnap/files
0
 
solunatecAuthor Commented:
ee.core seems to be huge...anyone know what that is >> I have been using ee lately..
0
 
arnoldCommented:
You have a core file?  This is for debug/troubleshooting purposes.  I.e. you have an application/service that crashed and left this behind so that you can analyze it to determine the cause and implement a fix to avoid this situation in the future.
gdb is a good tool to analyze core dumps. If it is in /var/crash this is the result of a kernel panic and the system rebooted and left this behind in a similar manor to help you determine the issue that arose and to implement a fix so this issue does not come up in the future.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now