cancel
Showing results for 
Search instead for 
Did you mean: 

SAM doesn't start

Cavazza Davide
Occasional Advisor

SAM doesn't start

I receive this error when try to execute SAM:

Problem description submitted:
# sam
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/lib/librwtool.2
/usr/lib/dld.sl: Not enough space
/usr/sbin/sam[220]: 29482 Abort(coredump)
#

Could you help me ?
13 REPLIES 13
MarkSyder
Honored Contributor

Re: SAM doesn't start

Not enough space:

Have you run bdf to see if a filesystem (probably /var) is full?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Cavazza Davide
Occasional Advisor

Re: SAM doesn't start

this is the situation:

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 50301 144890 26% /
/dev/vg00/lvol1 299157 45296 223945 17% /stand
/dev/vg00/lvol5 2048000 256775 1679348 13% /var
/dev/vg00/lvol7 1028096 793761 219761 78% /usr
/dev/vg00/lvol4 204800 1749 190685 1% /tmp
/dev/vg02/lvol2 33509376 26091532 7311064 78% /space
/dev/vg00/lvol9 4329472 1707502 2458942 41% /prod
/dev/vg01/lvol1 35557376 34204984 1341904 96% /prod/v86e/db
/dev/vg02/lvol1 2048000 340498 1600785 18% /prod/v86e/bi
/dev/vg00/lvol6 753664 518075 220898 70% /opt
/dev/vg00/lvol8 4706304 1093280 3387381 24% /home
s1hp_006:/tecnico/share
7301316 2756713 4471589 38% /prn
s1hp_001:/home 3891200 718456 2985656 19% /backupsrv
#

/var have 13% used ..
Bharat Katkar
Honored Contributor

Re: SAM doesn't start

Message contains a hyperlink

Hi,
What is think from the error message is that your system is running out of space.
Check the "bdf" output and try freeing some space.
It could be /var or /tmp that is getting full.

Regards,

ps. Regarding your previous post 1 is useless solution and points 10 is the usefull solution. :)). But never mind, i am happy to see that working:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=824469

You need to know a lot to actually know how little you know
Eric Antunes
Honored Contributor

Re: SAM doesn't start

Hi,

To me it seems a out-of-memory issue or a kernel maximum value that has been reached!

Can you post the output of:

#swapinfo -tam

What is your shmmax value:

#kmtune -lq shmmax

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: SAM doesn't start

Check also maxssiz and maxdsiz witch have too low default values (64Mb I think...)
Each and every day is a good day to learn.
Cavazza Davide
Occasional Advisor

Re: SAM doesn't start

# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 2290 -2290
memory 2337 557 1780 24%
total 6433 2847 3586 44% - 0 -
#


# kmtune -lq shmmax
Parameter: shmmax
Current: 0x80000000
Planned: 0X80000000
Default: 0X4000000
Minimum: -
Module: -
Version: -
Dynamic: Yes
#

What do you think ?
Bharat Katkar
Honored Contributor

Re: SAM doesn't start

Message contains a hyperlink
hi,

Go thr' the link below:

http://www.xilinx.com/xlnx/xil_ans_display.jsp?getPagePath=1245&iLanguageID=1

Hope that helps,.
Regards,
You need to know a lot to actually know how little you know
Cavazza Davide
Occasional Advisor

Re: SAM doesn't start

# kmtune -lq maxssiz
Parameter: maxssiz
Current: 0x800000
Planned: 0X800000
Default: 0x00800000
Minimum: -
Module: -
Version: -
Dynamic: No
#
# kmtune -lq maxdsiz
Parameter: maxdsiz
Current: 0x10000000
Planned: 0X10000000
Default: 0x10000000
Minimum: -
Module: -
Version: -
Dynamic: No
#
Highlighted
Bharat Katkar
Honored Contributor

Re: SAM doesn't start

Message contains a hyperlink
Sorry that link is not HPUX sapecific.

GO thr' this link:

http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0007a&L=sas-l&F=&S=&P=6523
You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: SAM doesn't start

Message contains a hyperlink
Sorry for mulitple replies but i found this similar thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=42303

Regards,
You need to know a lot to actually know how little you know
Darrel Louis
Honored Contributor

Re: SAM doesn't start

Message contains a hyperlink
Hi,

Check the following:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=820522

The problem is kernel (memory) related.
max?siz and shm???

Regards

Darrel
Eric Antunes
Honored Contributor

Re: SAM doesn't start

Hi,

I think you have a too high shmmax (34359738368 in decimal numbers!). Try a change to (since you seem to have 4Gb):

shmmax = 3221225472 (do this in SAM, it's the easy way)

Eric Antunes

Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: SAM doesn't start

The change in shmmax is because you have a too high reserved memory, compared with the physical available. See mine (only some 30% are reserved):

reserve - 349 -349
memory 1061 306 755 29%
Each and every day is a good day to learn.