Ciao,
i have a Ubuntu system where i load Development Kit Server Installation and installServer devkit 3.1.0.6 After installation all works fine and i can login the repository from Gemtools. Now i reboot the system and the startStone devkit answer:
The relative devkit.log report: Thanks for any consideration. Dario P.S. After reboot the system, before any other command, i do the command : apt-get install gdisk. Can this create some problem? _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ciao, i have a doubt. I need to create a Glass user profile? Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ciao. i create a 'glass' user profile with the : sudo adduser glass command. But when i startStone devkit the system answer the same error.
The *pcmon.log report: _____________________________________________________________________________ | GemStone Child Task | | | | VERSION: 3.1.0.6, Thu Apr 17 16:12:14 2014 | | BUILD: gss64_3_1_0_5_x_branch-33242 | | BUILT FOR: x86-64 (Linux) | | MODE: 64 bit | | RUNNING ON: 4-CPU scandella x86_64 (Linux 3.13.0-24-generic #46-Ubuntu SMP | | Thu Apr 10 19:11:08 UTC 2014) 7789MB | | PROCESS ID: 10799 DATE: 02/24/15 10:59:58 CET | | USER IDS: REAL=scandella (1000) EFFECTIVE=scandella (1000) | | COMMAND: /opt/oodb/gsDevKitHome/gemstone/products/GemStone64Bit3.1.0.6-x86_64.Linux/sys/startshrpcmon | devkit~9af495ccd1149d82 31250 49 0 5000 3906 1 1900 0 432 | |_____________________________________________________________________________| SharedPageCache Monitor Summary: the hostname is: scandella GEMSTONE is: "/opt/oodb/gsDevKitHome/gemstone/stones/devkit/product" shrpcmon arguments are: SharedPageCache Monitor name devkit~9af495ccd1149d82. Number of pages 31250. Number of processes 49. Cache locked in memory 0. SpinLockCount 5000. TargetFreeFrameCount 3906. Number of free frame servers 1. Number of shared counters 1900. Port number 0. Permissions 432. _____________________________________________________________________________ | GemStone/S64 Object-Oriented Data Management System | | Copyright (C) GemTalk Systems 1986-2014 | | All rights reserved. | +-----------------------------------------------------------------------------+ | PROGRAM: SHRPCMON, GemStone SharedPageCache Monitor | | VERSION: 3.1.0.6, Thu Apr 17 16:12:14 2014 | | BUILD: gss64_3_1_0_5_x_branch-33242 | | BUILT FOR: x86-64 (Linux) | | MODE: 64 bit | | RUNNING ON: 4-CPU scandella x86_64 (Linux 3.13.0-24-generic #46-Ubuntu SMP | | Thu Apr 10 19:11:08 UTC 2014) 7789MB | | PROCESS ID: 10799 DATE: 02/24/15 10:59:58 CET | | USER IDS: REAL=scandella (1000) EFFECTIVE=scandella (1000) | +-----------------------------------------------------------------------------+ | GEMSTONE_NRS_ALL = #dir:$GEMSTONE_LOGDIR#log:%N%P.log | |_____________________________________________________________________________| | GemStone could not retrieve the IPC identifier associated with the memory | | key -989659131. shmget() error = errno=22,EINVAL, Invalid argument (programmer | error). | | | GemStone could not attach to the shared page cache. [SpcMon trace]: ... cache creation failed ... [SpcMon trace]: ... if the errno is (EINVAL) it is likely because the cache size is less than the operating system imposed minimum or greater than the operating system maximum. --- 02/24/15 10:59:58.543 CET :Starting shrpcmonitor shutdown --- 02/24/15 10:59:58.543 CET :Waiting for crashed slot recovery thread to shutdown...Done. --- 02/24/15 10:59:58.543 CET :Waiting for clean slot recovery thread to shutdown...Done. --- 02/24/15 10:59:58.543 CET :Waiting for stats thread to shutdown...Done. --- 02/24/15 10:59:58.543 CET :All threads have stopped. The Shared Page Cache Monitor is shutting down.
Considerations ? Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario, If you read the pcmon file carefully you'll see the following entries: ***************** | GemStone could not retrieve the IPC identifier associated with the memory | | key -989659131. shmget() error = errno=22,EINVAL, Invalid argument (programmer | error). | | | GemStone could not attach to the shared page cache. [SpcMon trace]: ... cache creation failed ... [SpcMon trace]: ... if the errno is (EINVAL) it is likely because the cache size is less than the operating system imposed minimum or greater than the operating system maximum. ****************** As per the comments here, is the setting of the SHR_PAGE_CACHE_SIZE_KB too large for how the kernel of this machine is configured for shared memory sizes (kernel.SHMMAX -- see the GS Installation Guide for details)? Also, use the unix command: unix> ipcs -m to see if you have left behind allocated shared memory regions from earlier runs of GemStone that have left behind their shared page caches which are using up the available shared memory and leaving none available for new attempts. These can be killed off using the unix ipcrm command. See the relevant unix man pages for details. Regards, BillErickson ------------------------------------------------------------------------ Bill Erickson GemTalk Systems Engineering 15220 NW Greenbrier Parkway #240, Beaverton OR 97006 ------------------------------------------------------------------------ On Tue, Feb 24, 2015 at 2:22 AM, Dario Trussardi via Glass <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Bill,
The ipcs -m command on the server report: ( anything ) ------ Segm. Memoria Condivisa -------- chiave shmid proprietario perms byte nattch stato ------ Limiti della memoria condivisa -------- numero massimo di segmenti = 4096 dimensione max seg (kbyte) = 32768 max total shared memory (kbytes) = 8388608 dimensione min seg (byte) = 1 Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario, Well, your report says:> dimensione max seg (kbyte) = 32768 ------------------------------------------------------------------------ Bill Erickson GemTalk Systems Engineering 15220 NW Greenbrier Parkway #240, Beaverton OR 97006 ------------------------------------------------------------------------ On Tue, Feb 24, 2015 at 7:46 AM, Dario Trussardi via Glass <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Bill,
Where is defined the relative GemStone shared page cache size ?
i add to: /etc/sysctl.conf these line ( copy from another gemstone server ) : # kernel.shm* settings added by GemStone installation kernel.shmmax=1073741824 kernel.shmall=2097152 But the startStone report the same error. Considerations? Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Dario, unix$ sudo vim /etc/sysctl # 75% of total RAM. If ARM = 8GB then let's take 6GB. kernel.shmmax = 6442450944 # shmmax / 4096 kernel.shmall = 1572864 Just change those numbers... assign a total of 75% of your total RAM to shmmax and then set shmall accordly. Of course, that depends on your scenario. If you always use GLASS, then you are allowed to 2GB SPC. So...your total needs are: amount of stones in same machine * SPC ( whatever SPC you choose ). Don't forget to reboot before trying to start stone. Best, On Tue, Feb 24, 2015 at 12:57 PM, Bill Erickson via Glass <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
On Tue, Feb 24, 2015 at 1:12 PM, Dario Trussardi via Glass <[hidden email]> wrote:
Here you are allowing 1GB for SPC of all stones running in that machine. If you have one stone, then that allows you one stone of 1GB approx of SPC. The SPC is defined in your system.conf. Example: # SHR_PAGE_CACHE_SIZE_KB should always be > GEM_TEMPOBJ_CACHE_SIZE SHR_PAGE_CACHE_SIZE_KB=1000000;
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Tue, Feb 24, 2015 at 1:15 PM, Mariano Martinez Peck <[hidden email]> wrote:
If GsDevKit didn't change the location in the last months, It should be somewhere like: gsDevKitHome ▸ gemstone ▸ stones ▸ stoneXXX ▸ extents -> system.conf
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Where is defined the relative GemStone shared page cache size ? As stated earlier: SHR_PAGE_CACHE_SIZE_KB in the stone configuration file.------------------------------------------------------------------------ Bill Erickson GemTalk Systems Engineering 15220 NW Greenbrier Parkway #240, Beaverton OR 97006 ------------------------------------------------------------------------ On Tue, Feb 24, 2015 at 8:12 AM, Dario Trussardi via Glass <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Mariano,
And after reboot the system work fine. Thank.
But for define 2GB SPC what SHR_PAGE_CACHE_SIZE_KB = xyz i need to define ? For now my system.conf define : SHR_PAGE_CACHE_SIZE_KB = 500000; It's not clear for me. Thanks for any considerations, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Tue, Feb 24, 2015 at 2:04 PM, Dario Trussardi via Glass <[hidden email]> wrote:
That is using only 500MB. Just put: SHR_PAGE_CACHE_SIZE_KB=2000000;
I think SHR_PAGE_CACHE_SIZE_KB is pretty clear...it's the size of the SPC in KB. Cheers,
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Keep in mind that SHR_PAGE_CACHE_SIZE_KB determines the size for DB pages. GemStone also adds to it additional space for holding stats and various internal tables, so the actual shared memory region allocated will be a bit larger. ------------------------------------------------------------------------ Bill Erickson GemTalk Systems Engineering 15220 NW Greenbrier Parkway #240, Beaverton OR 97006 ------------------------------------------------------------------------ On Tue, Feb 24, 2015 at 9:39 AM, Mariano Martinez Peck via Glass <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Tue, Feb 24, 2015 at 2:50 PM, Bill Erickson via Glass <[hidden email]> wrote:
Ohh I didn't know that. So... if I have a SHR_PAGE_CACHE_SIZE_KB of 1000000, that should be 1024000000 bytes. However, "ipcs -m" shows me 1080459264. So..is this a "rounding" difference between KB and Bytes or is what you are saying? Thanks in advance,
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
It's the extra space allocated for stats and tables as I mentioned. ------------------------------------------------------------------------ Bill Erickson GemTalk Systems Engineering 15220 NW Greenbrier Parkway #240, Beaverton OR 97006 ------------------------------------------------------------------------ On Tue, Feb 24, 2015 at 10:20 AM, Mariano Martinez Peck <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |