redirecting application core

2007-12-25 9:51:00

> 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.

Comments

Got something to say?

You must be logged in to post a comment.