From: jlb@acri.fr (Jean-Luc Bernard)
Subject: Re: Crashdumps fill up my /var
Date: Wed, 7 Sep 1994 14:41:55 GMT [thread overview]
Message-ID: <1994Sep7.144155.27242@acri.fr> (raw)
In-Reply-To: 34734b$9k9@unicorn.ccc.nottingham.ac.uk
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
prev parent reply other threads:[~1994-09-07 14:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-02 11:43 Crashdumps fill up my /var John F Peden
1994-09-07 14:41 ` Jean-Luc Bernard [this message]
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