* core
@ 1996-10-02 4:00 gbilanci
1996-10-07 4:00 ` core Matthew Tovey
0 siblings, 1 reply; 5+ messages in thread
From: gbilanci @ 1996-10-02 4:00 UTC (permalink / raw)
---
How can I do to stop the creation of the file 'core' when the system
hang (kernel is zsh)
--
==========================
= Gilles : gbilanci@samoa.unice.fr =
==========================
^ permalink raw reply [flat|nested] 5+ messages in thread
* core
@ 1996-11-22 5:00 Gilles B.
1996-11-25 5:00 ` core Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-11-25 5:00 ` core Phil Farrell
0 siblings, 2 replies; 5+ messages in thread
From: Gilles B. @ 1996-11-22 5:00 UTC (permalink / raw)
---
How can I do to fix the length of the core file at 0 byte .
Because when netscape bugs , I discover a big file .
(sorry for my english)
Thank you
--
==========================
= Gilles : gbilanci@samoa.unice.fr =
==========================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: core
1996-11-22 5:00 core Gilles B.
@ 1996-11-25 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-11-25 5:00 ` core Phil Farrell
1 sibling, 0 replies; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1996-11-25 5:00 UTC (permalink / raw)
In article <3295C084.41C6@samoa.unice.fr>, "Gilles B." <gbilanci@samoa.unice.fr> writes:
> How can I do to fix the length of the core file at 0 byte .
>Because when netscape bugs , I discover a big file .
>(sorry for my english)
Some things to try:
1. See if your shell supports limiting the coredumpsize to zero
bytes. The C-shell on Digital UNIX V4.0 supports this:
% limit coredumpsize 0
The manual page for your shell should offer the necessary
clues.
2. Create a symbolic link called core in the directory where
these core dumps typically show up. Make it a link to
/dev/null. It will still a few moment to write the core
dump, but it won't use space, unless /dev/null breaks.
3. Use mknod to create a special device file with the same
major/minor number as /dev/null, but called "core". Thus,
you'll have your own data sink.
>
>Thank you
>--
>==========================
>= Gilles : gbilanci@samoa.unice.fr =
>==========================
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: core
1996-11-22 5:00 core Gilles B.
1996-11-25 5:00 ` core Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1996-11-25 5:00 ` Phil Farrell
1 sibling, 0 replies; 5+ messages in thread
From: Phil Farrell @ 1996-11-25 5:00 UTC (permalink / raw)
To: Gilles B.
If you use the C-shell (csh), you can limit the size of core files
that can be made. For new users, I limit it all the way down to
zero. Just put a line like this in your .login file:
limit coredumpsize 0
Another way to prevent core dumps within certain directories is
to create an empty subdirectory named "core". The kernel will
not create a core file if this subdirectory already exists.
However, you would have to do this for each directory separately
that you wanted to protect from "core" files.
--
Phil Farrell, Computer Systems Manager
Stanford University School of Earth Sciences
farrell@pangea.stanford.edu
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-11-25 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-02 4:00 core gbilanci
1996-10-07 4:00 ` core Matthew Tovey
-- strict thread matches above, loose matches on Subject: below --
1996-11-22 5:00 core Gilles B.
1996-11-25 5:00 ` core Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-11-25 5:00 ` core Phil Farrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox