[GemStone-Smalltalk] Infamous ECONNRESET problem
James Foster
james.foster at gemtalksystems.com
Wed Mar 19 10:00:55 PDT 2014
On the topaz output I see the login but I don’t see the crash. How does the crash manifest itself?
On Mar 19, 2014, at 9:47 AM, Normand Mongeau <nmongeau at theobjects.com> wrote:
> I’ll review the bugnotes, thanks.
>
> Yes I have GS_MAKE_EVENTS_GLOBAL set to 1.
>
> When you say the log doesn’t have the error, I know, but it’s the log file that gets created by my gem. Of all the gem logs I found (through all my attempts to connect), only one shows this:
>
> GemStone was unable to accept the network connection.
> No network error.
>
> *****************************************************
> ****** GemStone Abnormal Shutdown
> *****************************************************
>
> All the other gem logs show nothing. The Netldi log shows nothing unusual.
>
> Here’s the topaz banner from the crash:
>
> C:\Users\Administrator>topaz -l
> _____________________________________________________________________________
> | Configuration Files |
> | |
> | System File: c:/GemStone61/data/system.conf |
> | |
> | Executable File: C:/Users/Administrator/gem.conf |
> | Warning: File not found (The system cannot find the file specified.) |
> | using defaults. |
> |_____________________________________________________________________________|
> _____________________________________________________________________________
> | Gem Configuration Options for process id 3244 |
> |_____________________________________________________________________________|
>
> GEM_DETACH_PAGES_ON_COMMIT = TRUE;
> GEM_DETACH_PAGES_ON_ABORT = TRUE;
> DUMP_OPTIONS = TRUE;
> GEM_DBF_FILE_LOCK = TRUE;
> GEM_GCI_LOG_ENABLED = FALSE;
> GEM_FREE_FRAME_LIMIT = -1;
> GEM_HALT_ON_ERROR = 0;
> GEM_IO_LIMIT = 5000;
> GEM_MAX_SMALLTALK_STACK_DEPTH = 1000;
> GEM_NATIVE_CODE_MAX = 8192;
> GEM_NATIVE_CODE_THRESHOLD = 6;
> GEM_NOT_CONNECTED_DELTA = 300;
> GEM_NOT_CONNECTED_THRESHOLD = 2000;
> GEM_PGSVR_FREE_FRAME_LIMIT = -1;
> GEM_PRIVATE_PAGE_CACHE_KB = 200;
> GEM_RPCGCI_TIMEOUT = 0;
> GEM_TEMPOBJ_CACHE_SIZE = 600;
> LOG_WARNINGS = TRUE;
> SHR_NUM_FREE_FRAME_SERVERS = 1;
> SHR_PAGE_CACHE_SIZE_KB = 10000;
> SHR_PAGE_CACHE_NUM_PROCS = 256;
> SHR_TARGET_FREE_FRAME_COUNT = -1;
> _____________________________________________________________________________
> | GemStone Object-Oriented Data Management System |
> | Copyright (C) GemStone Systems, Inc. 1986-2004. |
> | All rights reserved. |
> +-----------------------------------------------------------------------------+
> | PROGRAM: topaz, Linear GemStone Interface (Linked Session) |
> | VERSION: 6.1.2, Wed Feb 25 15:46:30 US/Pacific 2004 |
> | BUILT FOR: Pentium/Windows_NT |
> | RUNNING ON: 2-CPU win-3p1plxh7j1y: Intel CPU, Windows NT 6.0 build 6002 Servic
> e
> | Pack 2 |
> | PROCESS ID: 3244 DATE: Wed 19 Mar 2014 16:41:08 |
> |_____________________________________________________________________________|
> topaz> set gems icp1 u superviseur
> topaz> login
> GemStone Password?
> [Info]: LNK client/gem GCI levels = 33/33
> [Info]: User ID: superviseur
> [Info]: Repository: icp1
> [Info]: Session ID: 2
>
>
> From: James Foster [mailto:james.foster at gemtalksystems.com]
> Sent: mercredi, 19 mars 2014 12:31
> To: Normand Mongeau
> Cc: gemstone-smalltalk at lists.gemtalksystems.com
> Subject: Re: [GemStone-Smalltalk] Infamous ECONNRESET problem
>
> One suggestion is to review http://gemtalksystems.com/data/bugsByVersion/bugnotes_GSS_615-616.html for suggestions. There are several that are Windows-specific and running a modern version of Windows with a very old version of GemStone is likely to have issues. (I’d be tempted to find an old machine running Windows NT and try it!)
>
> I assume that you have GS_MAKE_EVENTS_GLOBAL set (as we discussed in http://forum.world.st/How-to-configure-GS-S-6-1-2-through-a-firewall-blast-from-the-past-td4746063.html).
>
> The log file you show below does not have the error. Also, when the linked topaz crashes what does that look like? Can you provide that starting with the topaz banner?
>
> On Mar 19, 2014, at 9:19 AM, Normand Mongeau <nmongeau at theobjects.com> wrote:
>
>
> Client and server are on the same machine, yes. The error happens for an RPC gem, and it happens immediately, i.e. before I ever get connected.
>
> The logs show nothing unusual, for example my topaz gem is below.
>
> But I just tried a linked topaz session and topaz just crashed.
>
> But the Windows is unusual: it’s virtualized on an Amazon cloud environment. Maybe this is the problem? I thought it was Win 2008, but it appears as “Windows Server© Datacenter”.
>
>
> | PROGRAM: GEM, GemStone Session Process |
> | VERSION: 6.1.2, Wed Feb 25 15:46:30 US/Pacific 2004 |
> | BUILT FOR: Pentium/Windows_NT |
> | RUNNING ON: 2-CPU win-3p1plxh7j1y: Intel CPU, Windows NT 6.0 build 6002 Service
> | Pack 2 |
> | PROCESS ID: 2776 DATE: Wed 19 Mar 2014 16:16:05 |
> |_____________________________________________________________________________|
> _____________________________________________________________________________
> | Configuration Files |
> | |
> | System File: c:/GemStone61/data/system.conf |
> | |
> | Executable File: C:/users/default/gem.conf |
> | Warning: File not found (The system cannot find the file specified.) |
> | using defaults. |
> |_____________________________________________________________________________|
> _____________________________________________________________________________
> | Gem Configuration Options for process id 2776 |
> |_____________________________________________________________________________|
>
> GEM_DETACH_PAGES_ON_COMMIT = TRUE;
> GEM_DETACH_PAGES_ON_ABORT = TRUE;
> DUMP_OPTIONS = TRUE;
> GEM_DBF_FILE_LOCK = TRUE;
> GEM_GCI_LOG_ENABLED = FALSE;
> GEM_FREE_FRAME_LIMIT = -1;
> GEM_HALT_ON_ERROR = 0;
> GEM_IO_LIMIT = 5000;
> GEM_MAX_SMALLTALK_STACK_DEPTH = 1000;
> GEM_NATIVE_CODE_MAX = 8192;
> GEM_NATIVE_CODE_THRESHOLD = 6;
> GEM_NOT_CONNECTED_DELTA = 300;
> GEM_NOT_CONNECTED_THRESHOLD = 2000;
> GEM_PGSVR_FREE_FRAME_LIMIT = -1;
> GEM_PRIVATE_PAGE_CACHE_KB = 200;
> GEM_RPCGCI_TIMEOUT = 0;
> GEM_TEMPOBJ_CACHE_SIZE = 600;
> LOG_WARNINGS = TRUE;
> SHR_NUM_FREE_FRAME_SERVERS = 1;
> SHR_PAGE_CACHE_SIZE_KB = 10000;
> SHR_PAGE_CACHE_NUM_PROCS = 256;
> SHR_TARGET_FREE_FRAME_COUNT = -1;
>
> [Info]: RPC client/gem/minimum GCI levels = 33/33/30
> [Info]: User ID: superviseur
> [Info]: Repository: icp1
> [Info]: Session ID: 2
>
>
>
> From: James Foster [mailto:james.foster at gemtalksystems.com]
> Sent: mercredi, 19 mars 2014 12:05
> To: Normand Mongeau
> Cc: gemstone-smalltalk at lists.gemtalksystems.com
> Subject: Re: [GemStone-Smalltalk] Infamous ECONNRESET problem
>
> The error describes a network disconnect and there can be many reasons. To understand which connection will require more investigation. Are the client and server on the same machine? Is the client running a linked Gem or an RPC Gem? When in the sequence of events does this happen? Immediately? After some idle time (e.g., keep-alive expired)? What is shown in the logs? Those are the things I would investigate...
>
> On Mar 19, 2014, at 8:56 AM, Normand Mongeau <nmongeau at theobjects.com> wrote:
>
>
>
> Hi,
>
> Still battling with that old 6.1.2 system, for a demo I need to install on a Win 2008 server and now it just shows that error, be it from my app or even through Topaz.
>
> The exact wording is
>
> Errno=10054, ECONNRESET, Connection reset by peer
>
> Not sure what’s wrong, but are there known issues related to this? Are there some gem config settings I can change?
>
> Thanks,
>
> Normand
>
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/gemstone-smalltalk/attachments/20140319/01806042/attachment-0001.html>
More information about the GemStone-Smalltalk
mailing list