Core dump
Hi,
do you know, why each time i shutdown the Sunmc Server components, it will generates Sunmc core dump?
Is the shutdown not graceful?
Is there way to turn it off? (Takes alot of Hdspace)
Also how to use the core file?
Currently i'm using Sunmc 3.6 version.
Sample of the core file:
/var/core/core_servername_oracle_10003_1005_1156141260_23443
Thanks, cheerssss
# 1
Have you changed /etc/coreadm.conf and set the path of core dump by doing
coreadm -e log -e global -g /var/core/core.%f.%p.%n.%u.%g.%t -i /var/core/core.%f.%p.%n.%u.%g.%t
Also please grep for ' ulimit -c 0' in /opt/SUNWsymon/sbin/db-stop . If this line is commented then please uncomment it .
This is a bug on sunmc ( Bug ID 5103168 ) which is a TPD on Oracle. You can do the above change and it should work.
HTH
Gaurav
# 2
Hi Gaurav,
Thanks for the info and help.
But i'm not too sure of the command below. What does it do?
coreadm -e log -e global -g /var/core/core.%f.%p.%n.%u.%g.%t -i /var/core/core.%f.%p.%n.%u.%g.%t
Actually i want Sunmc Server to stop generating core dump whenever it shutdown, whether is graceful or not graceful shutdown.
I had checked the "/opt/SUNWsymon/sbin/db-stop" file. It was not commented.