[GemStone-Smalltalk] Problems starting my stone.

ian ian at icjohnson.com
Mon Oct 21 15:11:06 PDT 2019


Hi Dale,

Thanks.  This seems to be the problem.  I find it odd tho as using the sys
admin guide I set shared mem to 75% of total real mem in the system.conf
file.

The machine I have now (a dell box with 8GB RAM) is running with a single
stone and nothing else (as in only system services and rsync.

The output of ipcs -mp is:

ian at desktop:~$ ipcs

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages    

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 4          ian        600        524288     2          dest         
0x9c02000a 5          ian        660        126713856  4                       
0x00000000 6          ian        600        6778880    2          dest         
0x00000000 7          ian        600        6778880    2          dest         
0x00000000 17         ian        600        1540096    2          dest         
0x00000000 27         ian        600        1540096    2          dest         
0x00000000 36         ian        600        1703936    2          dest         
0x00000000 44         ian        600        1568768    2          dest         
0x00000000 45         ian        600        7057408    2          dest         
0x00000000 46         ian        600        7057408    2          dest         
0x00000000 49         ian        600        86016      2          dest         
0x00000000 50         ian        600        86016      2          dest         
0x00000000 51         ian        600        184320     2          dest         
0x00000000 52         ian        600        184320     2          dest         

------ Semaphore Arrays --------
key        semid      owner      perms      nsems     
0x9c02000a 0          ian        660        105       

It seems that upon startup of the netldi and the stone all is fine.  As soon
as I try to stop the stone I get the error:

ian at desktop:~$ stopstone                                                            
HostAllocateFromReservedMemory: mmap() failed, address 0x7f881245c000, size
65536, e
rrno 1                                                                              
  Operation not permitted                                                           
om::AllocateMemory failed for 50000KBytes, cannot login                        

+--------------------------------------------------------------------+
|       !!! FATAL ERRORS IN GemStone CONFIGURATION FILES !!!         |
| Syntax errors, or values that are out of range are listed above,   |
| preceding the summary of non-default values.                       |
|                                                                    |
| Also check your configuration files for proper location and        |
| and values.  Consult your System Administrator's Guide             |
| for more information.                                              |
+--------------------------------------------------------------------+

My shared mem as per sysctl.conf is:

ernel.shmmax=6289096704
kernel.shmall=1572274

Is there a setting in the gemstone system.conf file that you know of that
would resole this so a reboot is not necessary (seems clumsy).

Thanks!





--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html


More information about the GemStone-Smalltalk mailing list