Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Logging file system full events
@ 1998-07-09  4:00 Roy Smith
  1998-07-09  4:00 ` Nikola Milutinovic
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Roy Smith @ 1998-07-09  4:00 UTC (permalink / raw)


We've got something running on one of our DU-4.0B boxes which periodically
runs our run file system out of space.  Unfortunately, we don't know
what's doing it!  There's nothing (that we can see) in any log file which
indicates what process it is which is having the problem.  All we get in
/usr/adm/messages is:

Jul  9 00:41:33 endeavor vmunix: /: write failed, file system is full
Jul  9 00:44:05 endeavor last message repeated 3799 times
Jul  9 00:59:19 endeavor last message repeated 3766 times
[etc, etc]

and see the free space shown by df on the root file system goes to zero. 
A few minutes later, everything is back to normal, which means about 30
meg free on root.

Is there any way to get the kernel to log more information about file
system full events?  The process id that caused it, or the pathname of the
file, or anything which might give us a clue what's going on?

-- 
Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logging file system full events
  1998-07-09  4:00 Logging file system full events Roy Smith
@ 1998-07-09  4:00 ` Nikola Milutinovic
  1998-07-10  4:00 ` Matthias Kring
  1998-07-13  4:00 ` Hannes Wenzel
  2 siblings, 0 replies; 4+ messages in thread
From: Nikola Milutinovic @ 1998-07-09  4:00 UTC (permalink / raw)


Roy Smith wrote:
> 
> Is there any way to get the kernel to log more information about file
> system full events?  The process id that caused it, or the pathname of the
> file, or anything which might give us a clue what's going on?

One possibility: turn on audit for suspected (or for all) users and select all
system calls that have anything to do with writing or creating files. Audit logs
got to /var/audit/, so it will log.

Then use either audit_tool or dxaudit to extract just failures of those system
calls.

It is a little painful, but it'll get you there.

Nix.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logging file system full events
  1998-07-09  4:00 Logging file system full events Roy Smith
  1998-07-09  4:00 ` Nikola Milutinovic
@ 1998-07-10  4:00 ` Matthias Kring
  1998-07-13  4:00 ` Hannes Wenzel
  2 siblings, 0 replies; 4+ messages in thread
From: Matthias Kring @ 1998-07-10  4:00 UTC (permalink / raw)


On Thu, 09 Jul 1998 12:33:17 -0400, roy@popmail.med.nyu.edu (Roy
Smith) wrote:
...
>Jul  9 00:41:33 endeavor vmunix: /: write failed, file system is full
...
>and see the free space shown by df on the root file system goes to zero. 
>A few minutes later, everything is back to normal, which means about 30
>meg free on root.
...
Could be some temporary files being written. Look into /tmp to watch
them. 
Advice: mount /tmp to a partition of its own.

-----
Matthias Kring        Ditec Bildungszentrum Koeln      mkring@
matthias.kring@       Stolberger Strasse 78            netcologne.de 
ditec.de              D-50933 Koeln            (+49)(0)221-95472-227
-----                                   keepyourspam@127.0.0.1 -----                              



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logging file system full events
  1998-07-09  4:00 Logging file system full events Roy Smith
  1998-07-09  4:00 ` Nikola Milutinovic
  1998-07-10  4:00 ` Matthias Kring
@ 1998-07-13  4:00 ` Hannes Wenzel
  2 siblings, 0 replies; 4+ messages in thread
From: Hannes Wenzel @ 1998-07-13  4:00 UTC (permalink / raw)


Have you examined the several log-files in /var/adm/syslog.dated ? I
guess you can find your answer there. If not, you can change the
syslog-configuration with /etc/syslog.conf . For documentation see

# man syslog.conf

Sincerely
Hannes



Roy Smith wrote:
> 
> We've got something running on one of our DU-4.0B boxes which periodically
> runs our run file system out of space.  Unfortunately, we don't know
> what's doing it!  There's nothing (that we can see) in any log file which
> indicates what process it is which is having the problem.  All we get in
> /usr/adm/messages is:
> 
> Jul  9 00:41:33 endeavor vmunix: /: write failed, file system is full
> Jul  9 00:44:05 endeavor last message repeated 3799 times
> Jul  9 00:59:19 endeavor last message repeated 3766 times
> [etc, etc]
> 
> and see the free space shown by df on the root file system goes to zero.
> A few minutes later, everything is back to normal, which means about 30
> meg free on root.
> 
> Is there any way to get the kernel to log more information about file
> system full events?  The process id that caused it, or the pathname of the
> file, or anything which might give us a clue what's going on?
> 
> --
> Roy Smith <roy@popmail.med.nyu.edu>
> New York University School of Medicine



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-07-13  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-09  4:00 Logging file system full events Roy Smith
1998-07-09  4:00 ` Nikola Milutinovic
1998-07-10  4:00 ` Matthias Kring
1998-07-13  4:00 ` Hannes Wenzel

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