Error messages during installation

Error messages in the order in which the errors can occur.

No more space

# shmmanager6.2 –a
No. of kbytes to be malloc: 4096
no more space
abort – core dumped

Some computer systems place a limit on the amount of virtual memory a process uses. As a result, the shared memory manager cannot allocate 4,096 KB.

Solution: Adjust the kernel parameters.

See Performance.

Cannot create shared-memory segments of 512K

# shmmanager6.2 –a
No. of kbytes to be malloc: 4096
No. of shm segments to be created: 10
shmget errno 22
etc...... 
Errno 22 (EINVAL): The kernel cannot create any shared-memory segments of 512 K (SHMMAX).

Solution: Adjust the kernel parameters.

See Performance.

Not enough virtual memory

# shmmanager6.2 –a
No. of kilobytes to be malloc: 4096
No. of shm segments to be created: 10
shmat errno XX id 46
addr[0]: 0xa40000 id[0]: 40
addr[1]: 0xac0000 id[1]: 41
addr[2]: 0xb40000 id[2]: 42
addr[3]: 0xbc0000 id[3]: 43
addr[4]: 0xc40000 id[4]: 44
addr[5]: 0xcc0000 id[5]: 45
addr[6]: 0xffffffff id[6]: 46 (first invalid segment)
addr[7]: 0 id[7]: 6747 (junk)
addr[8]: 0 id[8]: 9644 (junk)
addr[9]: 0 id[9]: 20492 (junk)
step 0x80000
step 0x80000
step 0x80000
step 0x80000
step 0x80000
step 0x80000
step 0xff53ffff
step 0x1
step 0
ret 0

Errno XX can be:

  • 12 (ENOMEM): The user process does not have sufficient virtual memory.
  • 24 (EMFILE): (In this example) the kernel cannot create more than six shared-memory segments per process (SHMSEG).

Solution: Adjust the kernel parameters.

See Performance.