Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ICC Connection Closings ???

Author: Robert Hyatt

Date: 13:28:04 09/23/02

Go up one level in this thread


On September 23, 2002 at 15:40:38, Frank Phillips wrote:

>On September 23, 2002 at 15:32:12, Robert Hyatt wrote:
>
>>On September 23, 2002 at 14:56:22, Brian Richardson wrote:
>>
>>>Hi.  For the past several days, Tinker has been getting logged out of ICC
>>>(Connection closed message in Winboard debug file) pretty frequently and I don't
>>>know why.  Tinker normally runs for a week or so totally unattended with no
>>>problems at all.
>>>
>>>Anyone else having this sort of problem?
>>>
>>>Thanks,
>>>Brian
>>
>>
>>Possibly. I was watching Crafty last night and it played a game, finished,
>>and about 1 minute later got a "--timeout--" message and an instant disconnect.
>>I don't know how often this has been happening since I run a script that simply
>>logs it right back if it gets kicked off.
>
>Bob
>
>Would you post the script, please?
>
>My ISP times out after 4 hours; and while I automatically redial, xboard does
>not automatically reconnect.
>
>Frank


It is really trivial:

#!/bin/csh
while (1)
  mv ics.log.1 ics.log.2
  mv ics.log ics.log.1
  ics >& ics.log
  sleep 5
end

The above executes the script named "ics" which is given below.  The two
mv commands lets me keep the most recent 3 log files of everything ICC sent
to crafty as ics.log, ics.log.1 and ics.log.2..  the sleep 5 is to keep it
from logging back on too quickly.  IE start two of the above and you have
a race to end all races.  :)




#!/bin/csh
limit coredumpsize 0
./killcrafty
setenv CHESSDIR /home/hyatt/ics
setenv ZIPPYPASSWORD <password>
setenv ZIPPYPASSWORD2 <password>
setenv ZIPPYNOPLAYCRAFTY 1
xboard -xexit -popupExitMessage false -icshelper /usr/local/bin/timestamp
-xanimate -geometry +0+0 -ics -zp -autoflag -icshost 204.178.125.65 -fcp
"crafty" -size small -initString "" -xreuse


The "killcrafty" script is something I run to make sure I don't have
crafty running already.  IE I might start a test set and then forget and
log crafty on to ICC.  "killcrafty" kills any running crafty executables
to avoid an obvious problem.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.