Debian Bug report logs - #695856
minidlna: behaves like a fork bomb with many pictures to scan

version graph

Package: minidlna; Maintainer for minidlna is Benoît Knecht <benoit.knecht@fsfe.org>; Source for minidlna is src:minidlna.

Reported by: Rinat <ibragimovrinat@mail.ru>

Date: Thu, 13 Dec 2012 15:54:02 UTC

Severity: normal

Tags: pending

Found in version minidlna/1.0.24+dfsg-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, ibragimovrinat@mail.ru, Benoît Knecht <benoit.knecht@fsfe.org>:
Bug#695856; Package minidlna. (Thu, 13 Dec 2012 15:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rinat <ibragimovrinat@mail.ru>:
New Bug report received and forwarded. Copy sent to ibragimovrinat@mail.ru, Benoît Knecht <benoit.knecht@fsfe.org>. (Thu, 13 Dec 2012 15:54:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Rinat <ibragimovrinat@mail.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: minidlna: behaves like a fork bomb with many pictures to scan
Date: Thu, 13 Dec 2012 19:50:13 +0400
[Message part 1 (text/plain, inline)]
Package: minidlna
Version: 1.0.24+dfsg-1
Severity: normal
Tags: patch

Dear Maintainer,

I have difficulties with minidlna with large photo collections.
It seems minidlna forks on every media file and quickly runs out
of available RAM. I have decent amount of RAM (slightly less than
3 GiB) but that not enough. Computer starts actively using swap and
then everything freezes.

I found USE_FORK preprocessor directive which is enabled by default.
Turning it off solved my problem. So I propose to disable it (see
patch below). At least until upstream comes up with some kind of
limit for forking.

Thank you for considering my request.

---
Rinat Ibragimov


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

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages minidlna depends on:
ii  adduser        3.113+nmu3
ii  libavformat53  6:0.8.4-1
ii  libavutil51    6:0.8.4-1
ii  libc6          2.13-37
ii  libexif12      0.6.20-3
ii  libflac8       1.2.1-6
ii  libid3tag0     0.15.1b-10
ii  libjpeg8       8d-1
ii  libogg0        1.3.0-4
ii  libsqlite3-0   3.7.13-1
ii  libvorbis0a    1.3.2-1.3
ii  lsb-base       4.1+Debian8

minidlna recommends no packages.

minidlna suggests no packages.

-- Configuration Files:
/etc/minidlna.conf changed [not included]

-- no debconf information
[avoid-using-fork.patch (text/x-diff, attachment)]

Removed tag(s) patch. Request was from Benoît Knecht <benoit.knecht@fsfe.org> to control@bugs.debian.org. (Sun, 23 Jun 2013 09:09:16 GMT) Full text and rfc822 format available.

Added tag(s) pending. Request was from Benoît Knecht <benoit.knecht@fsfe.org> to control@bugs.debian.org. (Sun, 23 Jun 2013 09:09:17 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 10:27:16 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.