LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-08-2015, 04:26 AM   #1
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Rep: Reputation: 1
var partition reached 105%


Hi,

We have a system which var partition reached 105% with a negative size ...
I would like to know what it means.
It's FreeBSD (I don't know if I'm at the right place)

olive
 
Old 04-08-2015, 07:49 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Usually the amount reported as free is with the reserve space in a filesystem. That is for most users it appears to be full (100%) before it actually is because there is a reserve. The 105% shows you are using the reserve.

You should immediately work on cleaning up /var rather than spending time on what this means. Hitting 85% is not good. Hitting 95% is worse and at 100% its really bad.

Look at /var/tmp and see if there is anything large you can get rid of right away. (Make sure it is not currently in use.)
Look at /var/log and /var/spool files and subdirectories to see if anything has gotten very large.
Look at /var/preserve and see if you have any huge mail files there. root usually is huge if you're not reading it regularly.

cd /var
du -sk * |sort -n

That will show you the largest things in /var itself. You can then go to any subdirectory it specified (e.g. /var/preserve) and do the same command.
 
Old 04-09-2015, 01:01 AM   #3
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
Thank you for these tips. We know we have to clean up the logs (I guess it's done now). I asked for my personal information as it sounded weird to me.

Thanks again,

olive
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Have multiple partitions for /var along with a partition for /var itself useful? JockVSJock Linux - Newbie 13 03-27-2015 07:35 AM
/var Filesystem reached 100 % LittleMaster Linux - Server 2 02-04-2013 02:44 PM
partition out /var scofiled83 Linux - Newbie 4 11-09-2008 11:03 AM
var partition UmneyDurak Fedora 1 02-03-2005 09:25 PM
/var partition. dawsonbdky Linux - General 5 08-16-2004 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration