Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tough debug: remote core dumps
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author