[GemStone-Smalltalk] Problems starting my stone.

Dale Henrichs dale.henrichs at gemtalksystems.com
Mon Oct 21 15:16:28 PDT 2019


Does the `HostAllocateFromReservedMemory` error happen every time you 
stop the stone?

The problem that I remember is that the error would show up after using 
the system for awhile. It's been a couple of years since I had a Mac 
laptop and it was several years before that that I recall seeing the 
issue of "sticky shared memory".

What version of the mac os are you using?

Dale

On 10/21/19 3:11 PM, ian via GemStone-Smalltalk wrote:
> 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
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk


More information about the GemStone-Smalltalk mailing list