[LON-CAPA-cvs] cvs: loncom / lond

foxr lon-capa-cvs@mail.lon-capa.org
Sat, 05 Apr 2003 00:11:34 -0000


foxr		Fri Apr  4 19:11:34 2003 EDT

  Modified files:              
    /loncom	lond 
  Log:
  Remove wait for unix socket special file after HUP is sent to
  lonc in reconlonc   This removes a 5 second delay between connection and
  the ability to process requests.  The 5 sec delay is a problem as we go 
  to adaptive connection counts as the load we're trying to adapt to may
  disappear before the connections needed become usable.
  
  
  
Index: loncom/lond
diff -u loncom/lond:1.124 loncom/lond:1.125
--- loncom/lond:1.124	Fri Mar 28 18:16:25 2003
+++ loncom/lond	Fri Apr  4 19:11:34 2003
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.124 2003/03/28 23:16:25 www Exp $
+# $Id: lond,v 1.125 2003/04/05 00:11:34 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -73,7 +73,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.124 $'; #' stupid emacs
+my $VERSION='$Revision: 1.125 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid;
 my $currentdomainid;
@@ -375,13 +375,6 @@
         if (kill 0 => $loncpid) {
 	    &logthis("lonc at pid $loncpid responding, sending USR1");
             kill USR1 => $loncpid;
-            sleep 5;
-            if (-e "$peerfile") { return; }
-            &logthis("$peerfile still not there, give it another try");
-            sleep 10;
-            if (-e "$peerfile") { return; }
-            &logthis(
- "<font color=blue>WARNING: $peerfile still not there, giving up</font>");
         } else {
 	    &logthis(
               "<font color=red>CRITICAL: "