home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!gjn
- From: gjn@cs.uq.oz.au (Geoff (cbird) Newton)
- Newsgroups: comp.unix.questions
- Subject: Re: How to prevent a large core-dump
- Message-ID: <10035@uqcspe.cs.uq.oz.au>
- Date: 29 Aug 92 04:19:24 GMT
- References: <1992Aug26.013800.27174@sserve.cc.adfa.oz.au> <118390009@hpcupt3.cup.hp.com>
- Sender: news@cs.uq.oz.au
- Reply-To: gjn@cs.uq.oz.au
- Lines: 26
-
- In <118390009@hpcupt3.cup.hp.com> aakash@hpcupt3.cup.hp.com (Aakash Sahai) writes:
-
- >In article <1992Aug25.173056.13401@utwente.nl> soos@math.utwente.nl (Adwin Soos) writes:
- >| A few weeks or even months ago I have read some discussion about the problem
- >| of preventing a core-dump.
-
- >Two simple solutions are -
-
- >(i) Run the core-dumping program from a directory where the user does
- > not have permission to create file.
-
- >(ii) Set the Effective-User-ID of the program different from its
- > Real-User-ID.
-
- Most systems have a ulimit command which allows you to set resource limits.
-
- bash has a builtin ulimit command, 'ulimit -c <num>' specifies the max size
- of a corefile. <num> == 0 means no coredumps.
-
- csh has a similar feature with its builtin 'limit' (limit coredumpsize <num>).
-
- gjn
- gjn@cs.uq.oz.au
- (-|
-
-
-