1844032 Members
3469 Online
110226 Solutions
New Discussion

Call to mmap() failed

 
ZZheng
Occasional Advisor

Call to mmap() failed

Hi,

When in running stress test, got these errors:

/usr/lib/dld.sl: Call to mmap() failed - BSS /usr/lib/libnsl.1
/usr/lib/dld.sl: Not enough space
nph-actuate.cgi[30]: 5026 Abort

I would like to have your help.

Regards,

Zhe
2 REPLIES 2
James Murtagh
Honored Contributor

Re: Call to mmap() failed

Hi,

It looks like you could be out of swap space. Processes in hpux need to reserve swap before they run to garauntee they could page out if necessary. If this is your own program and the OS is at least 11.00 you could perhaps turn lazy swap on with chatr for the executable but I would look at the swap issue first (if indeed that is the problem). When you get this error, run :

# swapinfo -tam

Look for the total swap used percentage at the bottom. If this is near or at 100% you are out of swap space.

Regards,

James.
ZZheng
Occasional Advisor

Re: Call to mmap() failed

Hi,

Thanks,

I forgot to mention that i was running the test on Apach2.x.

Zhe