Your message dated Sun, 26 Oct 2025 10:49:28 +0000
with message-id <[email protected]>
and subject line Bug#1039449: fixed in fluidsynth 2.5.0+dfsg-1
has caused the Debian Bug report #1039449,
regarding fluidsynth: High memory usage even if not used
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1039449: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039449
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fluidsynth
Version: 2.3.1-2
Severity: normal
X-Debbugs-Cc: [email protected]
fluidsynth auto-starts on my system when I log in, and that causes it to
read into memory /usr/share/sounds/sf3/default-GM.sf3 (this is a symlink
to /etc/alternatives/default-GM.sf3 which is a symlink to
/usr/share/sounds/sf2/FluidR3_GM.sf2).
About 142 megabytes of it.
-rw-r--r-- 1 root root 142M Feb 24 2008 /usr/share/sounds/sf2/FluidR3_GM.sf2
This causes fluidsynth RSS to use about 165MB of residewnt memory, even
if it is not used for anything.
I do not know why it autostarts, my guess is that pipewire or something
else starts it, even if it is not needed. (it runs as a normal user, not
some system user, and there are no init.d script or systemd units for it
that I can find)
Memory usage, looks to correspond to this memory mapping.
Output of pmap -p $(pidof fluidsynth)
00007fdea2389000 144724K rw--- [ anon ]
But there is also many 8M mappings, but they do not contribute to RSS (mapped,
but not touched).
If I show more info with pmap, I got:
3848: /usr/bin/fluidsynth -is /usr/share/sounds/sf3/default-GM.sf3
Address Perm Offset Device Inode Size Rss Pss Pss_Dirty
Referenced Anonymous LazyFree ShmemPmdMapped FilePmdMapped Shared_Hugetlb
Private_Hugetlb Swap SwapPss Locked THPeligible Mapping
...
7fdea2389000 rw-p 00000000 00:00 0 144724 144724 144724 144724
144724 144724 0 0 0 0
0 0 0 144724 1
...
Not only it is fully read, it is mlock-ed (probably to ensure it is not
swapped out, which is important for audio application like this).
It would be desirable in situation like this, to not load whole sf file
by default (just read basic metadata of it), and delay loading, until
there is actually a need for it. Alternatively have them in a format on
disk, that can be mmaped directly. Proper behaviour could be controlled
by some command line flags.
Regards,
Witold
--- End Message ---
--- Begin Message ---
Source: fluidsynth
Source-Version: 2.5.0+dfsg-1
Done: Fabian Greffrath <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fluidsynth, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Fabian Greffrath <[email protected]> (supplier of updated fluidsynth package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 26 Oct 2025 11:25:47 +0100
Source: fluidsynth
Architecture: source
Version: 2.5.0+dfsg-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Multimedia Maintainers <[email protected]>
Changed-By: Fabian Greffrath <[email protected]>
Closes: 1039449
Changes:
fluidsynth (2.5.0+dfsg-1) experimental; urgency=medium
.
* Upload to experimental, until the symbol visibility issue is fixed
upstream (https://github.com/FluidSynth/fluidsynth/issues/1676)
.
* New upstream version 2.5.0+dfsg
* Build fluidsynth without GLib
* Enable dynamic sample loading for the daemon to reduce its memory
footprint (Closes: #1039449)
* Do not export dpkg buildflags and buildtools anymore
* Add Build-Depends on libgcem-dev
* Fix old-fsf-address-in-copyright-file
* Remove redundant RRR: no
* Bump Standards-Version to 4.7.2
* Update debian/watch to version 5
* Move symbols control file out of the way,
call `dh_makeshlibs -VUpstream-Version`
Checksums-Sha1:
59507eac4eaddca92393b13511e56c433b246280 2615 fluidsynth_2.5.0+dfsg-1.dsc
59f80c8e40ed44e4e897391fe3b76dce1bd3ec1c 1448480
fluidsynth_2.5.0+dfsg.orig.tar.xz
7ec687777269ee5223b637b43878f6040795f31b 20704
fluidsynth_2.5.0+dfsg-1.debian.tar.xz
eb22a184967c5aeba4bee058ba6bde9a467d0af8 13685
fluidsynth_2.5.0+dfsg-1_amd64.buildinfo
Checksums-Sha256:
7edacfe7d41dd06d70d3ab366bf1acb33c532ee1fdcdab27bb4d887c37b89135 2615
fluidsynth_2.5.0+dfsg-1.dsc
94645b1792e66707e67c7202b630304a0dd97401c2d6d31c365ae3ab1820de6a 1448480
fluidsynth_2.5.0+dfsg.orig.tar.xz
f28feea940fef7ecdfdc472980d7b02e06b7a3a6838cac6d4fdc0ecab072bb40 20704
fluidsynth_2.5.0+dfsg-1.debian.tar.xz
ca8e0b5b98aa07b91db69734d0629edd61fff69510d57d59974f5db955293e48 13685
fluidsynth_2.5.0+dfsg-1_amd64.buildinfo
Files:
5f717220424cae41e95b6f779c14a86e 2615 sound optional
fluidsynth_2.5.0+dfsg-1.dsc
38f1d82b6d9a211583961726f2a1977a 1448480 sound optional
fluidsynth_2.5.0+dfsg.orig.tar.xz
6edb41ff8d9920ae7250f0333d01b351 20704 sound optional
fluidsynth_2.5.0+dfsg-1.debian.tar.xz
34191db00db0dbd0fe75ac06de1e61cc 13685 sound optional
fluidsynth_2.5.0+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEIsF2SKlSa4TfGRyWy+qOlwzNWd8FAmj9+EMSHGZhYmlhbkBk
ZWJpYW4ub3JnAAoJEMvqjpcMzVnfBBUQAIW/AP0+Gw2zUZUmOkpLWDb6156tGcuN
w/SQAcqbTMbsTeiKOPVWP+Sm2mjM90JUXy8pyDmLDlCK1uYGNLi/MCUXC+lJFGhN
k8uUpmOXWd5hnejXla1dEygYNjFBc2RRXRNtGwb+G/Go59tutE3nEf1NJH++4yAQ
3zayUotU1pyy60L8m8eH5Cbp2JbkYZeJQ0O6KzXBxIcIfgGUUGtTGXJJYjwcJr+7
ez3MkRbtnphFcDtOEiW+JMurbKL2c0JJ3j2FTWMExSQ816WIBVONzqX+ncY9W3O8
NBAmYJPTytWIqOSY7OTmAouVkcF4sHYPnsON5BJQEVh70vUljG3BHSnOwsFXX+Xl
ZGBWEDD6ge/AZo5ccbEEd4w7RcTko9aPLu9Fjw0yMIiSuaATPxbuNZb9QD7v0ESg
S332Jfgsq4q/kOHQ6aeg/PZ8DTMH/NQxxpqq49nehha7AhqLiEo0AnNw0noHNTnE
pJxVopONAv5wi74VDN5SZtg3NtzEGA/uIZaCFrtrmGgUSWoJJYnAg4+iDp1+1Qb8
FLHe6wKeUXS6btO6w05VFvqVqtpXsqJYBIs3ywB318dOv0h3reEpmyF97BZGoUr5
WZmkbvQNDWAzPLNcQg/cAKRG83YxwNNIHRPO3tdOB1zDEAvz+uoWtLgCLdAPs7bP
SicycJnAEq0x
=p2lY
-----END PGP SIGNATURE-----
pgpS1Xn8X2iKn.pgp
Description: PGP signature
--- End Message ---