Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 May 2008 16:42:36 -0700
From:      Chris Maness <chris@chrismaness.com>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        FreeBSD List <freebsd-questions@freebsd.org>
Subject:   Re: Compiling in Debugging Flags
Message-ID:  <481BA6EC.2020209@chrismaness.com>
In-Reply-To: <481B9B90.6050906@chrismaness.com>
References:  <alpine.BSF.1.10.0805020730530.6118@ns1.kq6up.org>	<20080502105853.36874cdf.wmoran@potentialtech.com>	<alpine.BSF.1.10.0805020850440.6428@ns1.kq6up.org> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Maness wrote:
> Bill Moran wrote:
>> In response to Chris Maness <chris@chrismaness.com>:
>>
>>  
>>>> Then, ensure the sysctls in the kernel are all frobbed to allow 
>>>> coredumps.
>>>> Specifically:
>>>> kern.coredump: 1
>>>> kern.sugid_coredump: 1
>>>>       
>>> What is frobbed?
>>>     
>>
>> http://en.wikipedia.org/wiki/Frob
>>
>> You need to learn important things like this if you're going to get
>> anywhere in this business ...
>>
>>   
> sysctl -a | grep core
> kern.corefile: %N.core
> kern.nodump_coredump: 0
> kern.coredump: 1
> kern.sugid_coredump: 0
> <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped)
> <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped)
> <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped)
> <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped)
> debug.elf32_legacy_coredump: 0
>
> How do I change the the values?  Also, where do the files go by default?
>
Never mind, I figured it out.  Stay tuned, and I'll have some output.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?481BA6EC.2020209>