Hi,
running raspovos headless image on rpi3+
I noticed average load is a bit high, constant 0.3.
top shows 2 python and 1 python3 processes taking up between 20% - 30%, pulseaudio 3%…
is this expected and normal? I guess picroft was a bit less harsh to the machine…
I do have some python exceptions in the logs, not sure if this can be ignored as well…
May 03 17:09:46 mycroft python[985]: 2024-05-03 17:09:46.742 - PHAL - ovos_PHAL.service:load_plugins:83 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-balena-wifi
May 03 17:09:46 mycroft python[985]: 2024-05-03 17:09:46.814 - PHAL - ovos_PHAL_plugin_wifi_setup:_watchdog:455 - INFO - Wifi watchdog started
May 03 17:09:46 mycroft python[985]: 2024-05-03 17:09:46.868 - PHAL - ovos_PHAL.service:load_plugins:83 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-wifi-setup
May 03 17:09:46 mycroft python[985]: 2024-05-03 17:09:46.930 - PHAL - ovos_phal_plugin_connectivity_events:update_state:82 - INFO - Network state changed to: FULL
May 03 17:09:46 mycroft python[985]: 2024-05-03 17:09:46.936 - PHAL - ovos_PHAL_plugin_wifi_setup:handle_register_client:290 - INFO - Registered wifi client: ovos-PHAL-plugin-balena-wifi
May 03 17:09:47 mycroft python[985]: /home/ovos/.venv/lib/python3.11/site-packages/gpiozero/devices.py:300: PinFactoryFallback: Falling back from lgpio: No module named 'lgpio'
May 03 17:09:47 mycroft python[985]: warnings.warn(
May 03 17:09:47 mycroft python[984]: 2024-05-03 17:09:47.197 - voice - ovos_dinkum_listener.service:on_alive:86 - INFO - DinkumVoiceService is alive.
May 03 17:09:47 mycroft python[985]: exception calling callback for <Future at 0x7f785d0550 state=finished raised UnboundLocalError>
May 03 17:09:47 mycroft python[985]: Traceback (most recent call last):
May 03 17:09:47 mycroft python[985]: File "/usr/lib/python3.11/concurrent/futures/_base.py", line 340, in _invoke_callbacks
May 03 17:09:47 mycroft python[985]: callback(self)
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_executor.py", line 57, in _callback
May 03 17:09:47 mycroft python[985]: self.emit("error", exc)
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 118, in emit
May 03 17:09:47 mycroft python[985]: self._emit_handle_potential_error(event, args[0] if args else None)
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 88, in _emit_handle_potential_error
May 03 17:09:47 mycroft python[985]: raise error
May 03 17:09:47 mycroft python[985]: File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
May 03 17:09:47 mycroft python[985]: result = self.fn(*self.args, **self.kwargs)
May 03 17:09:47 mycroft python[985]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_PHAL_plugin_system/__init__.py", line 227, in handle_ntp_sync_request
May 03 17:09:47 mycroft python[985]: if check_service_installed('ntp'):
May 03 17:09:47 mycroft python[985]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/system.py", line 202, in check_service_installed
May 03 17:09:47 mycroft python[985]: status_command = f"{status_command} | grep -i {service_name}"
May 03 17:09:47 mycroft python[985]: ^^^^^^^^^^^^^^
May 03 17:09:47 mycroft python[985]: UnboundLocalError: cannot access local variable 'status_command' where it is not associated with a value
May 03 17:09:47 mycroft python[984]: 2024-05-03 17:09:47.457 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:108 - INFO - creating hotword engines
May 03 17:09:47 mycroft python[984]: 2024-05-03 17:09:47.469 - voice - ovos_plugin_manager.wakewords:load_module:165 - INFO - Loading "hey_mycroft" wake word via ovos-ww-plugin-precise-lite with config: {'module': 'ovos-ww-plugin-precise-lite', 'model': '/home/ovos/.local/share/precise_lite/hey_mycroft.tflite', 'ex>
May 03 17:09:47 mycroft python[985]: 2024-05-03 17:09:47.621 - PHAL - ovos_PHAL_plugin_wifi_setup:_watchdog:462 - INFO - Network is active
May 03 17:09:47 mycroft python[985]: exception calling callback for <Future at 0x7f7861a6d0 state=finished raised UnboundLocalError>
May 03 17:09:47 mycroft python[985]: Traceback (most recent call last):
May 03 17:09:47 mycroft python[985]: File "/usr/lib/python3.11/concurrent/futures/_base.py", line 340, in _invoke_callbacks
May 03 17:09:47 mycroft python[985]: callback(self)
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_executor.py", line 57, in _callback
May 03 17:09:47 mycroft python[985]: self.emit("error", exc)
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 118, in emit
May 03 17:09:47 mycroft python[985]: self._emit_handle_potential_error(event, args[0] if args else None)
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 88, in _emit_handle_potential_error
May 03 17:09:47 mycroft python[985]: raise error
May 03 17:09:47 mycroft python[985]: File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
May 03 17:09:47 mycroft python[985]: result = self.fn(*self.args, **self.kwargs)
May 03 17:09:47 mycroft python[985]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_PHAL_plugin_system/__init__.py", line 227, in handle_ntp_sync_request
May 03 17:09:47 mycroft python[985]: if check_service_installed('ntp'):
May 03 17:09:47 mycroft python[985]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 03 17:09:47 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/system.py", line 202, in check_service_installed
May 03 17:09:47 mycroft python[985]: status_command = f"{status_command} | grep -i {service_name}"
May 03 17:09:47 mycroft python[985]: ^^^^^^^^^^^^^^
May 03 17:09:47 mycroft python[985]: UnboundLocalError: cannot access local variable 'status_command' where it is not associated with a value
May 03 17:09:48 mycroft python[984]: /home/ovos/.venv/lib/python3.11/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
May 03 17:09:48 mycroft python[984]: setattr(self, word, getattr(machar, word).flat[0])
May 03 17:09:48 mycroft python[984]: /home/ovos/.venv/lib/python3.11/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
May 03 17:09:48 mycroft python[984]: return self._float_to_str(self.smallest_subnormal)
May 03 17:09:48 mycroft python[984]: /home/ovos/.venv/lib/python3.11/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
May 03 17:09:48 mycroft python[984]: setattr(self, word, getattr(machar, word).flat[0])
May 03 17:09:48 mycroft python[984]: /home/ovos/.venv/lib/python3.11/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
May 03 17:09:48 mycroft python[984]: return self._float_to_str(self.smallest_subnormal)
May 03 17:09:48 mycroft python[985]: 2024-05-03 17:09:48.918 - PHAL - ovos_PHAL.service:load_plugins:83 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-respeaker-4mic
May 03 17:09:48 mycroft systemd[915]: Started ovos-phal.service - OVOS PHAL.
May 03 17:09:50 mycroft python[984]: 2024-05-03 17:09:50.100 - voice - ovos_plugin_manager.wakewords:load_module:172 - INFO - Loaded the Wake Word hey_mycroft with module ovos-ww-plugin-precise-lite
May 03 17:09:50 mycroft python[984]: INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
May 03 17:09:50 mycroft python[984]: 2024-05-03 17:09:50.365 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:157 - INFO - Loading hotword: hey_mycroft with engine: <ovos_ww_plugin_precise_lite.PreciseLiteHotwordPlugin object at 0x7f5e4eab50>
May 03 17:09:50 mycroft python[984]: 2024-05-03 17:09:50.377 - voice - ovos_plugin_manager.wakewords:load_module:165 - INFO - Loading "wake_up" wake word via ovos-ww-plugin-pocketsphinx with config: {'module': 'ovos-ww-plugin-pocketsphinx', 'phonemes': 'W EY K . AH P', 'threshold': 1e-20, 'lang': 'en-us', 'wakeup':>
May 03 17:09:50 mycroft python[984]: 2024-05-03 17:09:50.630 - voice - ovos_plugin_manager.wakewords:load_module:172 - INFO - Loaded the Wake Word wake_up with module ovos-ww-plugin-pocketsphinx
May 03 17:09:50 mycroft python[984]: 2024-05-03 17:09:50.977 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:157 - INFO - Loading hotword: wake_up with engine: <ovos_ww_plugin_pocketsphinx.PocketsphinxHotWordPlugin object at 0x7f67e5b310>
May 03 17:09:50 mycroft python[984]: 2024-05-03 17:09:50.982 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:189 - WARNING - No stop words loaded
May 03 17:09:50 mycroft python[984]: 2024-05-03 17:09:50.993 - voice - ovos_dinkum_listener.voice_loop.voice_loop:start:177 - INFO - Listening mode: ListeningMode.WAKEWORD
May 03 17:09:51 mycroft python[984]: 2024-05-03 17:09:51.003 - voice - ovos_dinkum_listener.service:on_started:90 - INFO - DinkumVoiceService started.
May 03 17:09:51 mycroft python[984]: 2024-05-03 17:09:51.008 - voice - ovos_dinkum_listener.service:on_started:90 - INFO - DinkumVoiceService started.
May 03 17:09:51 mycroft systemd[915]: Started ovos-dinkum-listener.service - OVOS Dinkum Listener.
May 03 17:09:51 mycroft python[984]: Startup of Mycroft Voice service complete
May 03 17:09:51 mycroft python[984]: 2024-05-03 17:09:51.016 - voice - ovos_dinkum_listener.service:run:316 - INFO - Service ready
May 03 17:09:51 mycroft python[984]: 2024-05-03 17:09:51.020 - voice - ovos_dinkum_listener.voice_loop.voice_loop:run:203 - INFO - Starting loop in mode: ListeningMode.WAKEWORD
May 03 17:09:52 mycroft python[983]: 2024-05-03 17:09:52.910 - audio - ovos_plugin_manager.tts:create:209 - INFO - Loaded plugin ovos-tts-plugin-google-tx
May 03 17:09:52 mycroft python[983]: 2024-05-03 17:09:52.916 - audio - ovos_audio.service:_maybe_reload_tts:332 - INFO - (re)loading fallback TTS engine
May 03 17:09:53 mycroft python[986]: 2024-05-03 17:09:53.071 - OVOS - mycroft:<module>:37 - WARNING - mycroft has been deprecated! please start importing from ovos_core and companion packages
May 03 17:09:53 mycroft python[986]: mycroft module remains available for backwards compatibility and will be removed in version 0.2.0
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.130 - audio - ovos_plugin_manager.tts:create:205 - INFO - Found plugin ovos-tts-plugin-mimic
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.287 - audio - ovos_plugin_manager.utils.tts_cache:load_persistent_cache:263 - INFO - Persistent TTS cache files loaded successfully.
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.565 - audio - ovos_plugin_manager.tts:create:209 - INFO - Loaded plugin ovos-tts-plugin-mimic
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.762 - audio - ovos_audio.audio:find_default:72 - INFO - Finding default audio backend...
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.767 - audio - ovos_audio.audio:find_default:80 - INFO - no default found
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.773 - audio - ovos_audio.service:on_alive:35 - INFO - TTS service is alive.
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.778 - audio - ovos_audio.service:run:243 - WARNING - audio service has moved to ovos-media, if you already migrated to ovos-media set "enable_old_audioservice": false in mycroft.conf
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.886 - audio - ovos_audio.service:run:247 - WARNING - No audio backends loaded! Audio playback is not available
May 03 17:09:53 mycroft python[983]: 2024-05-03 17:09:53.891 - audio - ovos_audio.service:run:249 - INFO - Running audio service in TTS only mode
May 03 17:09:53 mycroft systemd[915]: Started ovos-audio.service - OVOS Audio.
May 03 17:09:55 mycroft python[986]: 2024-05-03 17:09:55.168 - skills - ovos_plugin_manager.language:create:233 - INFO - Loaded the Language Translation plugin ovos-translate-plugin-server
May 03 17:09:56 mycroft python[986]: /home/ovos/.venv/lib/python3.11/site-packages/sklearn/base.py:376: InconsistentVersionWarning: Trying to unpickle estimator LabelBinarizer from version 1.3.2 when using version 1.4.1.post1. This might lead to breaking code or invalid results. Use at your own risk. For more info >
May 03 17:09:56 mycroft python[986]: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
May 03 17:09:56 mycroft python[986]: warnings.warn(
May 03 17:09:56 mycroft python[986]: /home/ovos/.venv/lib/python3.11/site-packages/sklearn/base.py:376: InconsistentVersionWarning: Trying to unpickle estimator MLPClassifier from version 1.3.2 when using version 1.4.1.post1. This might lead to breaking code or invalid results. Use at your own risk. For more info p>
May 03 17:09:56 mycroft python[986]: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
May 03 17:09:56 mycroft python[986]: warnings.warn(
May 03 17:09:56 mycroft python[986]: /home/ovos/.venv/lib/python3.11/site-packages/sklearn/base.py:376: InconsistentVersionWarning: Trying to unpickle estimator _SigmoidCalibration from version 1.3.2 when using version 1.4.1.post1. This might lead to breaking code or invalid results. Use at your own risk. For more >
May 03 17:09:56 mycroft python[986]: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
May 03 17:09:56 mycroft python[986]: warnings.warn(
May 03 17:09:56 mycroft python[986]: /home/ovos/.venv/lib/python3.11/site-packages/sklearn/base.py:376: InconsistentVersionWarning: Trying to unpickle estimator CalibratedClassifierCV from version 1.3.2 when using version 1.4.1.post1. This might lead to breaking code or invalid results. Use at your own risk. For mo>
May 03 17:09:56 mycroft python[986]: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
May 03 17:09:56 mycroft python[986]: warnings.warn(
May 03 17:09:56 mycroft systemd[1]: systemd-hostnamed.service: Deactivated successfully.
May 03 17:09:56 mycroft python[986]: /home/ovos/.venv/lib/python3.11/site-packages/sklearn/base.py:376: InconsistentVersionWarning: Trying to unpickle estimator Perceptron from version 1.3.2 when using version 1.4.1.post1. This might lead to breaking code or invalid results. Use at your own risk. For more info plea>
May 03 17:09:56 mycroft python[986]: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
May 03 17:09:56 mycroft python[986]: warnings.warn(
May 03 17:09:57 mycroft python[986]: /home/ovos/.venv/lib/python3.11/site-packages/sklearn/base.py:376: InconsistentVersionWarning: Trying to unpickle estimator CountVectorizer from version 1.3.2 when using version 1.4.1.post1. This might lead to breaking code or invalid results. Use at your own risk. For more info>
May 03 17:09:57 mycroft python[986]: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
May 03 17:09:57 mycroft python[986]: warnings.warn(
May 03 17:09:57 mycroft python[986]: /home/ovos/.venv/lib/python3.11/site-packages/sklearn/base.py:376: InconsistentVersionWarning: Trying to unpickle estimator Pipeline from version 1.3.2 when using version 1.4.1.post1. This might lead to breaking code or invalid results. Use at your own risk. For more info please>
May 03 17:09:57 mycroft python[986]: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
May 03 17:09:57 mycroft python[986]: warnings.warn(
May 03 17:10:01 mycroft python[986]: 2024-05-03 17:10:01.207 - skills - ovos_core.transformers:load_plugins:29 - INFO - loaded utterance transformer plugin: ovos-utterance-normalizer
May 03 17:10:01 mycroft python[986]: 2024-05-03 17:10:01.403 - skills - ovos_bus_client.util.scheduler:run:145 - INFO - EventScheduler Started
May 03 17:10:01 mycroft python[986]: 2024-05-03 17:10:01.409 - skills - ovos_core.skill_manager:on_started:60 - INFO - Skills Manager is starting up.
May 03 17:10:01 mycroft python[986]: 2024-05-03 17:10:01.475 - skills - ovos_core.skill_manager:on_alive:64 - INFO - Skills Manager is alive.
May 03 17:10:01 mycroft python[986]: 2024-05-03 17:10:01.478 - skills - ovos_core.skill_manager:_load_on_startup:628 - INFO - Loading offline skills...
May 03 17:10:10 mycroft python[986]: 2024-05-03 17:10:10.303 - skills - ovos_core.skill_manager:_load_on_internet:585 - INFO - Loading skills that require internet (and network)...
May 03 17:10:10 mycroft python[986]: 2024-05-03 17:10:10.371 - skills - ovos_core.intent_services.padatious_service:train:145 - INFO - Training complete.
May 03 17:10:10 mycroft python[985]: exception calling callback for <Future at 0x7f78633190 state=finished raised UnboundLocalError>
May 03 17:10:10 mycroft python[985]: Traceback (most recent call last):
May 03 17:10:10 mycroft python[985]: File "/usr/lib/python3.11/concurrent/futures/_base.py", line 340, in _invoke_callbacks
May 03 17:10:10 mycroft python[985]: callback(self)
May 03 17:10:10 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_executor.py", line 57, in _callback
May 03 17:10:10 mycroft python[985]: self.emit("error", exc)
May 03 17:10:10 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 118, in emit
May 03 17:10:10 mycroft python[985]: self._emit_handle_potential_error(event, args[0] if args else None)
May 03 17:10:10 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 88, in _emit_handle_potential_error
May 03 17:10:10 mycroft python[985]: raise error
May 03 17:10:10 mycroft python[985]: File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
May 03 17:10:10 mycroft python[985]: result = self.fn(*self.args, **self.kwargs)
May 03 17:10:10 mycroft python[985]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 03 17:10:10 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_PHAL_plugin_system/__init__.py", line 227, in handle_ntp_sync_request
May 03 17:10:10 mycroft python[985]: if check_service_installed('ntp'):
May 03 17:10:10 mycroft python[985]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 03 17:10:10 mycroft python[985]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/system.py", line 202, in check_service_installed
May 03 17:10:10 mycroft python[985]: status_command = f"{status_command} | grep -i {service_name}"
May 03 17:10:10 mycroft python[985]: ^^^^^^^^^^^^^^
May 03 17:10:10 mycroft python[985]: UnboundLocalError: cannot access local variable 'status_command' where it is not associated with a value
May 03 17:10:10 mycroft systemd[915]: Started ovos-skills.service - OVOS Skills.
May 03 17:10:10 mycroft systemd[915]: Startup finished in 48.570s.
May 03 17:10:10 mycroft python[986]: Startup of Mycroft Skills service complete