Page 1 of 1
What are the files event-sound-cache.tdb.xxx.i686-pc-linux-gnu for?
Posted: Wed Jul 28, 2021 9:10 pm
by Adam Li
Hi
Puppy: BionicPup32-8 19.03
In the directory
I find
Code: Select all
event-sound-cache.tdb.xxx.i686-pc-linux-gnu
files: 567
size: 12 228 bytes each
Are these files useful for something and can they somehow be automatically deleted? For some time now I have been trying to eliminate anything that takes up unnecessary space in pup_save.
Best regards
Adam Li
Re: What are the files event-sound-cache.tdb.xxx.i686-pc-linux-gnu for?
Posted: Wed Jul 28, 2021 10:16 pm
by OscarTalks
I have noticed those many times. I am not sure where they come from, maybe libcanberra which I think is supposed to generate some kind of sound notifications. In Puppy I don't think this is functional, but the library is installed to satisfy dependencies. Anyone can correct me if I am wrong. They are just some sort of cache files so I believe you can delete them. If they are appearing a lot, you could place a script in /root/Startup with the command to delete all such files.
Re: What are the files event-sound-cache.tdb.xxx.i686-pc-linux-gnu for?
Posted: Fri Jul 30, 2021 8:24 am
by Adam Li
1. In 1st step I manually deleted this files. Nothing wrong after - sound is working no problem.
2. I read on Askbuntu that deleting these files helps if the sound is down
Re: What are the files event-sound-cache.tdb.xxx.i686-pc-linux-gnu for?
Posted: Fri Jul 30, 2021 9:05 am
by peebee
Maybe raise a Woof-CE issue that these files should be deleted at system startup?
I think they are just an Ubuntu phenomenon - Slackware does not seem to be inflicted with them....
Re: What are the files event-sound-cache.tdb.xxx.i686-pc-linux-gnu for?
Posted: Fri Jul 30, 2021 11:51 am
by OscarTalks
peebee wrote: Fri Jul 30, 2021 9:05 am
I think they are just an Ubuntu phenomenon - Slackware does not seem to be inflicted with them....
Maybe because the Slackware Pups do not have libcanberra?
Re: What are the files event-sound-cache.tdb.xxx.i686-pc-linux-gnu for?
Posted: Fri Jul 30, 2021 10:00 pm
by OscarTalks
A bit more information about this.
From the libcanberra homepage at http://0pointer.de/lennart/projects/libcanberra/
"An optional lookup cache can be used if Samba's tdb trivial database is available."
So I am fairly sure that in Ubuntu and Debian, libcanberra is compiled with support for libtdb
This is what is creating these cache files.
As a test, in my personal Dpup Stretch, I have compiled libcanberra from source, with the (optional) dependency on libtdb disabled. I will see if the cache files no longer appear.
Code: Select all
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-alsa --disable-oss --disable-pulse --disable-gstreamer --disable-gtk --disable-gtk3 --disable-tdb --disable-lynx
It tried to ignore my --disable-tdb so I removed the tdb.pc file from /usr/lib/pkgconfig and then it configured OK.
Re: What are the files event-sound-cache.tdb.xxx.i686-pc-linux-gnu for?
Posted: Fri Aug 20, 2021 12:31 am
by OscarTalks
If anyone is interested in testing this out, here are the .PET packages of libcanberra compiled from source in BionicPup32 with libtdb disabled. I think this will prevent the sound cache files from appearing, but I am not totally sure what events can trigger these files so I can't be certain.