[Catalyst] Test server not releasing socket

Matt S Trout dbix-class at trout.me.uk
Mon Apr 24 19:04:09 CEST 2006


Will Hawes wrote:
> FreeBSD 4.10-STABLE, Catalyst 5.66:
> 
> [Mon Apr 24 17:29:56 2006] [catalyst] [info] Application powered by 
> Catalyst 5.66
> Couldn't create daemon: Address already in use at 
> /usr/local/lib/perl5/site_perl/5.8.7/Catalyst/Engine/HTTP.pm line 135.
> 
> admin at ds645# netstat -p tcp
> Active Internet connections
> Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
> ...
> tcp4       0      0  ds645.3000             XXX-XXX-XXX-XXX-nl.2500 
> TIME_WAIT

*cough*

Notice that there's a foreign address there. Whatever that is had a connection 
to the socket at the time, meaning that when it got suddenly closed down it 
entered TIME_WAIT until a full double-close was completed.

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list