Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Todd Graham Lewis <tlewis@mindspring.net>
To: Andrea Peterlongo <Andrea.Peterlongo@ismaa.it>
Subject: Re: Root File System Problem
Date: 1997/08/10	[thread overview]
Message-ID: <Pine.LNX.3.96.970810181819.4126G-100000@reflections.eng.mindspring.net> (raw)
In-Reply-To: 33E90A0C.8A9CEE07@ismaa.it


On Wed, 6 Aug 1997, Andrea Peterlongo wrote:

> We have some problem with root file system (adfs). It always seems full
> to the system (Digital Unix 4.0B) and we keep on obtaining the following 
> error warning:
> 
> /:write failed, file system is full.
> 
> Even if since the first error message received  we have already deleted
> many big file in the root file system (>10 MB) the problem persists.

Which would indicate that your filesystem continues to become full. (!)

> Moreover if we enter
>  
> #df -k
> 
> obtaining:
> 
> Filesystem       1024-blocks     Used   Available Capacity  Mounted on
> root_domain#root    205112      199164       32    100%   
> /              
> we may see that when we delete a file the Used space do not decrease and
> the Available do not increase by the amount of space previously ocuppied
> by the file.

This is suggestive; if a process has an open filehandle to the file which
you are unlinking, then the reference count on that file has not yet
reached zero; the os cannot reclaim disk space until both the file is
unlinked and any processes which have it opened have closed it.

More below:

> Our fstab is the following:
> 
> root_domain#root /              advfs rw,userquota,groupquota 0 0
> /proc            /proc  procfs rw 0 0
> usr_domain#usr   /usr           advfs rw,userquota,groupquota 0 0
> /dev/rz0b        swap1  ufs sw 0 2
> /dev/rz1b        swap2  ufs sw 0 2.

I notice that you do not have either /var or /tmp on separate partitions. 
If the large files to which you refer are log files, then you might try
deleting and then restarting syslogd.  Of course, you should be rotating
your log files regularly by this method (mv file file.0; kill -HUP
[syslogd]) anyway.

Other candidates on this front are squid, apache (perhaps), databases,
etc.  I'd have to know more about what you are doing to make a more
precise guess.

What does this machine do?  What are the big files which you continue to
have to delete? 

-- 
Todd Graham Lewis       Manager of Web Engineering    MindSpring Enterprises
(800) 719-4664, x2804             Linux!               tlewis@mindspring.net




  reply	other threads:[~1997-08-10  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-06  4:00 Root File System Problem Andrea Peterlongo
1997-08-10  4:00 ` Todd Graham Lewis [this message]
1997-08-20  4:00 ` Pier Paolo Frassino
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox