[Dxspider-support] Upstart constantly spawning new cluster process

Dirk Koopman djk at tobit.co.uk
Tue Sep 11 14:43:01 BST 2012


On 11/09/12 14:10, Ton Machielsen wrote:
> Hi all!
>
> i followed the exact instructions on
> http://wiki.dxcluster.org/index.php/Configuration#Autostarting_the_cluster
> but upstart keeps launching new cluster processes.
>
> The log only tells me:
>
> 1347368933^cluster^DXSpider V1.55, build 0.67 started
> 1347368934^cluster^DXSpider V1.55, build 0.67 started
> 1347368935^cluster^DXSpider V1.55, build 0.67 started
> 1347368935^cluster^DXSpider V1.55, build 0.67 started
> 1347368936^cluster^DXSpider V1.55, build 0.67 started
> 1347368937^cluster^DXSpider V1.55, build 0.67 started
> 1347368937^cluster^DXSpider V1.55, build 0.67 started
>
> How can i troubleshoot what is the issue here?
>
> Init file looks like this:
>
> -----
> #DXSpider startup script
> #
> # This service maintains a getty on tty7 from the point the system is
> # started until it is shut down again.
>
> start on runlevel [2345]
> stop on runlevel [!2345]
> respawn
> exec /bin/su - sysop -c "/usr/bin/perl -w /spider/perl/cluster.pl
> <http://cluster.pl>" >/dev/tty7
> -----

Does it start normally?

Does /dev/tty7 exist and is it writable by the user "sysop"?

Are you ever going to look at /dev/tty7 (ALT-F7 from the console)? If 
not then direct the output to /dev/null and use watchdbg if you ever 
want to see the console output.

Dirk




More information about the Dxspider-support mailing list