Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1005219: minidlna: Floods logfile with 'minidlna.c:166: error: accept(http): Too many open files'

368 views
Skip to first unread message

Nicolas Schier

unread,
Feb 9, 2022, 3:00:04 AM2/9/22
to
Package: minidlna
Version: 1.3.0+dfsg-2
Severity: important

Dear Maintainer,

When I let minidlna run for some weeks, it eventually starts flooding its
logfile with endlessly repeated

minidlna.c:166: error: accept(http): Too many open files

until the filesystem is full. (Which is a quite annoying behaviour to me.)

Kind regards,
Nicolas


-- System Information:
Debian Release: 11.2
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (500, 'oldstable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-4-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to nb_NO.UTF-8), LANGUAGE=nb:nn:se:dk:de:C
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages minidlna depends on:
ii adduser 3.118
ii init-system-helpers 1.60
ii libavformat58 7:4.3.3-0+deb11u1
ii libavutil56 7:4.3.3-0+deb11u1
ii libc6 2.31-13+deb11u2
ii libexif12 0.6.22-3
ii libflac8 1.3.3-2
ii libid3tag0 0.15.1b-14
ii libjpeg62-turbo 1:2.0.6-4
ii libogg0 1.3.4-0.1
ii libsqlite3-0 3.34.1-3
ii libvorbis0a 1.3.7-1
ii lsb-base 11.1.0

minidlna recommends no packages.

minidlna suggests no packages.

-- Configuration Files:
/etc/minidlna.conf changed:
media_dir=A,/home/mpd/music
media_dir=A,/home/mpd/playlists
merge_media_dirs=no
log_dir=/var/log/minidlna
network_interface=eth0
port=8200
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
wide_links=yes


-- no debconf information

Diederik de Haas

unread,
Jul 8, 2022, 9:30:04 AM7/8/22
to
Control: tag -1 upstream

On Wed, 09 Feb 2022 08:42:27 +0100 Nicolas Schier <nic...@fjasle.eu> wrote:
> Package: minidlna
> Version: 1.3.0+dfsg-2
>
> When I let minidlna run for some weeks, it eventually starts flooding its
> logfile with endlessly repeated
>
> minidlna.c:166: error: accept(http): Too many open files
>
> until the filesystem is full. (Which is a quite annoying behaviour to me.)

This sounds like an issue that should be reported (and fixed) upstream.
signature.asc

Tobias Schlemmer

unread,
Dec 8, 2022, 5:20:03 AM12/8/22
to
Package: minidlna
Followup-For: Bug #1005219

Version 1.3.0 has a confirmed socket leak that should be fixed in 1.3.1 with
https://sourceforge.net/p/minidlna/git/ci/2c66335a9b63387728496e2fea4fbefc080ceebe/

Btw. 1.3.2 is out.


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, mingw64-amd64, mingw64-i386

Kernel: Linux 6.0.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages minidlna depends on:
ii adduser 3.129
ii init-system-helpers 1.65.2
ii libavformat59 7:5.1.2-1
ii libavutil57 7:5.1.2-1
ii libc6 2.36-5
ii libexif12 0.6.24-1+b1
ii libflac12 1.4.2+ds-2
ii libid3tag0 0.15.1b-14
ii libjpeg62-turbo 1:2.1.2-1+b1
ii libogg0 1.3.5-1
ii libsqlite3-0 3.40.0-1
ii libvorbis0a 1.3.7-1
ii lsb-base 11.5
ii sysvinit-utils [lsb-base] 3.05-7
0 new messages