1832339 Members
2557 Online
110041 Solutions
New Discussion

Re: core dumps

 
Rob O'Connor
Advisor

core dumps

Hello Everyone:
Kinda odd question. Several of our oracle programmers complaining that the system has too much core dumps. I checked perf view and glance plus for possible problems. Looking for application and any process that may be of conflict. There was nothing out of the ordinary except high memory usage. I set the kernal parameters much higher and still the same problem. I was wondering if anyone has run to similar situation and can recommend performance tuning. It's possible that the hardware is unable to support the database but I need to all other possibility. Thank you all for your help.

H
9 REPLIES 9
Ramkumar Devanathan
Honored Contributor

Re: core dumps

Cheryl Griffin
Honored Contributor

Re: core dumps

What version of Oracle? What version of HP-UX?
"Downtime is a Crime."
Steven E. Protter
Exalted Contributor

Re: core dumps

If its a real core dump, try q4 analysis. Instructions attached:

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rob O'Connor
Advisor

Re: core dumps

sorry,

L2000 server -2 360mhz processor. 2GB RAM.

Running 11.11 and oracle 9i.

Thanks.
Paddy_1
Valued Contributor

Re: core dumps

can you give me the output of the following core analysis program.that would yield me more info to solve the problem
The sufficiency of my merit is to know that my merit is NOT sufficient
Bill McNAMARA_1
Honored Contributor

Re: core dumps

file core

to find out what application core dumped.

what core

to find out the application software versions.


a quick and dirty core analysis would be to use
# gdb /path/to/application /path/to/core
(gdb) bt
.
.
.
(gdb) quit
#

This will give you the stack trace of the core dump. Note that the application and core need to be gdb'd on the same (or equally sw installed) host.

Delving deeper into cores requires application source code. But just install latest patches on your box and check your kernel params based on the reason for the core.

LAter,
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: core dumps

file core

to find out what application core dumped.

what core

to find out the application software versions.


a quick and dirty core analysis would be to use
# gdb /path/to/application /path/to/core
(gdb) bt
.
.
.
(gdb) quit
#

This will give you the stack trace of the core dump. Note that the application and core need to be gdb'd on the same (or equally sw installed) host.

Delving deeper into cores requires application source code. But just install latest patches on your box and check your kernel params based on the reason for the core.

LAter,
Bill

PS: get gdb from http://www.hp.com/go/developer
(http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,548,00.html)
It works for me (tm)
Rob O'Connor
Advisor

Re: core dumps

Thanks everyone. Just talk with several programmers. They just clean all the core files and core dumps. I looked up the info Steve and Bill provided but since core dumps has just be cleaned, there wasn't much useful info. I'll keep you up to date. Thanks again
Pete Randall
Outstanding Contributor

Re: core dumps

To tell you the truth, I suspect poor programming practices on the part of your developers, but it's possible that you may be able to do some tuning that might help.

As far as having lots of core dumps around, using up file system space. Try putting the following entry in cron to remove core files older than two days:

00 02 * * * /usr/bin/find / -type f -name "core" -mtime +2 -exec rm {} \;


Pete

Pete