[Dxspider-support] Upstart constantly spawning new cluster process

Ton Machielsen ton at machielsen.net
Tue Sep 11 17:34:59 BST 2012


Answers inline

On Tue, Sep 11, 2012 at 3:43 PM, Dirk Koopman <djk at tobit.co.uk> wrote:

> 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<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?
>

Yes, what i do now is starting the cluster from the command line using the
& to get it in the background.


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

Dunno. Will check.


>
> 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.
>

I will never look at the console. It's in a hosted system, so it needs to
run completely autonomous.I tried redirecting to /dev/null but that makes
no difference for the respawning issue.

Ton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20120911/09647524/attachment.html>


More information about the Dxspider-support mailing list