I am running my station now for a while, overall it is working fine, but in approx. 20% of all observations the upload fails. In the log I see:
Assertion 'close_nointr(fd) != -EBADF' failed at ../src/basic/fd-util.c:67, function safe_close(). Aborting.
and satnogsclient.observer.observer - ERROR - No waterfall data file found
.
These messages come at the beginning of an observation. Does anyone has an idea, what the reason could be? I have a fast and reliable internet connection. It is frustrating to see every fifth observation to be lost.
My configuration (Same problem also without the pre/post observation script) :
{
"versions": {
"satnogs-client": "1.6",
"satnogs-client-ansible": "202205101826",
"satnogs-flowgraphs": "1.4-1",
"gr-satnogs": "2.3.1.1-1",
"gr-soapy": "2.1.3.1-1",
"gnuradio": "3.8.2.0-14satnogs2",
"satnogs-config": "0.12"
},
"state": {
"is-applied": true,
"pending-tags": null
},
"system": {
"date": "2022-05-23T06:01:55.147093+00:00",
"distribution": {
"DESCRIPTION": "Raspbian GNU/Linux 10 (buster)",
"RELEASE": "10",
"CODENAME": "buster",
"ID": "Raspbian"
},
"pending-updates": false,
"platform": {
"system": "Linux",
"node": "satnogs",
"release": "5.15.36-v7l+",
"version": "#1548 SMP Thu Apr 28 16:59:01 BST 2022",
"machine": "armv7l",
"processor": ""
},
"memory": {
"total": 4025397248,
"available": 3684831232,
"percent": 8.5,
"used": 175738880,
"free": 151048192,
"active": 280428544,
"inactive": 3464810496,
"buffers": 228237312,
"cached": 3470372864,
"shared": 8658944,
"slab": 84508672
},
"disk": {
"total": 31068966912,
"used": 3641868288,
"free": 26109968384,
"percent": 12.2
}
},
"configuration": {
"satnogs_antenna": "RX",
"satnogs_api_token": "[redacted]",
"satnogs_gain_mode": "Settings Field",
"satnogs_other_settings": "LNA=14,MIX=8,VGA=8",
"satnogs_post_observation_script": "/usr/local/bin/satnogs-post {{ID}} {{FREQ}} {{TLE}} {{TIMESTAMP}} {{BAUD}} {{SCRIPT_NAME}}",
"satnogs_pre_observation_script": "/usr/local/bin/satnogs-pre {{ID}} {{FREQ}} {{TLE}} {{TIMESTAMP}} {{BAUD}} {{SCRIPT_NAME}}",
"satnogs_rx_samp_rate": "3e6",
"satnogs_soapy_rx_device": "airspy",
"satnogs_station_elev": "50",
"satnogs_station_id": "2650",
"satnogs_station_lat": "1.3380",
"satnogs_station_lon": "103.934",
"udp_dump_host": "127.0.0.1"
}
}