<div dir="ltr">Keith, Andy, and Bernard: My RasPi3B is running off a hard drive. I switched it to a hard drive when I replaced the RasPi2B with the RasPi3 because of all the issues you mention.<div><br></div><div>Bernard - it's not the power supply because the RasPi is still running fine and I can do other things with it (abet slowly since the hung spider process is taking so much CPU power). Also, I have this RasPi and another hooked to a GOOD 5V 10A supply and the other RasPi isn't having any problems. The spider process is just essentially dead since it's sitting at about 100% CPU. I just kill the process and immediately restart it and everything is fine for about another day.</div><div><br></div><div>I just need some more data to debug it. Are there flags to turn on to get more logs? Are there places to look I'm not looking (I've already dug through syslog)?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 9:34 AM f6bvp via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk">dxspider-support@tobit.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi,<div>In my experience using larger SD card, say 32 Gb, also considerably improves performances as seen when compiling Direwolf. I only use high quality SD cards (10 category for video) and have rarely got a failure. </div><div>Apart from that, daily failure could be related to DC power supply failure or insufficient driving current (2.5 A for RPi 3B).<br><br><div dir="ltr"><div>73 de Bernard f6bvp</div><div><div><br></div></div><div>Sent from my iPhone</div></div><div dir="ltr"><br>Le 7 mars 2019 à 15:04, Andy Cook G4PIQ via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a>> a écrit :<br><br></div><blockquote type="cite"><div dir="ltr">I also found running on an external USB connected hard disk delivered much better I/O performance than running on the SD card. <div><br></div><div>Andy, G4PIQ<br><br><div id="gmail-m_-470071341988328714AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On 7 Mar 2019, at 13:44, gu6efb--- via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div class="gmail-m_-470071341988328714WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The most likely reason is that the memory card holding the OS has worn out as it is only good for a limited amount of read/write cycles. DXspider puts a high read/write load on the card<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I had the same issue here with odd unexplainable  cluster failures and it was all down to the card.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I now use a hard disk connected to the PI which has solved my issues .<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">73 Keith GU6EFB<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"> Dxspider-support [<a href="mailto:dxspider-support-bounces@tobit.co.uk" target="_blank">mailto:dxspider-support-bounces@tobit.co.uk</a>] <b>On Behalf Of </b>Andy Scott via Dxspider-support<br><b>Sent:</b> 07 March 2019 11:36<br><b>To:</b> <a href="mailto:dxspider-support@tobit.co.uk" target="_blank">dxspider-support@tobit.co.uk</a><br><b>Cc:</b> Andy Scott<br><b>Subject:</b> [Dxspider-support] 1. Cluster started hanging several times a day. (David Spoelstra)<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><div><p class="MsoNormal">I cannot offer any conclusive feedback, but I have found, on raspberry pi, that a<u></u><u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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" target="_blank">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<u></u><u></u></p></div><div><p class="MsoNormal"># The End<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Dxspider-support mailing list</span><br><span><a href="mailto:Dxspider-support@tobit.co.uk" target="_blank">Dxspider-support@tobit.co.uk</a></span><br><span><a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a></span><br></div></blockquote></div></div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Dxspider-support mailing list</span><br><span><a href="mailto:Dxspider-support@tobit.co.uk" target="_blank">Dxspider-support@tobit.co.uk</a></span><br><span><a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a></span><br></div></blockquote></div></div>_______________________________________________<br>
Dxspider-support mailing list<br>
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank">Dxspider-support@tobit.co.uk</a><br>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" rel="noreferrer" target="_blank">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br>
</blockquote></div>