On Mon, 01 Mar 2010 22:22:12 you wrote: > > significantly to filling up the hard disk. As we didn't own the source > > code, and there was no effective support from the manufacturer, the core > > files weren't really much use. So the best thing we could do was to > > prevent their creation in the first place, and this can obviously be > > achieved very easily by creating an empty read-only item named "core" on > > the filesystem (in all directories where the app in question might try to > > write a core file) ... > > Probably the better way to suppress said core file behaviour would be to > set appropriate limits on the process environment. In sh and tcsh the > command is ulimit. Set the hard core file size to 0 (no point setting > the soft limits in this case), and if there also is an option to > suppress writing core files altogether, set that too. The crank up your > binary app. A wrapper script would work well. > > Volker >
As a bit of an aside, the last time I built up my server I renamed it WARNING_CORRUPT_DISK On the odd time I have to reboot it, I get a bit of a heart flutter when I see those words scrolling up until I remember my little in joke Kerry