1834926 Members
2984 Online
110071 Solutions
New Discussion

not enough space

 
SOLVED
Go to solution
Pelephone System
Frequent Advisor

not enough space

Hi all.
While trying to start apache server I'm getting
a message :"/usr/lib/dld.sl:Not enough space",
"call to mmap()failed".

I guess that it related to shared memory parameter in the kernel.

Someone has an idea?
HPUX sysadmin
3 REPLIES 3
T G Manikandan
Honored Contributor
Solution

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
Robert-Jan Goossens
Honored Contributor

Re: not enough space

Hi,

Europe and Asia
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068955795

US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068955795

Date: 6/17/03
Document description: PHP errors in error_log when starting up HP Apache 2.0.45
Document id: MJFKBRC00012688

Hope it helps,

Robert-Jan.

** edited to comply with ITRC forum guideline **
Zeev Schultz
Honored Contributor

Re: not enough space

Eitan,
Well it could be many things.Basically,dld.sl
is a dynamic loader that maps shared library
into process address space (when process is compiled and linked it has a references to shared libraries which text/data will be added
on a run time).
I'd tun tusc -vpf httpd (or whatever script you use) and see what library Apache tries to load.Can get tusc from hpux.utah.cs.edu.
Also can run ipcs -ma to see shared memory segments.
For more details and shminfo tool please contact hp support center.
So computers don't think yet. At least not chess computers. - Seymour Cray