* Crashdumps fill up my /var
@ 1994-09-02 11:43 John F Peden
1994-09-07 14:41 ` Jean-Luc Bernard
0 siblings, 1 reply; 2+ messages in thread
From: John F Peden @ 1994-09-02 11:43 UTC (permalink / raw)
Hi
For some unknown reason, my system is crashing about once a day
(usually at night -- it may be related to the console window manager)
But anyway, when it does, it stores a coredump in /var/adm/crash,
these rapidly fill up the partition and eventually it refuses to boot
to multi-user mode. So none of my users can log in, until I arrive.
My question is
How do I limit of a crashdump to a fixed size in the same way as I can
a standard core dump ?
I would still like to keep a record in the crash directory
that the machine went down i.e. a 1 K file with a date stamp,
but not the full 100Mb.
many thanks
john
===========================================================================
John F. Peden, #### # # ###### # # # # #
Department of Genetics, # ## ## # # # # ## #
Queens Medical Centre, # # ## # ##### # # # # # #
Nottingham, # # # # # # # # # #
United Kingdom. # # # # # # # # # ##
NG7 2UH #### # # ###### ###### #### # #
Computing Molecular Evolution Laboratory, University of Nottingham.
============================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Crashdumps fill up my /var
1994-09-02 11:43 Crashdumps fill up my /var John F Peden
@ 1994-09-07 14:41 ` Jean-Luc Bernard
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Luc Bernard @ 1994-09-07 14:41 UTC (permalink / raw)
In article 9k9@unicorn.ccc.nottingham.ac.uk, pdxjfp@evol.nott.ac.uk (John F Peden) writes:
>
>Hi
>
>For some unknown reason, my system is crashing about once a day
>(usually at night -- it may be related to the console window manager)
>
>But anyway, when it does, it stores a coredump in /var/adm/crash,
>these rapidly fill up the partition and eventually it refuses to boot
>to multi-user mode. So none of my users can log in, until I arrive.
>
>
>My question is
>
>How do I limit of a crashdump to a fixed size in the same way as I can
>a standard core dump ?
>
>I would still like to keep a record in the crash directory
>that the machine went down i.e. a 1 K file with a date stamp,
>but not the full 100Mb.
First, it is useless to save a truncated crash file, as you will not be
able to use it afterward.
Second, a possible answer to you question, from 'man savecore', is :
savecore [-cefv] directory [system]
-c Does not copy the dump, but simply marks it invalid.
You can change the savecore parameters in the /sbin/init.d/savecore file.
---
"Je ne suis ni pour, ni contre, bien au contraire" -- Coluche
_________________________________________________________________
Jean-Luc BERNARD Computer Center
Advanced Computer Research Institute Email: jlbernard@acri.fr
1 Boulevard Marius Vivier-Merle Voice: (+33) 72.35.84.03
69443 LYON CEDEX 03 - FRANCE Fax (+33) 72.35.84.10
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-09-07 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-02 11:43 Crashdumps fill up my /var John F Peden
1994-09-07 14:41 ` Jean-Luc Bernard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox