SUMMARY: redirecting application core

From: Ku, Eddie (TKU@atlanta.glenayre.com)
Date: Wed Mar 25 1998 - 14:04:41 CST


> My original question was:
>
> > Sun Managers:
> >
> > While limit/ulimit affects the size of a core file, are there any
> > tunable parameters for either changing the default core dump file
> > location or forcing/redirecting core files?
> >
>
> Location. Redirection. Thanks again.

I did not find the Silver Bullet (C) I was hoping for, however I still
like to thank everyone who replied.

Majority of the respondents misread my question and explained
limit/ulimit back to me, while the rest pointed to savecore in
/etc/init.d/rc.*/*

The few viable alternatives were suggested by:
=-=-=-=-=-=-=-=-=-
David Harte [david.harte@hos.horizon.ie]
poking around genunix (kernel) which unfortunately I was not prepared to
do,
-=-=-=-=-=-=-=-=-=
Peter Bestel [peter.bestel@uniq.com.au]
Kevin.Sheehan@uniq.com.au
Both suggested putting the application in jail (ie in a chrooted
environment, either in the original program or through a wrapper)
=-=-=-=-=-=-=-=-=
Petri Kallberg - Sun Finland - [Petri.Kallberg@Finland.Sun.COM]
Use symbolic link to put $CWD/core ---> to some other file location.

But apparently there is not a way, not just under Solaris/SunOS, to do
this effectively.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:34 CDT