Operating System - HP-UX
1838571 Members
3281 Online
110128 Solutions
New Discussion

SAM coredumps - Memory fault (coredump)

 
Angela Cotter
Occasional Contributor

SAM coredumps - Memory fault (coredump)

I'm having a problem running sam on a HP K-class server (9000/809), HP-UX 11.00. When I enter "sam" at the command line I immediately get the following error:
Memory fault(coredump)
and am left at the command line.

A "strings core|pg" on the core file shows the following:
[server's name]
B.11.00
9000/809
29359302
o{/dev/console
proc[1] icode: execve("%F") failed, errno %E
?Y+i
?i49
This is followed by a lot of HTML-tagged Spanish.

I've checked my maxdsiz (as suggested by Alex Glennie in an answer to a similar question on this forum) and it seems ok:
# sysdef |grep maxdsiz
maxdsiz 16384 - 256-655360 Pages -

"top" shows that I have 255000K memory free, and there are no obvious (to me at least) errors in the syslog.log or from dmesg.

Does anyone have any suggestions?

Angela
8 REPLIES 8
Helen French
Honored Contributor

Re: SAM coredumps - Memory fault (coredump)

Hi,

Do you have the latest patches loaded on the system ? Apply the SAM Cumulative patch.

HTH,
Shiju
Life is a promise, fulfill it!
MARTINACHE
Respected Contributor

Re: SAM coredumps - Memory fault (coredump)

The latest SAM cumulative patch for HPUX 11.00 is PHCO_23876
Patrice MARTINACHE
Angela Cotter
Occasional Contributor

Re: SAM coredumps - Memory fault (coredump)

Thanks for the patches advice. I'll try that and report back.
Angela Cotter
Occasional Contributor

Re: SAM coredumps - Memory fault (coredump)

It looks like I'm a bit stuck.
I've downloaded PHCO_23436 (the last "HP recommended" cumulative patch for SAM) but when I try to open it:
sh phco_23436
I'm getting my original problem:
Memory fault(coredump)
and returned back to the prompt.

Any ideas anyone?
Helen French
Honored Contributor

Re: SAM coredumps - Memory fault (coredump)

Hi,

You need to trouble shoot the issue. As it give memeory fault for 'sh' too, it can't be a problem specific to SAM. Try these:

1) Check the patch levels. Apply the latest patch bundle from HP.

2) Check the log files for error messages.
3) Run STM tools to check for any hardware errors.

Is there any other commands which give memory dump ? Does the system works fine ?

HTH,
Shiju
Life is a promise, fulfill it!
pap
Respected Contributor

Re: SAM coredumps - Memory fault (coredump)

Hi,
I think you should set your maxdsiz parameter as below :

maxdsiz : 0x7B03A000

This is the max value for HP 11.0

It will be great if you can post "kmtune" output.

Hope this helps.
"Winners don't do different things , they do things differently"
Ajdin Osmanagic
Honored Contributor

Re: SAM coredumps - Memory fault (coredump)

Hello,

SAM might have problems, when opening in certain way, with or without "&". You pointed "sam", try "sam &". May have to do with application running in forground or background. Monitor with "top", what is going on with processes and memory.

Hope this helps,
Ajdin
Ken Stallings
Advisor

Re: SAM coredumps - Memory fault (coredump)

Has anything changed on this system? How long has this system been up?
Since your shell is seg faulting also then you probably have a memory leak in some process and the problem isn't just SAM. If it was just SAM having the problem, and you've recently installed patches or apps on this system, try running swconfig \* . this sometimes fixes the problems with SAM.
For the memory leak, increasing maxdsize will solve the problem but only temporarily. A simple reboot would solve the problem just as well and you'll need to find out what's eating memory.