[Dxspider-support] Help & Questions

Ed autek at comcast.net
Sat Feb 18 18:30:41 GMT 2017


On Sat, 18 Feb 2017 17:52:12 +0000
Dirk Koopman via Dxspider-support <dxspider-support at dxcluster.org>
wrote:

> It should not be running as root. The installation manual makes this 
> very clear. I believe I have mentioned it again quite recently.
> Please would you email your start script to me privately and I will
> look at it (as there are at least four ways to do this now. Sigh...).
> 
> When we have fixed the script you will need to do some judicious 
> chowning before restarting the software.

A ls -l in /etc/init.d showed the error of my ways. I did not chown 755
the dxspider.conf file. That I can fix.

#! /bin/sh

### BEGIN INIT INFO
# Provides: dxspider
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: 1 2 3 4 5
# Default-Stop:
### END INIT INFO

/spider/perl/cluster.pl

case $1 in
        start|restart|force-reload)
        /spider/perl/cluster.pl
        ;;
        stop)
        ;;
        status)# cluster startup/respawn
#

From init::


start on runlevel [2345]
stop on runlevel [!2345]

respawn

exec /bin/su - sysop -c "usr/bin/ perl -w /spider/perl/cluster.pl"
/dev/tty6

Output from top::

top - 13:24:19 up 7 days, 24 min,  1 user,  load average: 0.04, 0.04,
0.00 Tasks: 118 total,   1 running, 117 sleeping,   0 stopped,   0
zombie %Cpu(s):  0.4 us,  0.5 sy,  0.0 ni, 99.1 id,  0.0 wa,  0.0 hi,
0.0 si,  0.0 st KiB Mem:    947732 total,   877560 used,    70172
free,   147644 buffers KiB Swap:   102396 total,        0 used,
102396 free.   636300 cached Mem

 399 root      20   0   45624  41940   5388 R   2.3  4.4 187:56.27
 cluster.pl  

Thanks for the quick response and the advice. I just do not understand
where all the memory is going.

Ed










More information about the Dxspider-support mailing list