[GemStone-Smalltalk] Infamous ECONNRESET problem

Michael Hales mike.hales at kscape.com
Wed Mar 19 09:35:43 PDT 2014


Seems like I had this problem way back in the day running GemStone on
Windows, and it had to do with the setting the so_reuseaddr option for
sockets, can't remember more though, sorry.

Mike


On Wed, Mar 19, 2014 at 9:31 AM, James Foster <
james.foster at gemtalksystems.com> wrote:

> 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(c) 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<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
>
>


-- 
Mike Hales
Engineering Manager
KnowledgeScape
mike.hales at kscape.com
+1 801 784 8160
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/gemstone-smalltalk/attachments/20140319/13e763b8/attachment-0001.html>


More information about the GemStone-Smalltalk mailing list