home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,819 of 14,669   
   Jorgen Grahn to All   
   Re: Need to shorten all four "close time   
   15 Oct 11 16:44:03   
   
   From: grahn+nntp@snipabacken.se   
      
   On Sat, 2011-10-15, um wrote:   
   > David Goodenough wrote, On 2011-10-13 22:57:   
   >> I'm working on a server application that absolutely *MUST* be able to   
   >> restart quickly in the event of a crash or other shutdown.  As in I   
   >> need to be back up and running within 10 seconds of detecting a   
   >> crash.  Ubuntu 10.04 LTS if it makes any difference.   
   >>   
   >> What's killing me is that the previous server may have left   
   >> connections in any of FIN_WAIT_[12], LAST_ACK or TIME_WAIT.  Even with   
   >> SO_REUSEADDR, these "zombie" connections appear to make it so that a   
   >> new server starting can't successfully bind / listen for incoming   
   >> connections as soon as it starts up.   
   >   
   >   
   > Hmm. why not do the obvious thing: simply fix the srv-app so that it   
   > doesn't crash anymore...  :-)   
      
   He didn't say, but I *assume* this fast restart mechanism isn't to be   
   used as an excuse to provide sub-standard software ...   
      
   /Jorgen   
      
   --   
     // Jorgen Grahn    O  o   .   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca