Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webconf consuming excessive CPU (20%) after accessing MIDI log #1342

Open
riban-bw opened this issue Jan 26, 2025 · 0 comments
Open

Webconf consuming excessive CPU (20%) after accessing MIDI log #1342

riban-bw opened this issue Jan 26, 2025 · 0 comments
Labels
Bug Something isn't working Webconf

Comments

@riban-bw
Copy link

Describe the issue

Normally webconf consumes very little CPU (1.3% on RPi5) but after accessing MIDI log and selecting a few different sources, the usage goes up to 20% and stays there, even after selecting a different webconf page or closing the browser. CPU is only recovered after restarting webconf service.

To Reproduce

Steps to reproduce the behavior:

  1. Start htop and observe webconf CPU usage ~1.3%.
  2. In webconf, open INTERFACE->MIDI Log.
  3. Change MIDI source several times.

Expected behaviour

CPU usage remains low.

Actual behaviour

CPU usage increase as each MIDI source is selected.

Additional context

Toggling between two MIDI sources will trigger this issue. Each time, a new process is created. These processes are not closed.

Configuration

Hardware

Raspberry Pi 5 Model B Rev 1.0
Audio: Tascam US-16x08
Display: MIPI DSI 800x480
Wiring: TOUCH_ONLY
I2C: Not detected
Profile: v5

System

Debian GNU/Linux 12 (bookworm)
Build Date: 2024-10-02
Memory: 15% (1214M/8064M)
Internal Storage: 10% (22G/234G)
Temperature: 48.8ºC
Overclock: None

MIDI & UI

Tuning: 440 Hz
Master Channel: 15
Preload Presets: Off
ZS3 (SubSnapShots): On
Power Save: 10 minutes
Audio Levels on Snapshots: On

Software

zyncoder: vangelis (092fb26) 
zynthian-ui: 1276_mixer_control_view (0f801fb)
zynthian-sys: vangelis (4b568b8)
zynthian-data: vangelis (bee88d0)
zynthian-webconf: vangelis (4dab315)
@riban-bw riban-bw added Bug Something isn't working Webconf labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Webconf
Projects
None yet
Development

No branches or pull requests

1 participant