[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: core dump disable



I don't think it's possible to disable core dumps, but I'm not sure.  I
just thought I'd give you an idea I thought of when reading your post.

Why don't you run this program from a RAM disk?  Mount a ramdrive and copy
the program that dumps core to it.  Make sure the program saves the
product to a real partition.  When It dumps core on the ramdrive it will
not have enough room to save the core file.

I don't know if core goes to /tmp in this situation but it's worth a shot
if there's no way to disable core dumps.

I also wonder if a redirect command can be used to send the core output to
/dev/null?  I've not heard of this so maybe someone with knowledge of core
dumps can tell us if redirecting (2>,>) will redirect a core dump?  I
would be interested in knowing myself.


On Sun, 11 May 1997, G. Kapetanios wrote:

> 
> Hi,
> 
> I have a commercial package for statistics installed on my debian system.
> This is primarily for interactive use but because my programs take a long
> time I run it using the nohup command in the background. The problem is
> that after the program finishes its calculations and before it exits it
> dumps core. This is highly likely caused by a bug in the comercial
> package. The results are not affected. However, the core dumps are large
> since the workfile of the program is dumped ( around 60 Mb ).
> Getting the commercial company to do something about this didn't achieve
> much. So I would like to know if there is away to disable core dumps for
> this specific program or if this is not possible disable core dumps
> completely. I don't get any core dumps apart from those anyway. 
> I would appreciate any help on this very much.
>                                          Thanks 
>                                         George 
> 
> 
> -------------------------------------------------------------------------------
> George Kapetanios
> Churchill College
> Cambridge, CB3 0DS    E-Mail: GK205@cus.cam.ac.uk
> U.K.                  WWW: http://garfield.chu.cam.ac.uk/~gk205/work_info.html
> -------------------------------------------------------------------------------
> 
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org . 
> Trouble?  e-mail to templin@bucknell.edu .
> 



--Rick

rickya@siservices.net


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: