More > JRiver Media Center 21 for Linux
JRiver Media Center 21.0.90 for Debian (Wheezy) ARM
Hilton:
I'd say it's a memory problem. With my 20K files being analysed I can see the memory steadily climbing to 1GB just before it crashes.
I see mostly writes happening and almost no reads, does it keep the thumbs in ram?
Hilton:
Hi guys,
Just thought I'd report that setting thumbnail priority to low makes the Pi2 still usable during rebuilds but still get some occasional stutters and I had this crash just happen.
pi-crash by Hilton, on Flickr
Hilton:
1 hour 44 mins to rebuild 20k thumbs on 1TB USB SSD disk. (on low priority and no crash)
pi2-mem-thumbs by Hilton, on Flickr
bob:
I think I may know what's going on here. It's a combination of two things.
One, the fork/exec method of spawning another program we moved to copies the existing program space before forking which is why you see a bunch of mediacenter21's running at the same time.
Two, the low priority is spawning too many threads.
I might see if I can build a beta with the old shell call instead of fork/exec and see if that solves your issue.
--- Quote from: Hilton on September 14, 2015, 09:29:19 am ---1 hour 44 mins to rebuild 20k thumbs on 1TB USB SSD disk. (on low priority and no crash)
pi2-mem-thumbs by Hilton, on Flickr
--- End quote ---
Hendrik:
FWIW, the fork+exec model is considered much more lightweight than a shell call through system(), for example.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version