Your message dated Thu, 15 Sep 2005 17:38:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#294934: fixed
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Feb 2005 13:57:51 +0000
>From [EMAIL PROTECTED] Sat Feb 12 05:57:51 2005
Return-path: <[EMAIL PROTECTED]>
Received: from fep32-0.kolumbus.fi (fep32-app.kolumbus.fi) [193.229.0.63] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CzxmR-0004Ma-00; Sat, 12 Feb 2005 05:57:51 -0800
Received: from bongo.cante.net ([81.197.3.110]) by fep32-app.kolumbus.fi
          with ESMTP
          id <[EMAIL PROTECTED]>
          for <[EMAIL PROTECTED]>; Sat, 12 Feb 2005 15:57:49 +0200
Received: from fw.cante.net ([192.168.1.3]:33068 helo=cante.cante.net)
        by bongo with esmtp (Exim 4.34)
        id 1CzxmO-0002sn-AD
        for [EMAIL PROTECTED]; Sat, 12 Feb 2005 15:57:48 +0200
Received: from jaalto by cante.cante.net with local (Exim 4.44)
        id 1Czxmd-0004ek-QY; Sat, 12 Feb 2005 15:58:04 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jari Aalto <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: daapd: Unacceptable server startup time at boot (scanning files takes 
hours)
X-Mailer: reportbug 3.7.1
Date: Sat, 12 Feb 2005 15:58:03 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: daapd
Version: 0.2.3d-4
Severity: important


ENVIRONMENT

    Host A      Host B
    - daapd     - audio files 

   - The connection between A-B is WLAN/11Mbps (effective speed about 2-3Mbps)
     and host A accesses B's direcctories via NFS.
   - Total shared files from B is about 2000-3000 (not counted exactly)

PROBLEM

After starting daapd (for the first time), the whole process just hangs.
I assume it is scanning the files and /etc/init.d/daapd is waiting
it to end.

  Starting DAAP music sharing server: 
  (... and it goes on, on and on)

I killed the process after 2 hours due to lack of indication that the
process would ever end by itself.

Due to this hour(s) long hang up, the daapd is unusable in the
presented environment. I assume it might work with fast 1G ethernet
connections, but that's knot the typical home environment.

SUGGESTION

The daapd code needs restructuring to make it usable in any other
environment than localhost (files at host A). It is not uncommon that
files being too big to fit in server A, the data files are shared
through other hosts (like B in my case).

I haven't looked at the source, but I dare to make some suggestions
for the code flow:

- Do not try to scan all files at startup, but divide the task
  into "chunks":
  
  A. Collect the directories to scan to a LIST. This should be fast.
     (easy recursive task)

  B. Store this LIST to disk as checkpoint X.
     => At this point return ok code to the caller, so that
     calling program can continue (in this case: "/etc/init.d/daapd start"
     process)

  C. Start examining the LIST one DIR at a time.
     => After processing one DIR, write checkpoint to disk and
     serve files collected so far.

  D. Continue repeating C, as long as there are still entries in LIST.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages daapd depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-9    GCC support library
ii  libhowl0                    0.9.8-2      Library for Zeroconf service disco
ii  libid3tag0                  0.15.1b-3    ID3 tag reading library from the M
ii  libstdc++5                  1:3.3.5-8    The GNU Standard C++ Library v3
ii  mdnsresponder               0.9.8-2      Howl Rendezvous/mDNS service respo
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 294934-close) by bugs.debian.org; 16 Sep 2005 00:49:14 +0000
>From [EMAIL PROTECTED] Thu Sep 15 17:49:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from jeroen by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EG4Ex-0003UH-00; Thu, 15 Sep 2005 17:38:07 -0700
From: Debian Archive Maintenance <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: melanie $Revision: 1.43 $
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] 
Subject: Bug#294934: fixed
Message-Id: <[EMAIL PROTECTED]>
Sender: Jeroen van Wolffelaar <[EMAIL PROTECTED]>
Date: Thu, 15 Sep 2005 17:38:07 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

We believe that the bug you reported is now fixed; the following
package(s) have been removed from unstable:

     daapd |   0.2.4a-1 | source, alpha, arm, hppa, i386, ia64, m68k, mips, 
mipsel, powerpc, s390, sparc

Note that the package(s) have simply been removed from the tag
database and may (or may not) still be in the pool; this is not a bug.
The package(s) will be physically removed automatically when no suite
references them (and in the case of source, when no binary references
it).  Please also remember that the changes have been done on the
master archive (ftp-master.debian.org) and will not propagate to any
mirrors (ftp.debian.org included) until the next cron.daily run at the
earliest.

Packages are never removed from testing by hand.  Testing tracks
unstable and will automatically remove packages which were removed
from unstable when removing them from testing causes no dependency
problems.

Bugs which have been reported against this package are not automatically
removed from the Bug Tracking System.  Please check all open bugs and
close them or re-assign them to another package if the removed package
was superseded by another one.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED]

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[EMAIL PROTECTED]

Debian distribution maintenance software
pp.
Jeroen van Wolffelaar (the ftpmaster behind the curtain)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to