<div dir="ltr"><div dir="ltr"><div>I cannot offer any conclusive feedback, but I have found, on raspberry pi, that a</div><div>symptom of failure on my Pi is that the cluster service fails to communicate with clients on the user port. I have set a cron task to see if a login: prompt is received when telneting into the user port (note that you cannot rely on a telnet timeout, as communication with the port still works fine).  If it times out waiting for the login prompt, I kill the dxcluster process and restart the service - the cron script runs one minute before the normal dxspider cron to reconnect to the upstream server.</div><div><br></div><div>In doing so, I haven't needed to reboot the server, although this may still be needed from time to time if a different symptom presents.</div><div><br></div><div>The cron script is as follows, in case it helps anyone (the  /var/tmp folder should exist and be writeable):<br><br>#!/bin/bash<br>#<br># First, capture the process ID for the dxspider server<br>#<br>PID=`pgrep <a href="http://cluster.pl">cluster.pl</a>` ;<br>#<br># Test that we get a login prompt - not just that the telnet port is open<br># We're going to send  a login of _quit_  which will cause the cluster<br># to reject the login and close the session after writing a trace to<br># a temporary file that we can test later, checking its file length<br>#<br>echo "quit" | nc -w 2 [your server address] 7300 &> /var/tmp/dxtest<br>grep -i "login" /var/tmp/dxtest<br>test=$(cat < /var/tmp/dxtest)  || exit  #      exit if the file doesn't exist<br>#<br>#  If the tested file length is long enough to include "login" then all is working<br>#<br>if [ "${#test}" -lt 5 ]<br>        then<br>        # echo "The DXCluster has falledn over..."<br>        kill -9 $PID ;<br>        sleep 3<br>        # echo 'reset by checkcluster.sh' | system-cat -t DXCluster -p warning ;<br>        /etc/rc.d/rc.spider<br>        sleep 1<br>        logger "DXCluster reset -p warning"<br>fi<br>exit<br></div><div># The End</div><div><br></div><div><br></div></div></div>