[Dxspider-support] stuck sockets

Dirk Koopman djk at tobit.co.uk
Tue Aug 21 00:16:26 CEST 2007


vic wrote:
> Hey Dick, where are you?
> Where are the defunct sockets stored when dxspider crashs???
> Dxspider will not start again and gives an error like this:  
> starting listeners ...
> Internal port: localhost 27754 using IntMsg
> IO::Socket::INET: Address already in use
> Could not create socket: Address already in use
>  at /spider/perl/Msg.pm line 443
>         Msg::new_server('ExtMsg', 192.168.0.2, 7350, 'CODE(0x846e18c)') called at ./cluster.pl line 400
> Could not create socket: Address already in use
> 
> 
> Where can I find and delete the offending dev character or such.  I don't find it in /var/run.
> Netstat does not show it either...
> 

There is no concept of "defunct sockets" in linux (at least for the 
purposes of dxspider and the way it uses them). So either you have a 
copy of dxspider running (MOST likely) or you have something else using 
that port (which seems pretty unlikely - but is possible).

$ ps ax | grep cluster

will tell you if you have something still running.

$ killall cluster.pl

should stop it

$ killall -9 cluster.pl

WILL stop it (if it there).

Dirk



More information about the Dxspider-support mailing list