2 socket errors, Socket errors -2 – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 464

Advertising
background image

Section 14. Troubleshooting Guide

Problem: Message indicating Server Connection Lost.

Remedy : This message indicates that the main communications

software has stopped responding to the user interface screens. You

need to close down all of the applications along with the Toolbar and

start over.

14.2.2 Socket Errors

The LoggerNet Server uses TCP/IP sockets for communications. Various

problems can occur with these socket connections. Some of the most common

errors and remedies are listed below.

Maximum Number of Sockets Open

The Windows operating system has limits on the number of socket connections

that can be held open. For Windows XP this number is about 4000. For

Windows Vista/7 this number is about 16,000. For most operations this should

be more than enough to cover the open applications that use sockets. One

situation that does cause problems is using the IPPorts to communicate with

dataloggers where the socket is being opened and closed quickly. For example

if you have 20 stations on IPPorts and you do normal data collection every 5

seconds, 20 new sockets are created every 5 seconds. The normal lifetime of

the created socket is about 4 minutes leaving about 1000 active sockets at a

time. If there are other applications that use sockets, it is possible to exceed the

allowed number of sockets.

To work around this problem, either slow down the rate of data collection, or

use the Delay Hangup setting for the IP Port (accessed from the Setup Screen)

to keep the stations online.

Socket Error Messages

When you get an error message that says Socket Error and a number, check the

chart below for the type of error that occurred and what to do about it. Note

that these error messages can show up either in pop up error boxes or as part of

the LoggerNet Communications log.

14-2

Advertising