Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 12:09:29 -0400
From:      "Anandha Ponnampalam" <ponnamp@tradeit.com>
To:        "Alfred Perlstein" <bright@rush.net>, "Marty C" <lalala@globalserve.net>
Cc:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: FreeBSD is cool
Message-ID:  <001801bec312$ee97dc70$6ad309c0@anandhapc.vtidev.ca>
In-Reply-To: <Pine.BSF.3.96.990630110321.14320c-100000@cygnus.rush.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0019_01BEC2F1.67863C70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit



. -----Original Message-----
. From: owner-freebsd-questions@FreeBSD.ORG
. [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Alfred
. Perlstein
. Sent: Wednesday, June 30, 1999 12:07 PM
. To: Marty C
. Cc: FreeBSD Questions
. Subject: Re: FreeBSD is cool
. 
. 
. On Wed, 30 Jun 1999, Marty C wrote:
. 
. > Is it possible to somehow turn off the core dumping behaviour of
. > crashed applications?
. 
. *** warning untested idea ***
. 
. sysctl -w kern.corefile=/dev/null
. 
. *****************************
. 
. please let me know how it works, btw I take no responcibility if
. this hoses your machine, you do so at your own risk.
. 
. -Alfred
. 
. 
. 
. To Unsubscribe: send mail to majordomo@FreeBSD.org
. with "unsubscribe freebsd-questions" in the body of the message
. 
------=_NextPart_000_0019_01BEC2F1.67863C70
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment

From: "Unix Guru Universe" <listserv@unix911.com>
To: <ponnamp@tradeit.com>
Subject: UNIX TIP: LIMIT THE SIZE OF CORE
Date: Fri, 11 Jun 1999 06:32:33 -0400
Message-ID: <199906111032.KAA13263@unix911.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3612.1700
X-UIDL: 002fc8d87fa3bb0c438a26129c8b8930
Importance: Normal


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

			UNIX GURU UNIVERSE & UNIX911.com
			         UNIX HOT TIP

			Unix Tip 892 - June 11, 1999

		    http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


LIMIT THE SIZE OF CORE


You can limit the size of "core" files using ulimit
and limit to avoid dangerous core files filling up 
your file system:

$ ulimit -c SIZE_IN_BLOCKS        # under sh or ksh
$ limit coredumpsize SIZE_IN_KB   # under csh or tcsh

$ limit               # Display current settings

For example :

% ulimit -c 10
% sleep 100 &
% kill -SEGV $!
% ls -l core
... 5120 ... core
% file core
core re: ... from 'sleep'





--------------------------------------------------------------------------
To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today

==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX 
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT 
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.

Unix Guru Universe - www.ugu.com - tips@ugu.com - Copyright 1994-1998
==========================================================================


------=_NextPart_000_0019_01BEC2F1.67863C70--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001801bec312$ee97dc70$6ad309c0>