discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

message passing issue in systemd context


From: Victor Ortman
Subject: message passing issue in systemd context
Date: Fri, 5 Jun 2020 11:20:24 +0200

Hi.

I am having issues running gnuradio flowgraphs containg message passing in a systemd context.

I have tried running a minimal flowgraph only containing a message strobe and a message debug block.
When I run it manually it works just fine, but when executed from a systemd service the flowgraph restarts all the time.

Here is some cutouts from journalctl:

-- Logs begin at Wed 2019-01-02 04:42:01 CET, end at Fri 2020-06-05 11:12:21 CEST. --
jun 05 11:12:13 fitlet2-001 python[32548]: Press Enter to quit:
jun 05 11:12:12 fitlet2-001 systemd[1]: Started Message passing flowgraph.
jun 05 11:12:12 fitlet2-001 systemd[1]: Stopped Message passing flowgraph.
jun 05 11:12:12 fitlet2-001 systemd[1]: msgtest.service: Scheduled restart job, restart counter is at 4.
jun 05 11:12:12 fitlet2-001 systemd[1]: msgtest.service: Service hold-off time over, scheduling restart.
jun 05 11:12:09 fitlet2-001 python[32532]: Press Enter to quit:
jun 05 11:12:09 fitlet2-001 systemd[1]: Started Message passing flowgraph.
jun 05 11:12:09 fitlet2-001 systemd[1]: Stopped Message passing flowgraph.
jun 05 11:12:09 fitlet2-001 systemd[1]: msgtest.service: Scheduled restart job, restart counter is at 3.
jun 05 11:12:09 fitlet2-001 systemd[1]: msgtest.service: Service hold-off time over, scheduling restart.
jun 05 11:12:05 fitlet2-001 python[32514]: Press Enter to quit:
jun 05 11:12:05 fitlet2-001 systemd[1]: Started Message passing flowgraph.
jun 05 11:12:05 fitlet2-001 systemd[1]: Stopped Message passing flowgraph.
jun 05 11:12:05 fitlet2-001 systemd[1]: msgtest.service: Scheduled restart job, restart counter is at 2.
jun 05 11:12:05 fitlet2-001 systemd[1]: msgtest.service: Service hold-off time over, scheduling restart.
jun 05 11:12:02 fitlet2-001 python[32496]: Press Enter to quit:
jun 05 11:12:01 fitlet2-001 systemd[1]: Started Message passing flowgraph.
jun 05 11:12:01 fitlet2-001 systemd[1]: Stopped Message passing flowgraph.
jun 05 11:12:01 fitlet2-001 systemd[1]: msgtest.service: Scheduled restart job, restart counter is at 1.
jun 05 11:12:01 fitlet2-001 systemd[1]: msgtest.service: Service hold-off time over, scheduling restart.
jun 05 11:11:58 fitlet2-001 python[32481]: Press Enter to quit:
jun 05 11:11:57 fitlet2-001 systemd[1]: Started Message passing flowgraph.

I an running Gnuradio 3.7.13.4 on Ubuntu 18.04.1 LTS

I have attached the flowgraph, systemd unit file and the /etc/environment setup file.


Thank you for any assistance!

Regards, Victor

Attachment: msgtest.grc
Description: Binary data

Attachment: msgtest.py
Description: Text Data

Attachment: msgtest.service
Description: Text Data

Attachment: environment
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]