[Voyage-linux] Problem creating database on alix

Gianluca Bonalumi (spam-protected)
Wed Feb 5 04:44:37 HKT 2014


Hi there, the log didn't helped because mpd was crashing on different files
any of the times I've tried. Being very hangry at that time I've tried to
install mpdpup version 0.9.3 with mpd 0.16.8 and bang!! It updated the
database without problem, even very fast (but probably is the new NAS). It
also solved some problems of the latest version with some internet radios,
that sometime caused mpd to crash and restart (but sometimes not restart at
all). Probably something changed in version 0.17.2 of mpd that was the
first version causing me some random problems, never so big maybe because
since first installation I've always retained the database and only updated
it (because the rebuild from scratch was very low then...). This doesn't
mean that the problem is not some of my files, but sure there is some sort
of bug in latest mpd. So I will try to investigate more on this and let you
know if I find something.

See you.

    .·´¨¨))  -:¦:-
-:¦:-  ¸.·´  .·´¨¨))
    ((¸¸.·´   .·´  -:¦:-GiAnLuCa
       -:¦:- ((¸¸.·´



2014-02-04 Kim-man 'Punky' TSE <punkytse at punknix.com>:

> Hi,
>
> I seems to get some reports on updating database on 0.9.2.
>
> One test case would be reading 24/44.1 wav file for database. This eats
> CPUs but not memory.
>
> My recommendation would be a verbose log_level to trace, add
>
> log_level                      "verbose"
>
> to /etc/mpd.conf, restart mpd, and monitor the log /var/log/mpd/mpd.log
>
> When mpd increase CPU, look at near the end of the log and locate what
> songs it is reading.  A successful reading of file would be:
>
> Feb 04 05:38 : update: reading public/wav/09 So Sad.wav
> Feb 04 05:38 : update: added public/wav/09 So Sad.wav
>
> Your log will not show "update: added ..." after "update: reading ..."
> message if the song is problematic to mpd, e.g.
>
> Feb 04 05:38 : update: reading public/XXXX.wav
>
> Regards,
> Punky
>
>
> On 2/4/2014 4:03 AM, Gianluca Bonalumi wrote:
>
>> Hi kim, I'm struggling to find a solution to the database creation
>> problem, I've cutted down to the fact that it seems to be a memory leak
>> problem, I've tried 2 more pc's other than the Alix, one with 1Gb of ram
>> and the other with 6Gb (voyage uses only 2,5Gb) and noted that when
>> launching the database update, looking at memory with the top command, it
>> starts to eat memory at a rate of 5Kib a second more or less. The Alix
>> hangs only after 1 or 2 minutes from start of the update, the PC with 1Gb
>> works for 8-10 minutes at least and the one with 2,5Gb works for half an
>> hour, but for all 3 when the memory is very low the result is the same, mpd
>> hangs. I've tried to reinstall all (0.9.2), and also with differents USB
>> key, tried to eliminate the buffer in mpd.conf but any try was with no
>> luck...I'm really down, I like so much the combination of Alix and mpd and
>> since bought it from you, it has worked for more than a year with no
>> problem at all (apart from occasional WaveIO problems on startup...). I've
>> also tried mpdpup that has mpd version 17.0 or 17.2, don't remember well,
>> but got the same problem.
>>
>> Please, have you got any clue? I've also resetted completely the router,
>> changed NAS, PSU, tried with and without WaveIO connected but no way.
>>
>> Thanks in advance for your support, Best Regards.
>>
>>     .·´¨¨))  -:¦:-
>> -:¦:-  ¸.·´  .·´¨¨))
>>     ((¸¸.·´   .·´  -:¦:-GiAnLuCa
>>        -:¦:- ((¸¸.·´
>>
>>
>>
>> 2014-01-20 Gianluca Bonalumi <bonalux.lc8 at gmail.com <mailto:
>> bonalux.lc8 at gmail.com>>:
>>
>>
>>     Hi Kim, thanks for your quick reply. I've managed easily to create a
>> swap file on the SD, the problem is that
>>     looking at the memory use (using TOP command) even with the swap file
>> active the system uses only ram, not even a
>>     byte of the swap. Is the system locked in ram in some way? Thank you,
>> best regards.
>>
>>         .·´¨¨))  -:¦:-
>>     -:¦:-  ¸.·´  .·´¨¨))
>>         ((¸¸.·´   .·´  -:¦:-GiAnLuCa
>>            -:¦:- ((¸¸.·´
>>
>>
>>
>>     2014/1/20 Kim-man 'Punky' TSE <punkytse at punknix.com <mailto:
>> punkytse at punknix.com>>
>>
>>
>>         Hi,
>>
>>         This wiki may help you:
>>
>>         https://wiki.debian.org/Swap
>>
>>
>>
>>         On 1/19/2014 6:49 AM, Gianluca Bonalumi wrote:
>>
>>             Hi all, I'm having problems rebuilding the database on my
>> alix after reinstalling voyage-mpd-0.9.2 (but
>>             the same problem was present before), probably due to low
>> ram. It starts regularly with the update but
>>             after few minutes mpd crashes.
>>             I've tried to add a swapfile but the kernel is ignoring it
>> and it's not used, anyone knows how can I
>>             temporarily force mpd to run on a swap file? I'm a noob on
>> linux.
>>
>>             Thank you.
>>
>>                 .·´¨¨))  -:¦:-
>>             -:¦:-  ¸.·´  .·´¨¨))
>>                 ((¸¸.·´   .·´  -:¦:-GiAnLuCa
>>                    -:¦:- ((¸¸.·´
>>
>>
>>
>>             _______________________________________________
>>             Voyage-linux mailing list
>>             Voyage-linux at list.voyage.hk <mailto:Voyage-linux at list.
>> voyage.hk>
>>
>>             http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>>
>>         --         Regards,
>>         Kim-man "Punky" Tse
>>
>>         * Open Source Embedded Solutions and Systems
>>           - Voyage Linux (http://linux.voyage.hk)
>>           - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
>>           - Voyage MuBox (http://mubox.voyage.hk)
>>         * Voyage Store   (http://store.voyage.hk)
>>
>>
>>
>>
>
> --
> Regards,
> Kim-man "Punky" Tse
>
> * Open Source Embedded Solutions and Systems
>   - Voyage Linux (http://linux.voyage.hk)
>   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
>   - Voyage MuBox (http://mubox.voyage.hk)
> * Voyage Store   (http://store.voyage.hk)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20140204/637b0cbc/attachment.html>


More information about the Voyage-linux mailing list