OP25 (Osmocom) high CPU usage, error on start up.

jets1961

Member
Joined
Jan 21, 2002
Messages
224
Hi all, I am getting high CPU usage running the latest OP25 (Max-Osmocom) version, native Ubuntu 22. Screen shot attached and the following startup error;

"Traceback (most recent call last):
File "/home/user/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 79, in insert_row
self.cursor.execute(d['command'], d['row'])
sqlite3.OperationalError: no such table: data_store"

Is this because I have not created a blank log file and am not pointing to it? If so where do I reference the location of the log file in my trunk.tsv is it after tgid.tsv file refernce?

Do you think this could cause the high CPU usage?

Here is command line: ./rx.py --args "rtl" --gains 'lna:22' -S 960000 -X -P fft,symbol -d -100 -q -8.1 -l http:127.0.0.1:5000 -v 3 -2 -V -U -T wpg700a.tsv 2> stderr.2
 

Attachments

  • Screenshot from 2022-10-24 20-22-20.png
    Screenshot from 2022-10-24 20-22-20.png
    144.1 KB · Views: 11

jets1961

Member
Joined
Jan 21, 2002
Messages
224
When I look at process view they two process using anything at pyton3 and firefox (106).

What about the error, if I fix it maybe the high usage goes away? I know in pass version had way lower CPU usage...
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
903
Location
NE Wisconsin
Hi all, I am getting high CPU usage running the latest OP25 (Max-Osmocom) version, native Ubuntu 22. Screen shot attached and the following startup error;

"Traceback (most recent call last):
File "/home/user/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 79, in insert_row
self.cursor.execute(d['command'], d['row'])
sqlite3.OperationalError: no such table: data_store"

Is this because I have not created a blank log file and am not pointing to it? If so where do I reference the location of the log file in my trunk.tsv is it after tgid.tsv file refernce?

Do you think this could cause the high CPU usage?

Here is command line: ./rx.py --args "rtl" --gains 'lna:22' -S 960000 -X -P fft,symbol -d -100 -q -8.1 -l http:127.0.0.1:5000 -v 3 -2 -V -U -T wpg700a.tsv 2> stderr.2

The Traceback suggests the SQL database is not present or has not been initalized. However, there is a potential conflict with the port number
chosen to host the http console. Port 5000 is the by default the port used by oplog (Flask). You'll need to use a different port for one or the other to avoide a conflict if you intend to run op25 and oplog together.

Bill
 

jets1961

Member
Joined
Jan 21, 2002
Messages
224
I thought I would update this thread.

While doing routine updates to the Ubuntu 22.04.1 system I noticed it did an update to python3. Since the update the high CPU usage has ceased. Down from about 21% to 5%.

So this is resolved.
 
Top