AW: [Voyage-linux] voyage mpd database problem
Gustin Johnson
(spam-protected)
Wed Mar 16 04:50:08 HKT 2011
You might want to spool up a temporary swapfile while adding music:
dd if=/dev/zero of=/path/to/swapfile.bin count=1024000 bs=512
mkswap /path/to/swapfile.bin
swapon -v -f /path/to/swapfile.bin
This will add ~500 MB of swapspace which should see you through those
moments when 256 MiB of RAM is just not enough. This will have to
happen on a writable file system. If you leave it enabled on a CF
card, this will increase the number of writes and thus reduce the life
of the CF card. You could do this over the network but the
performance will be terrible.
You can turn it off when you are done with:
swapoff /path/to/swapfile.bin
You can delete the file at this point if you need the space.
Hope this helps,
On Mon, Mar 14, 2011 at 8:17 PM, Kim-man 'Punky' TSE
<punkytse at punknix.com> wrote:
> On 3/15/2011 1:36 AM, P wrote:
>>
>> I`ve splitten up my mp3 folders, I tried to add a smaller amount of mp3s.
>> That worked. I`ve 80 % of my mp3s in the database so far, that’s ok for
>> me.
>>
>> There seems to be something wrong with one or more files in the other 20
>> %.
>>
> I would recommend you monitor the memory consumption of mpd daemon given
> this amount of music files.
>
> If you mount NFS to your NAS, you should specify noatime option to minimize
> writes of access time over network.
>
> --
>
> Regards,
> Kim-man "Punky" Tse
>
> * Open Source Embedded Solutions and Systems
> - Voyage Linux (http://linux.voyage.hk)
> - Voyage ONE (http://linux.voyage.hk/voyage-one)
> - Voyage MPD (http://linux.voyage.hk/voyage-mpd)
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
More information about the Voyage-linux
mailing list