Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* core dump in root directory
@ 1993-04-27  6:07 Alan S H Lam
  1993-04-27 14:48 ` Andre Beck
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alan S H Lam @ 1993-04-27  6:07 UTC (permalink / raw)


Some of our DEC workstation have core dump in root directory periodically.
what is the most common reason for core dump in root directory?
Is there any method to prevent core dump in root directory?
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-27  6:07 core dump in root directory Alan S H Lam
@ 1993-04-27 14:48 ` Andre Beck
  1993-04-27 15:25   ` Marcus J Ranum
  1993-04-28  8:01 ` Guenter Schmaderer
  1993-04-29  1:00 ` Julian Dermoudy
  2 siblings, 1 reply; 10+ messages in thread
From: Andre Beck @ 1993-04-27 14:48 UTC (permalink / raw)



In article <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?

X Server crashs

|> Is there any method to prevent core dump in root directory?
|> If you know the solution, please send me a e-mail. I will very
|> appreciate it.

ln -s /dev/null /core

--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------------+-o-+


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-27 14:48 ` Andre Beck
@ 1993-04-27 15:25   ` Marcus J Ranum
  1993-04-27 16:15     ` Dave Sill
  1993-04-29 10:29     ` Terry Kennedy, Operations Mgr.
  0 siblings, 2 replies; 10+ messages in thread
From: Marcus J Ranum @ 1993-04-27 15:25 UTC (permalink / raw)


>|> Is there any method to prevent core dump in root directory?

	Run strings on the core dump and try to find out what application
dumped core. Then call your vendor and file a bug report. If you have
software maintenance, and it's not fixed, point out that you're not getting
your money's worth and that you'll take your business elsewhere.(*)

	Vendors (all of them) have been getting away for much too long
selling broken software.

mjr.

(*) Before everyone flames me and tells me that this is ridiculous and
that all versions of operating systems have bugs, consider what would
happen if everyone actually started doing this, and/or if everyone started
putting penalty clauses in those big multi-million-dollar government
contracts for vendors that fail to fix documented bugs during a normal
release cycle.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-27 15:25   ` Marcus J Ranum
@ 1993-04-27 16:15     ` Dave Sill
  1993-04-29 10:29     ` Terry Kennedy, Operations Mgr.
  1 sibling, 0 replies; 10+ messages in thread
From: Dave Sill @ 1993-04-27 16:15 UTC (permalink / raw)


In article <1rjj9i$5vt@sol.TIS.COM>, mjr@tis.com (Marcus J Ranum) writes:
>
>	Run strings on the core dump and try to find out what application
>dumped core. Then call your vendor and file a bug report. If you have
>software maintenance, and it's not fixed, point out that you're not getting
 ~~~~~~~~~~~~~~~~~~~~
>your money's worth and that you'll take your business elsewhere.(*)
>
>	Vendors (all of them) have been getting away for much too long
>selling broken software.

I absolutely agree, but why should customers have to pay extra for software
maintenance to get what they paid for originally?  I don't expect new features
for free, but I do think bug fixes ought to be available to everyone with the
right to use the software for a nominal media fee, at most.  The practice of
selling a product advertised to do "x", but charging customers extra for a
working "x" is immoral.

>(*) Before everyone flames me and tells me that this is ridiculous and
>that all versions of operating systems have bugs,

I don't expect perfection, but I do expect to get what I paid for.  When the
vendor learns of a deficiency in their product, they should see to it that
customers can get that deficiency fixed without the company profitting.

>consider what would happen if everyone actually started doing this,
>and/or if everyone started
>putting penalty clauses in those big multi-million-dollar government
>contracts for vendors that fail to fix documented bugs during a normal
>release cycle.

The latter is easier said than done, unfortunately.  The contracts I've worked
on have gone as far as requiring the vendor to supply us available patches, but
even that took some work.  And if a vendor didn't meet the requirement what
would happen?  Would they get penalized?  Would they lose the contract?  Nope,
they'd get a slap on the wrist.  We could "demand" fixes, but the fact is it
wouldn't make much difference.

-- 
Dave Sill (de5@ornl.gov)                 Computers should work the way beginners
Martin Marietta Energy Systems           expect them to, and one day they will.
Workstation Support                                                -- Ted Nelson


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-27  6:07 core dump in root directory Alan S H Lam
  1993-04-27 14:48 ` Andre Beck
@ 1993-04-28  8:01 ` Guenter Schmaderer
  1993-04-30 16:07   ` D. F. Phillips
  1993-04-29  1:00 ` Julian Dermoudy
  2 siblings, 1 reply; 10+ messages in thread
From: Guenter Schmaderer @ 1993-04-28  8:01 UTC (permalink / raw)


In article <1993Apr27.060736.7445@hp9000.csc.cuhk.hk> b073766@hp9000.csc.cuhk.hk (Alan S H Lam) writes:

>Is there any method to prevent core dump in root directory?

A simple way to prevent core dumps is to create a directory
named core in the directory where you want to get rid of
real core dumps.

BTW, this works fine in demo directories as well.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-27  6:07 core dump in root directory Alan S H Lam
  1993-04-27 14:48 ` Andre Beck
  1993-04-28  8:01 ` Guenter Schmaderer
@ 1993-04-29  1:00 ` Julian Dermoudy
  2 siblings, 0 replies; 10+ messages in thread
From: Julian Dermoudy @ 1993-04-29  1:00 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-27 15:25   ` Marcus J Ranum
  1993-04-27 16:15     ` Dave Sill
@ 1993-04-29 10:29     ` Terry Kennedy, Operations Mgr.
  1 sibling, 0 replies; 10+ messages in thread
From: Terry Kennedy, Operations Mgr. @ 1993-04-29 10:29 UTC (permalink / raw)


In article <1rjj9i$5vt@sol.TIS.COM>, mjr@tis.com (Marcus J Ranum) writes:
> 	Run strings on the core dump and try to find out what application
> dumped core. Then call your vendor and file a bug report. If you have
> software maintenance, and it's not fixed, point out that you're not getting
> your money's worth and that you'll take your business elsewhere.(*)

  Of course, if Ultrix was keeping up with not-so-recent developments in
Berkeley Unix, it would be core.programname and not just core.

  This could be the result of a hardware problem as well as a software bug.
Fell free to call the hardware support folks (assuming you have a support
contract) and make _them_ prove it's a software problem.

	Terry Kennedy		Operations Manager, Academic Computing
	terry@spcvxa.bitnet	St. Peter's College, Jersey City, NJ USA
	terry@spcvxa.spc.edu	+1 201 915 9381


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-28  8:01 ` Guenter Schmaderer
@ 1993-04-30 16:07   ` D. F. Phillips
  1993-05-04 17:30     ` Michael Meissner
  0 siblings, 1 reply; 10+ messages in thread
From: D. F. Phillips @ 1993-04-30 16:07 UTC (permalink / raw)


How 'bout just:

	limit coredumpsize 0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-04-30 16:07   ` D. F. Phillips
@ 1993-05-04 17:30     ` Michael Meissner
  1993-05-04 20:34       ` Shari Deiana
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Meissner @ 1993-05-04 17:30 UTC (permalink / raw)


In article <C6B0rt.G4p@monowave.com> dp@monowave.com (D. F. Phillips) writes:

| How 'bout just:
| 
| 	limit coredumpsize 0

This doesn't work for daemons, X servers, and such (which are typically the
things that drop core in / anyway).
--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

You are in a twisty little passage of standards, all conflicting.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: core dump in root directory
  1993-05-04 17:30     ` Michael Meissner
@ 1993-05-04 20:34       ` Shari Deiana
  0 siblings, 0 replies; 10+ messages in thread
From: Shari Deiana @ 1993-05-04 20:34 UTC (permalink / raw)



Why not just make a directory /core?  No file can write over it.

(thanks aej :)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1993-05-04 20:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-27  6:07 core dump in root directory Alan S H Lam
1993-04-27 14:48 ` Andre Beck
1993-04-27 15:25   ` Marcus J Ranum
1993-04-27 16:15     ` Dave Sill
1993-04-29 10:29     ` Terry Kennedy, Operations Mgr.
1993-04-28  8:01 ` Guenter Schmaderer
1993-04-30 16:07   ` D. F. Phillips
1993-05-04 17:30     ` Michael Meissner
1993-05-04 20:34       ` Shari Deiana
1993-04-29  1:00 ` Julian Dermoudy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox