If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.

How long does yours run for ?

Started by Martin G8JNJ, Oct 09, 2024, 01:21 PM

Previous topic - Next topic

Martin G8JNJ

I don't know if this is typical, by my RX888 / PhantomSDR-Plus combo, typically runs for less than 24 hours before it requires a manual restart.

I'm thinking of adding a cron job to regularly restart it, as in its current state it's not really usable.

Are others experiencing this, or is it just me ?

Regards,

Martin




9a7aof

I have problem with RSP1A and PhantomSDR+ (SoapySDR and sdrplay)

My websdr crontab is:
#start-rsp1a.sh
#-------------------
@reboot /bin/bash -lc 'cd /home/websdr/PhantomSDR-Plus/ && ./start-rsp1a.sh'
#-------------------
#

and root crontab is (same computer):

#-------------------------
@reboot /bin/bash -lc 'sleep 150 && intel_backlight 0'
#-------------------------
14 3 * * * /usr/sbin/reboot
#-------------------------

I have Intel video card and linux boot without graphical mode.

First line set black screen 150 seconds after boot system.
Second line set reboot to 03:14 AM without any intervention.

Good Luck!

Darko, 9a7aof

Martin G8JNJ

Hi Darko,

If I want to reset it regularly, say every hour (exact time period to be decided) would it be better doing this using crontab -e or editing the specific /etc/cron.[hourly |daily |weekly |monthly] ?

Regards,

Martin

Bas ON5HB

You can give the same comnmand, but on time.
As the 'start-script' also kills running programs and after restarts the driver + websdr.

Those killall commands do that.

You do that also with crontab -e

So:

00 * * * * /bin/bash -lc 'cd /home/websdr/PhantomSDR-Plus/ && ./start-rsp1a.sh'

However, if your RX888 runs less then 24 hours, your toml may be wrongly configured.

Mine never needs a restart, but took me a lot of time to get the toml-settings correctly.
Before it crashed often. Not anymore.

Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

Martin G8JNJ

Hi Bas,

Thanks for that. I now have a crontab job running, and I'll adjust the timing once I get a better feel for the frequency with which it is required.

I suspect the problem is that I'm running the sample rate right on the edge of reliability (95-97% cpu), in order to incorporate the 40MHz (8m) band, and I'm pretty sure this is causing the streamer to drop out occasionally.

Ideally, I'd like to incorporate some sort of proper watchdog for long term reliability, but I don't mind it restarting regularly, as it will kick any users who are not actively monitoring the websdr, but have left their browser running.

This is important to me, as I'm running on a metered internet connection, and don't want to waste bandwidth.

Regards,

Martin

HB9RYZ

My PhantomSDR Plus is running now 14 days without a reboot :-)
http://rigi.dyndns-remote.com:8074
73 de HB9RYZ, Wolfgang

Powered by EzPortal