PhantomSDR Support Forum

General Category => PhantomSDR Bugs => Topic started by: Bas ON5HB on Sep 14, 2024, 02:15 PM

Title: Spectrumserver doesn't like ethernet reconnect.
Post by: Bas ON5HB on Sep 14, 2024, 02:15 PM
My spectrumserver stopped working, it didn't crash.
My modem did an unattended firmware upgrade, that it does automaticaly.

My server notices this:

[349102.879551] e1000e 0000:00:1f.6 eno1: NIC Link is Down
[349110.429635] e1000e 0000:00:1f.6 eno1: NIC Link is Up 1000 Mbps Half Duplex, Flow Control: None
[349110.431558] e1000e 0000:00:1f.6 eno1: NIC Link is Down
[349114.150379] e1000e 0000:00:1f.6 eno1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[349135.291531] e1000e 0000:00:1f.6 eno1: NIC Link is Down
[349161.889840] e1000e 0000:00:1f.6 eno1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[349291.999682] e1000e 0000:00:1f.6 eno1: NIC Link is Down
[349299.568799] e1000e 0000:00:1f.6 eno1: NIC Link is Up 1000 Mbps Half Duplex, Flow Control: None
[349299.570730] e1000e 0000:00:1f.6 eno1: NIC Link is Down
[349303.258523] e1000e 0000:00:1f.6 eno1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

However the Spectrum-server doesn't like this and doesn't recover when the network is back online.
It should check when it's gone and recover.

As the IP-address is the same, just gone for 5 minutes.
Title: Re: Spectrumserver doesn't like ethernet reconnect.
Post by: Bas ON5HB on Sep 18, 2024, 10:34 AM
It stopped again for no reason, so I removed IPv6 and upped the FFT-size again.

Hopefully it keeps working now.

There where no messages in dmesg, only top didn't show the spectrumserver anymore.

Maybe time to make an systemd-script to have it monitored and restarted if needed.

Anyone have a script, don't want to write one if somebody has one already ;D
Title: Re: Spectrumserver doesn't like ethernet reconnect.
Post by: magicint1337 on Sep 19, 2024, 09:55 AM
Will work on this soon
Title: Re: Spectrumserver doesn't like ethernet reconnect.
Post by: Bas ON5HB on Sep 19, 2024, 05:47 PM
I tried to install Cuda support and the same thing happened, Cuda wasn't working...

But as soon as OpenCL doesn't know the STDON/STDOUT is gone, then the Spectrum may stop.

I did found that the fft_size should be real big. Regardless of the used receiver.

At the moment I'm at 16MB, but I'm thinking it may be 256MB. Looks more like a buffer then anything else to me.
Once filled and the Spectrumserver dies.

Still testing ;D