* Core dump limiting
@ 1998-02-09 5:00 Andrew Ireland
1998-02-10 5:00 ` Jeff Denham
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Andrew Ireland @ 1998-02-09 5:00 UTC (permalink / raw)
I;ve checked the obvious places, but cannot find out...
How do you limit the size of a core file?
Hardware Digital AlphaServer4100, Digital UNIX 3.2G
Thanks....
Andrew Ireland
andy@ascada.demon.co.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Core dump limiting
1998-02-09 5:00 Core dump limiting Andrew Ireland
1998-02-10 5:00 ` Jeff Denham
@ 1998-02-10 5:00 ` Bob Koehler
1998-02-11 5:00 ` Figaro Tea
2 siblings, 0 replies; 4+ messages in thread
From: Bob Koehler @ 1998-02-10 5:00 UTC (permalink / raw)
In article <887024255.26729.0.nnrp-06.9e982017@news.demon.co.uk>, "Andrew Ireland" <andy@ascada.demon.co.uk> writes:
>I;ve checked the obvious places, but cannot find out...
>
>
> How do you limit the size of a core file?
>
I prefer
ln -s /dev/null core
or did you have some use for a partial (and therefor broken) core file?
------------------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
Hubble Space Telescope Payload | System Sciences Division
Flight Software Team |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Core dump limiting
1998-02-09 5:00 Core dump limiting Andrew Ireland
@ 1998-02-10 5:00 ` Jeff Denham
1998-02-10 5:00 ` Bob Koehler
1998-02-11 5:00 ` Figaro Tea
2 siblings, 0 replies; 4+ messages in thread
From: Jeff Denham @ 1998-02-10 5:00 UTC (permalink / raw)
Andrew Ireland wrote:
> I;ve checked the obvious places, but cannot find out...
>
> How do you limit the size of a core file?
>
> Hardware Digital AlphaServer4100, Digital UNIX 3.2G
>
> Thanks....
>
> Andrew Ireland
>
> andy@ascada.demon.co.uk
You want the limit/ulimit interfaces. Look for coredumpsize and set it
to
the max value you want, such as 0.
I don't have access to a DU box anymore, or I'd be more precise with
some
man page references....
__________________________________________________
Jeff Denham (jdenham@brighttiger.com)
Bright Tiger Technologies
SmartCluster� Software for Distributed Web Servers
http://www.brighttiger.com
125 Nagog Park
Acton, MA 01720
Phone: (978) 263-5455 x177
Fax: (978) 263-5547
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Core dump limiting
1998-02-09 5:00 Core dump limiting Andrew Ireland
1998-02-10 5:00 ` Jeff Denham
1998-02-10 5:00 ` Bob Koehler
@ 1998-02-11 5:00 ` Figaro Tea
2 siblings, 0 replies; 4+ messages in thread
From: Figaro Tea @ 1998-02-11 5:00 UTC (permalink / raw)
On Mon, 9 Feb 1998, Andrew Ireland wrote:
> I;ve checked the obvious places, but cannot find out...
>
>
> How do you limit the size of a core file?
With the ulimit command. You can set both hard and soft limits with the
command, I recommend altering the soft limit. This command will prevent
core files from being created:
ulimit -Sc 0
You can change the 0 to whatever block size you want. This particular
ulimit command is a shell builtin, at least in the Korn shell, so you'll
have to look at the ksh man page to get info on it. (Tip, once you're
looking at the man page type a forward slash and then type "ulimit" to
go straight to the entry.)
..._Tim_...
--=[I know everything...just not at the same time.]=--
http://www.shack.org/zzhumphreyt
zzhumphreyt@winthrop.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-02-11 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-09 5:00 Core dump limiting Andrew Ireland
1998-02-10 5:00 ` Jeff Denham
1998-02-10 5:00 ` Bob Koehler
1998-02-11 5:00 ` Figaro Tea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox