[Dxspider-support] Help & Questions
Howard Leadmon
howard at leadmon.net
Sat Feb 18 18:54:12 GMT 2017
If I am reading the below right, you show your running using about 45
meg of memory for the cluster process, with about 42 meg of it resident,
and others may disagree but that doesn't seem bad at all. Dirk's was at
170m/91m for a large node, and I just took a peek at mine and though I
am running under FBSD, I show I am running 126m/89m again reasonable.
As a comparison here is my top output, but I think how your node is
running looks fine..
CPU: 0.8% user, 0.0% nice, 0.5% system, 0.0% interrupt, 98.7% idle
Mem: 615M Active, 594M Inact, 2549M Wired, 4048K Cache, 166M Free
ARC: 1536M Total, 90M MFU, 1206M MRU, 144K Anon, 57M Header, 183M Other
Swap: 4096M Total, 4096M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
979 sysop 1 23 0 126M 89004K select 4 119.1H 5.57% perl
Perl is the cluster process:
979 ?? S 7143:21.58 /usr/bin/perl -w ./perl/cluster.pl
A big one as Dirk mentioned, don't run it as root, if you do and anyone
ever gets in, your box is 0wned..
73's de WB3FFV
---
Howard Leadmon - howard at leadmon.net
On 2/18/2017 1:30 PM, Ed via Dxspider-support wrote:
> 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
>
>
>
>
>
>
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
More information about the Dxspider-support
mailing list