[Glass] Problem starting GemStone

Mariano Martinez Peck marianopeck at gmail.com
Tue Nov 19 08:14:48 PST 2013


On Tue, Nov 19, 2013 at 12:56 PM, Dale K. Henrichs <
dale.henrichs at gemtalksystems.com> wrote:

> Mariano,
>
> I think that your `kern.sysv.shmall: 8192` might be too small ... on my
> mac I've got `kern.sysv.shmall: 524288` and `kern.sysv.shmmax: 2147483648`,
> but I'm suspicious about the small value of shmall.
>

Thanks DAle, that was it!!!

Of course...

getconf PAGE_SIZE

gave me 4096.  shmall should be at least, shmmax/pageSize.  With yours
524288*4096
I get 2GB which is more than enough with  a shmmax of 1GB.


Thanks!


> Dale
> ------------------------------
>
> *From: *"Mariano Martinez Peck" <marianopeck at gmail.com>
> *To: *glass at lists.gemtalksystems.com
> *Sent: *Tuesday, November 19, 2013 7:22:20 AM
> *Subject: *[Glass] Problem starting GemStone
>
>
> Hi guys,
>
> I am trying to start GemStone and I have this error in
> the seaside_534pcmon.log.
>
>  GemStone could not retrieve the IPC identifier associated with the memory
> |
> |   key -234568194.  shmget() error = errno=12,ENOMEM, Not enough core
> (memory|
> | exhausted, or user quota exceeded).
>
> I have this:   SHR_PAGE_CACHE_SIZE_KB = 500000;
> And my kernel answers:
>
> kern.sysv.shmmax: 1073741824
> kern.sysv.shmmin: 1
> kern.sysv.shmmni: 256
> kern.sysv.shmseg: 64
> kern.sysv.shmall: 8192
>
> So I have set 1gb in shmmax and my SHR_PAGE_CACHE_SIZE_KB is 500 MB.
>
> I also trying removing the stuff in /opt/gemstone/locks/  but same problem.
>
> SHR_PAGE_CACHE_NUM_PROCS is 49.
>
> ipcs  shows:
>
>
> % ipcs -a
> dyld: DYLD_ environment variables being ignored because main executable
> (/usr/bin/ipcs) is setuid or setgid
> IPC status from <running system> as of Tue Nov 19 12:18:35 ART 2013
> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP CBYTES
>  QNUM QBYTES LSPID LRPID   STIME    RTIME    CTIME
> Message Queues:
> q  65536 0x000463c1 --rw-------  mariano    staff  mariano    staff      0
>      0   2048      0      0 no-entry no-entry 12:09:02
>
> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NATTCH
>  SEGSZ  CPID  LPID   ATIME    DTIME    CTIME
> Shared Memory:
> m  65536 0x0052e2c1 --rw-------  mariano    staff  mariano    staff      5
> 32374784    321    321 12:09:01 12:09:01 12:09:01
>
> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NSEMS
>   OTIME    CTIME
> Semaphores:
> s  65536 0x0052e2c1 --ra-------  mariano    staff  mariano    staff     17
> 12:09:01 12:09:01
> s  65537 0x0052e2c2 --ra-------  mariano    staff  mariano    staff     17
> 12:09:01 12:09:01
> s  65538 0x0052e2c3 --ra-------  mariano    staff  mariano    staff     17
> 12:09:01 12:09:01
> s  65539 0x0052e2c4 --ra-------  mariano    staff  mariano    staff     17
> 12:09:01 12:09:01
> s  65540 0x0052e2c5 --ra-------  mariano    staff  mariano    staff     17
> 12:09:01 12:09:01
> s  65541 0x0052e2c6 --ra-------  mariano    staff  mariano    staff     17
> 12:09:01 12:09:01
> s  65542 0x0052e2c7 --ra-------  mariano    staff  mariano    staff     17
> 12:09:01 12:09:01
> s  65543 0x000463c1 --ra-------  mariano    staff  mariano    staff      1
> 12:09:02 12:09:02
>
>
> I don't know much about ipcs but Shared Memory for the column QBYTES
> shows 32374784 (32MB)...
>
> I also attach logs just in case.
>
> Thanks for any help.
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131119/d0abd43d/attachment.html>


More information about the Glass mailing list