jackaudio / jack2

jack2 codebase
GNU General Public License v2.0
2.22k stars 377 forks source link

database not cleaned up #988

Open sjomae opened 1 month ago

sjomae commented 1 month ago

Describe the bug

Some database is not cleared up after restarting jack.

Cannot open DB environment: Cannot allocate memory
BDB2034 unable to allocate memory for mutex; resize mutex region

When you start a lot of jack applications, it starts to complain about a DB:

BDB2034 unable to allocate memory for mutex; resize mutex region
Cannot open DB environment: Cannot allocate memory

I would expect those DB issues would be gone after restarting jack, but this is not the case. So I need to reboot to fix the DB?

Environment

Arch Linux:

jackd --version
jackdmp version 1.9.22 tmpdir /dev/shm protocol 9
sjomae commented 2 weeks ago

The pipewire developer wtay (IRC) thinks such a database is not the right way to store the metadata.