zsh-workers
 help / color / mirror / code / Atom feed
* Tough debug: remote core dumps
@ 1997-06-26 13:21 Timothy Luoma
  1997-06-26 15:55 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Timothy Luoma @ 1997-06-26 13:21 UTC (permalink / raw)
  To: ZSH Workers


I am getting core dumps at 4:42am every day on one (remote) account of
mine.

I have no idea whatsoever what is causing this.  I never see a core file
dump.

1) there is a way to use the core files to figure out what is happening
(ie so we can fix it)

or

2) is there a way to prevent the core dump files


Sorry if this is vague, this is my first real experience with core dumps.

zsh version 3.0.0
SunOS kira 4.1.4 6 sun4m

TjL



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

* Re: Tough debug: remote core dumps
  1997-06-26 13:21 Tough debug: remote core dumps Timothy Luoma
@ 1997-06-26 15:55 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 1997-06-26 15:55 UTC (permalink / raw)
  To: luomat, ZSH Workers

This isn't really a zsh thing (unless it turns out to be zsh that has
been crashing), but ...

On Jun 26,  6:21am, Timothy Luoma wrote:
} Subject: Tough debug: remote core dumps
}
} I am getting core dumps at 4:42am every day on one (remote) account of
} mine.

If it's that regular, it's probably the result of a cron job.

Take a look at "man crontab" or if that doesn't work "man cron".  How
you find out what cron jobs are scheduled varies by operating system.
You can try running "crontab -l" to list them, but on some older cron
variants that will not work and may even be harmful, so attempt to
track down the manuals first.  (I believe SunOS 4.1 has "crontab -l".)

If it isn't a cron job belonging to you, it's probably one belonging
to "root" that changes its UID during execution.  Or it may be some
other program that executes on a periodic schedule without using cron,
such as sendmail flushing the mail queues.

If you have a .forward file or .procmailrc or other mail filter, one of
those cron jobs or other periodic tasks may be sending you a message at
the same time every day, and something about that message is causing
your mail filtering software to crash.

} 1) there is a way to use the core files to figure out what is happening
} (ie so we can fix it)

You can try running "file core".  On some systems, this will tell you what
program produced the core file.  (That should work on SunOS.)

You can try "strings core" (on systems with GNU tools you may need to use
"strings -a core" instead) to look for file paths or error text that give
you clues.

} 2) is there a way to prevent the core dump files

There's "limit coredumpsize 0" but you will need to know what is running
the crashing program before you can get the limit into the proper shell
context.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts        http://www.nbn.com/people/lantern


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

end of thread, other threads:[~1997-06-26 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-06-26 13:21 Tough debug: remote core dumps Timothy Luoma
1997-06-26 15:55 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).