[GemStone-Smalltalk] Starting a repository fails after shutdown of server.

brianstone via GemStone-Smalltalk gemstone-smalltalk at lists.gemtalksystems.com
Mon Sep 25 10:59:13 PDT 2017


Hi James,

There was not a log for that PID.
I was reading the SysAdminGuide and there says that the log is deleted
automatically in case of normal exit.
In this case is not a normal exit but anyway log files are deleted.

So, I modified the file runpgsrvrmain to keep log files (uncommenting
"export GEMSTONE_KEEP_LOG=1") and tried to start again the repository.

Here is the results:

*An extract from repository.log*

    Starting AF_INET reconnect to AIO pgsvrs
    Recovery took 0.028 seconds
    Waiting for Recovery Reader thread to stop
AioServerReconnect pgsvrPid 7940 old fd 12 new fd -1
reconnect failed(B) for AIO pgsvr pid 7940

--- 09/25/17 12:59:18 -03 ---
RDbfAioServersReconnect failed

    Terminating stone.

*Log file for PID 7940 in file named "repository_7940pgsvraio.log"*

_____________________________________________________________________________
|                             GemStone Child Task                            
|
|                                                                            
|
|    VERSION: 3.2.8.1, Fri Aug 28 08:43:23 2015                              
|
|      BUILD: gss64_3_2_x_branch-37291                                       
|
|  BUILT FOR: x86-64 (Linux)                                                 
|
|       MODE: 64 bit                                                         
|
| RUNNING ON: 12-CPU SRVR23 x86_64 (Linux 2.6.32-642.15.1.el6.x86_64 #1 SMP
Fri
| Feb 24 14:31:22 UTC 2017) 32059MB                                          
|
| PROCESS ID: 7940      DATE: 09/25/17 12:57:17 -03                          
|
|   USER IDS: REAL=gemst643281 (1045) EFFECTIVE=gemst643281 (1045)
LOGIN=gemst643281
| (1045)                                                                     
|
|    COMMAND: /usr/local/gemstone643281/sys/runpgsvrmain TCP 13 90           
|
|_____________________________________________________________________________|
runpgsvr[Info]:     Description of arguments:
   the hostname is:     SRVR23
   GEMSTONE is:         /usr/local/gemstone643281
   pgsvr arguments are: TCP 13 90

_____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System            
|
|                   Copyright (C) GemTalk Systems 1986-2015                  
|
|                            All rights reserved.                            
|
+-----------------------------------------------------------------------------+
|    PROGRAM: PGSVRSHR, GemStone Networked DBF I/O Service (shared library)  
|
|    VERSION: 3.2.8.1, Fri Aug 28 08:43:23 2015                              
|
|      BUILD: gss64_3_2_x_branch-37291                                       
|
|  BUILT FOR: x86-64 (Linux)                                                 
|
|       MODE: 64 bit                                                         
|
| RUNNING ON: 12-CPU SRVR23 x86_64 (Linux 2.6.32-642.15.1.el6.x86_64 #1 SMP
Fri
| Feb 24 14:31:22 UTC 2017) 32059MB                                          
|
| PROCESS ID: 7940      DATE: 09/25/2017 12:57:17 -03                        
|
|   USER IDS: REAL=gemst643281 (1045) EFFECTIVE=gemst643281 (1045)
LOGIN=gemst643281
| (1045)                                                                     
|
|_____________________________________________________________________________|


command line is:
/usr/local/gemstone643281/sys/pgsvrmain TCP 13 90 

The hostname is SRVR23
createNetConnection: SocketFamily_UNIX 
Network connection has been inherited.
Entering Service Loop
[Info]: ClientPid: 7928
[Info]: Client SessionId: -2
[Info]: Client Host: SRVR23
[Info]: My cache slot:  3
[Info]: My cache name: AioPgsvr3
Write to /proc/7940/oom_score_adj failed with EACCES , linux user does not
have CAP_SYS_RESOURCE
No server process protection from OOM killer
--- 09/25/2017 12:59:18.753 -03 Connection failure detected:


--- 09/25/2017 12:59:18.753 -03 entering pgsShrExit
mainThread  Detaching cache.--- 09/25/2017 12:59:18.753 -03 [Info]:
Detaching Shared Page Cache.
--- 09/25/2017 12:59:18.791 -03 mainThread: pgsShrExit with status: 0


*Additionally heres is the content of another file named
"repository_7937pgsvrff.log"*


_____________________________________________________________________________
|                             GemStone Child Task                            
|
|                                                                            
|
|    VERSION: 3.2.8.1, Fri Aug 28 08:43:23 2015                              
|
|      BUILD: gss64_3_2_x_branch-37291                                       
|
|  BUILT FOR: x86-64 (Linux)                                                 
|
|       MODE: 64 bit                                                         
|
| RUNNING ON: 12-CPU SRVR23 x86_64 (Linux 2.6.32-642.15.1.el6.x86_64 #1 SMP
Fri
| Feb 24 14:31:22 UTC 2017) 32059MB                                          
|
| PROCESS ID: 7937      DATE: 09/25/17 12:57:17 -03                          
|
|   USER IDS: REAL=gemst643281 (1045) EFFECTIVE=gemst643281 (1045)
LOGIN=gemst643281
| (1045)                                                                     
|
|    COMMAND: /usr/local/gemstone643281/sys/runpgsvrmain
Newstone~7663a27bab8c7a96
| 0 1 -1 TCP 10 90                                                           
|
|_____________________________________________________________________________|
runpgsvr[Info]:     Description of arguments:
   the hostname is:     SRVR23
   GEMSTONE is:         /usr/local/gemstone643281
   pgsvr arguments are: Newstone~7663a27bab8c7a96 0 1 -1 TCP 10 90

_____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System            
|
|                   Copyright (C) GemTalk Systems 1986-2015                  
|
|                            All rights reserved.                            
|
+-----------------------------------------------------------------------------+
|    PROGRAM: PGSVRSHR, GemStone Networked DBF I/O Service (shared library)  
|
|    VERSION: 3.2.8.1, Fri Aug 28 08:43:23 2015                              
|
|      BUILD: gss64_3_2_x_branch-37291                                       
|
|  BUILT FOR: x86-64 (Linux)                                                 
|
|       MODE: 64 bit                                                         
|
| RUNNING ON: 12-CPU SRVR23 x86_64 (Linux 2.6.32-642.15.1.el6.x86_64 #1 SMP
Fri
| Feb 24 14:31:22 UTC 2017) 32059MB                                          
|
| PROCESS ID: 7937      DATE: 09/25/2017 12:57:17 -03                        
|
|   USER IDS: REAL=gemst643281 (1045) EFFECTIVE=gemst643281 (1045)
LOGIN=gemst643281
| (1045)                                                                     
|
|_____________________________________________________________________________|


command line is:
/usr/local/gemstone643281/sys/pgsvrmain Newstone~7663a27bab8c7a96 0 1 -1 TCP
10 90 

The hostname is SRVR23
Write to /proc/7937/oom_score_adj failed with EACCES , linux user does not
have CAP_SYS_RESOURCE
No server process protection from OOM killer

    Free Frame Page Server startup was successful.
    Target Free Frame Limit is 7000 
    Entering Free List Service Loop.
createNetConnection: SocketFamily_UNIX 
Network connection has been inherited.
Entering Service Loop
[Info]: ClientPid: 7928
--- 09/25/2017 12:59:18.753 -03 Connection failure detected:


--- 09/25/2017 12:59:18.753 -03 entering pgsShrExit
mainThread  Detaching cache.--- 09/25/2017 12:59:18.753 -03 [Info]:
Detaching Shared Page Cache.
--- 09/25/2017 12:59:18.753 -03 mainThread: pgsShrExit with status: 0






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


More information about the GemStone-Smalltalk mailing list