1834480 Members
3540 Online
110067 Solutions
New Discussion

Not enough space

 
Watcharin_1
Occasional Advisor

Not enough space

Dear,

I got this message quit often.

hotcb:/globuslive#sam
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/obam/lib/libobam.1
/usr/lib/dld.sl: Not enough space

I have check disk space (using bdf) all file system spaces are available. I thought it could be a memory. Do you have an idea what kernel parameters I need to extend or reduce?

Thank you in advance
Watcharin
8 REPLIES 8
Chakravarthi
Trusted Contributor

Re: Not enough space

I can give a few hints of things you can pursue.

The first is to make sure that you have all of the large-memory patches, and it looks like you are using java, so all of those patches as well.

Secondly, mmap() doesn't appear to be supported beyond the first 2 Gigs of space, so that might explain why you would be running out of memory.

One other test you can do is to allocate a HUGE amount of swap and see if that resolves the problem. HP-UX will frequently be bound by insufficient swap, even if you have plenty of physical memory.

Best of luck
T G Manikandan
Honored Contributor

Re: Not enough space

The error is due to
1.Amount of memory and swap available.
If you have 80% used.
What is the value of dbc_max_pct on your kernel.
If it is 50% of memory bring it down.The value depends the amount of RAM on the server.
Make sure that you keep it to around 300MB.

The buffer cache half the memory is too high.

check the individual process usage using
UNIX95= ps -e -o ruser,pid,vsz=Kbytes

to check the process usage by each process.
How is the usage of the swap on the machine
Just do a
swapinfo -ta

you can use glance to monitor the process which is throwing out the error.

2.If the amount of memory used is less and there is quite amount of free memory available then

You have to increase your kernel parameters like
These paramters define the upper limit for a process.
They have default values like 8MB.

maxdsiz
maxdiz_64
maxssiz
maxssiz_64
maxtsiz
maxtsiz_64
ALso make sure that you check these values.

Revert with the amount of swap utilization
Watcharin_1
Occasional Advisor

Re: Not enough space

Manikanda,

I giving you more infomation, please suggest.

dbc_max_pct 50

maxdsiz 1342177280
maxdsiz_64bit 17179869184

maxssiz 8388608
maxssiz_64bit 1073741824

hotcb2:/globuslive# sar -v 1 5

HP-UX hotcb2 B.11.11 U 9000/800 12/18/02

15:42:27 text-sz ov proc-sz ov inod-sz ov file-sz ov
15:42:28 N/A N/A 401/8212 0 0/10308 0 9237/18917 0
15:42:29 N/A N/A 401/8212 0 0/10308 0 9235/18917 0
15:42:30 N/A N/A 401/8212 0 0/10308 0 9235/18917 0
15:42:31 N/A N/A 401/8212 0 0/10308 0 9235/18917 0
15:42:32 N/A N/A 401/8212 0 0/10308 0 9235/18917 0

hotcb2:/globuslive# vmstat 1 5
procs memory page
faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
3 0 0 234200 13121 408 76 1 0 0 0 0 484 11534 515 7 9 83
3 0 0 234200 13080 303 32 3 0 0 0 0 529 5287 656 4 12 84
3 0 0 234200 12942 336 36 3 0 0 0 0 551 6448 648 8 19 73

hotcb2:/globuslive# swapinfo -ta
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 374744 3819560 9% 0 - 1 /dev/vg00/lvol2
reserve - 793588 -793588
memory 2387928 1953516 434412 82%
total 6582232 3121848 3460384 47%

Thank you
Watcharin
T G Manikandan
Honored Contributor

Re: Not enough space

First bring down the dbc_max_pct to 10 or 12 from 50.
you have RAM >2GB.
The dynamic buffer cache can be kept around 250MB.

Revert
harry d brown jr
Honored Contributor

Re: Not enough space

Have a look at this: http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html

live free or die
harry
Live Free or Die
Jean-Louis Phelix
Honored Contributor

Re: Not enough space

Hi,

You could also check permissions on Shared Libraries. Remember that if it has any write permission set, then every processes loading this library will get its own copy. A shared library should always have read and execute permissions only.

Regards.
It works for me (© Bill McNAMARA ...)
Steven E. Protter
Exalted Contributor

Re: Not enough space

HP-UX swap rule.

Swap = twice physical memory.

According to HP this is a good rule up until you reach 16G of physical memory.

Failure to follow this rule has caused me extreme pain in the past, and I now follow it.

I'm a Systems Administrator, not a masochist. I think.

Good luck.

assign these people some points dude, they're giving you great advice.

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
Watcharin_1
Occasional Advisor

Re: Not enough space

Thank a lot for all suggestion.


Regards,
Watcharin