LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-10-2004, 06:10 AM   #1
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
df not reporting correct size.


Alright, here is a question of my own.

I'm the NetAdmin for an Engineering firm. We use CUPS for printing, and samba for roaming profile connections.

After a few days, our /var directory becomes bloated. /var has it's own partition, which is just under 1G, but it is sometimes incorrectly reported as only having a few megs left when there is 900M free.

When /var is filled, our printing services die, as there is no temp space left for spooling.

Doing a du -ch recursively on the /var dir correctly reports a usage of ~90M.

I have a feeling that it's a samba issue, that there is some temp file being held open, and not being reported.

A server reboot / Samba shutdown will deflate /var, but this is not a great solution.

Anyone seen this?
 
Old 11-10-2004, 07:26 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
/var is a psuedo filesystem in which logs and files are always being written there. Most likely what your seeing is someone going in and deleting a file while a process is still trying to write to that file.. so if the file is not physically there but a process is trying to write to it, well, it will hold onto that chunk of space still only to release it once the process is dead.
 
Old 11-10-2004, 07:36 AM   #3
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
As I thought...

A shot in the dark -- Is there a way to tell which process is holding the space hostage?

I have a feeling that restarting smbd is the only option...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
df -h not reporting correct amoutn, help... Lleb_KCir Linux - General 2 07-21-2005 03:38 PM
Restored backup, now new root partition reporting wrong size. wackman Linux - Software 6 05-28-2005 02:24 AM
df reporting negative disk size??? rimcrazy Linux - Hardware 2 09-07-2004 10:08 AM
Mandrake incorrectly reporting HD size ZidanaX Mandriva 4 09-05-2003 02:49 AM
screen size not correct? blither Slackware 9 12-16-2002 09:53 PM


All times are GMT -5. The time now is 02:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration