From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,96a2c2bfa7f072ef X-Google-Attributes: gid10b612,public X-Google-Thread: 1020c6,96a2c2bfa7f072ef X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,96a2c2bfa7f072ef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-04-28 18:06:45 PST Xref: gmd.de comp.sys.dec:7357 comp.unix.ultrix:8920 comp.unix.admin:7065 Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!zaphod.mps.ohio-state.edu!caen!batcomputer!munnari.oz.au!newsroom.utas.edu.au!tasman.cc.utas.edu.au!dermoudy From: dermoudy@tasman.cc.utas.edu.au (Julian Dermoudy) Subject: Re: core dump in root directory Message-ID: Keywords: core dump Sender: news@newsroom.utas.edu.au Reply-To: J.R.Dermoudy@cs.utas.edu.au Organization: University of Tasmania, at Hobart. References: <1993Apr27.060736.7445@hp9000.csc.cuhk.hk> Date: Thu, 29 Apr 1993 01:00:02 GMT In <1993Apr27.060736.7445@hp9000.csc.cuhk.hk> b073766@hp9000.csc.cuhk.hk (Alan S H Lam) writes: >Some of our DEC workstation have core dump in root directory periodically. >what is the most common reason for core dump in root directory? I couldn't say, but using the file command (i.e. typing "file /core") should tell you what has dumped the core. >Is there any method to prevent core dump in root directory? For a user of the Cshell you could set a limit, i.e. "limit coredumpsize 0" but for a daemon I don't think you can do it without altering either the source of the program or perhaps the kernel. I have seen a number of OS's that won't dump core if a core file already exists. Perhaps you could "rm /core; touch /core" or maybe create a link from /core to /dev/null? >If you know the solution, please send me a e-mail. I will very >appreciate it. > >Thanks. > >-- >Alan S. H. Lam >Department of Information Engineering, CUHK, Hong Kong >E-mail: shlam@ie.cuhk.hk >Tel: (852) 609 7975 Fax: (852) 603 5032 -Julian. -- Julian Dermoudy AARNet: J.R.Dermoudy@cs.utas.edu.au Department of Computer Science, 'Phone: +61 02 202962 University of Tasmania, Fax : +61 02 202913 GPO Box 252C Hobart, Tasmania, AUSTRALIA, 7001.