Hi. I was trying James GemStone.app and I have an error while trying to start GemStone:
The error seems trying to start the share page cache monitor. I did authenticated and included my password in the Helper Tool in the GemStone.app. I attach both logs. I think they key part is this one:
| GemStone could not retrieve the IPC identifier associated with the memory | | key 973350908. shmget() error = errno=12,ENOMEM, Not enough core (memory |
| exhausted, or user quota exceeded). | | | file not found: /Users/mariano/Library/GemStone/db1/locks/gs64stone1~a5c819a5365fda04..LCK GemStone could not attach to the shared page cache.
[SpcMon trace]: ... cache creation failed ... BTW, my system.conf has this line (in case it helps): SHR_PAGE_CACHE_SIZE_KB = 131072; I tried decreasing this number but when I start from the app it seems it automatically set back the that number. In addition, from the UI I CANNOT change the 128 (it is grayed out). Executing this in a terminak: "sysctl -A | grep shm" gives me kern.sysv.shmmax: 147587072 kern.sysv.shmmin: 1 So...just in case, I tried:
sudo sysctl -w kern.sysv.shmmax=1073741824 But still, same problem. Finally, I don't know why gemstone pcmon log shows: RUNNING ON: 2-CPU MacBook-Pro-de-Mariano.local x86_64 (Darwin 12.5.0 ) 2530MHz | MacBookPro5,1 2048MB while my machine has 8GB of RAM.... Thanks for any help,
Mariano http://marianopeck.wordpress.com _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Well, it is exactly this sort of problem that we are supposed to help you avoid, so a patient beta tester is appreciated! I'll take a look and have some comments later today…
On Oct 2, 2013, at 11:15 AM, Mariano Martinez Peck <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
No problem James. Thanks for the kind answer. Let me know if there is anything else I can do to help. On Wed, Oct 2, 2013 at 3:19 PM, James Foster <[hidden email]> wrote:
Mariano http://marianopeck.wordpress.com _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by James Foster-9
Hi James,
I'm trying to connect to GemStone with Jade but i have a similar problem. GemStone: Error Fatal Unable to attach to shared cache, GemStone could not retrieve the IPC identifier associated with the memory key -1006564228. shmget() error = errno=13,EACCES, Authorization failure (permission denied). Error Category: 231169 [GemStone] Number: 4139 Arg Count: 1 Context : 20 exception : 20 Arg 1: 20 GemStone Processes [tom@localhost root]$ gslist -lcv Status Version Owner Pid Port Started Type Name ------- --------- --------- ----- ----- ------------ ------ ---- OK 3.1.0.4 root 2611 37299 Oct 03 02:10 cache seaside~4ff945e75c23133b OK 3.1.0.4 tom 2682 50377 Oct 03 02:10 Netldi gs64ldi OK 3.1.0.4 root 2609 50458 Oct 03 02:10 Stone seaside Still trying regards, bruno |
Hi Bruno,
Okay. This was helpful. It appears that you have a stone running (named 'seaside') that was started as root. I assume that this was started outside GemStone.app. Is that correct? If so then I think I know what is going on. When GemStone.app tries to start a stone it ensures that there is enough shared memory for the stone it is about to start. It does not look to see if anyone else is already using the allowed shared memory. If someone else is already using it then we will get exactly the error you see. I'm right now in the process of testing a new build that just changes the OS configuration to say that all memory could be used for shared memory. This should address things (as long as you don't run too many stones or make them too large!). To test this you might stop the root-based stone or try a new stone with a very small SPC. Also, what do you get from 'sysctl -a | grep kern.sysv.shm'? We are particularly interested in shmmax and shmall. Then, what do you get from 'ipcs -a'? James On Oct 2, 2013, at 5:13 PM, BrunoBB <[hidden email]> wrote: > Hi James, > > I'm trying to connect to GemStone with Jade but i have a similar problem. > GemStone: Error Fatal > Unable to attach to shared cache, GemStone could not retrieve the > IPC identifier associated with the memory > key -1006564228. shmget() error = errno=13,EACCES, Authorization > failure (permission denied). > > Error Category: 231169 [GemStone] Number: 4139 Arg Count: 1 Context : 20 > exception : 20 > Arg 1: 20 > > GemStone Processes > [tom@localhost root]$ gslist -lcv > Status Version Owner Pid Port Started Type Name > ------- --------- --------- ----- ----- ------------ ------ ---- > OK 3.1.0.4 root 2611 37299 Oct 03 02:10 cache > seaside~4ff945e75c23133b > OK 3.1.0.4 tom 2682 50377 Oct 03 02:10 Netldi gs64ldi > OK 3.1.0.4 root 2609 50458 Oct 03 02:10 Stone seaside > > Still trying > > regards, > bruno > > > > -- > View this message in context: http://forum.world.st/Glass-Problem-starting-GemStone-from-OSX-app-tp4712010p4712093.html > Sent from the GLASS mailing list archive at Nabble.com. > _______________________________________________ > Glass mailing list > [hidden email] > http://lists.gemtalksystems.com/mailman/listinfo/glass _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Hi James,
That was a fast answer !!!. Thanks for your comments, i restarted GemStome as a normal user and now i can login from Jade. If you need me to test some configuration with the loging just tell me. Regards, Bruno |
In reply to this post by Mariano Martinez Peck
I have uploaded GemStone.app version 1.2.1 that should configure the OS to allow all the memory to be used as shared memory. I think this should address this error. Please let me know how it goes…
James On Oct 2, 2013, at 11:50 AM, Mariano Martinez Peck <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Hi james, I can confirm that that solved my problem. I got last version and I could start Gemstone :) BTW, is this GemStoneApp.dmg linked from other place (GemTalks website)? I always need to find your blog post to get this link: http://seaside.gemtalksystems.com/jade/GemStoneApp.dmg
Thanks! On Wed, Oct 2, 2013 at 10:49 PM, James Foster <[hidden email]> wrote:
Mariano http://marianopeck.wordpress.com _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |