french_guy Posted March 11, 2011 Share Posted March 11, 2011 To instal YAMJ, do I need : 1) More RAM? I have only 512gb 2) Faster CPU? I have now a Sempron LE 1100 @ 1.9 Ghz Thanks Quote Link to comment
joshpond Posted March 13, 2011 Share Posted March 13, 2011 hi french guy, I think the specs are enough from memory but you it will be a bit slow as you can only run one thread at a time. The memory might be the slow part. Josh Quote Link to comment
eroz Posted March 16, 2011 Share Posted March 16, 2011 Hey guys! Not sure if my question is related to YAMJ. I recently tried a Dynamic version of YAMJ, NMTServer. Now while running YAMJ, I notice on mu unRAID Tower I get these Mar 15 22:55:37 Tower vsftpd[11870]: connect from 192.168.1.2 (192.168.1.2) Mar 15 22:55:37 Tower vsftpd: Tue Mar 15 22:55:37 2011 [pid 11871] CONNECT: Client "192.168.1.2" Mar 15 22:55:37 Tower vsftpd: Tue Mar 15 22:55:37 2011 [pid 11870] [anonymous] FAIL LOGIN: Client "192.168.1.2" repeating throughout. What are they? Quote Link to comment
gp4959 Posted April 2, 2011 Share Posted April 2, 2011 Hi everyone, I'm new to unRAID and the forums. I am trying to get YAMJ set up but it won't complete a scan. I'm using the Intel SS4200-E box which uses a celeron processor and has 512mb ram. Here's a copy and paste from the telnet session, could the limited memory be the cause? Thanks! Indexing libraries... Indexing Other... Indexing Genres... Indexing Title... Indexing Rating... Indexing Year... Indexing Library... Indexing Set... Sorting Indexes ... Indexing masters... Writing movie data... ./MovieJukebox.sh: line 5: 2765 Killed java -Xms256m -Xmx1024 -classpath .:./resources:./lib/* com.moviejukebox.MovieJukebox "$@" root@Tower:~# Quote Link to comment
Joe L. Posted April 2, 2011 Share Posted April 2, 2011 could the limited memory be the cause? Thanks! Yes, that is the reason your process is being killed. No way to run Java with limited memory. Joe L. Quote Link to comment
gp4959 Posted April 2, 2011 Share Posted April 2, 2011 Joe, thanks for the quick reply. The board only supports 1gb, will that be sufficient? Quote Link to comment
Joe L. Posted April 2, 2011 Share Posted April 2, 2011 Joe, thanks for the quick reply. The board only supports 1gb, will that be sufficient? I have no idea. You might consider a swap file if your processes keep getting killed. Quote Link to comment
joshpond Posted April 2, 2011 Share Posted April 2, 2011 I think you can run with 1GB but you have to turn down the number of threads, or maybe that was CPU power. Been a while since I looked but have a look at the settings, somewhere you can turn down the settings. Josh Quote Link to comment
gp4959 Posted April 3, 2011 Share Posted April 3, 2011 Thanks for the replies. I set up the swap file and that worked although it took a long time to complete. I may do as Tom suggests on page 6 and run it from my PC. I will upgrade the memory though as I think it will help going forward. I am really enjoying the simplicity of unRAID. Gregg Quote Link to comment
joshpond Posted April 25, 2011 Share Posted April 25, 2011 Okay figured out why my Jukebox setting wasn't working like that mentioned by Tom. Setup: Have all the Jukebox, YAMJ and index.htm files on an ssd with share Jukebox and a symlink to Media folder. the problem with the Popcorn Hour was that the share was setup as a NFS share. I now realise after much headbanging that NFS shares won't see symlinks. You have to set it up as a Samba share. Question: I believe to setup a NFS share I have to mount the folder is that right? How do I do that? cd /mnt/user/Jukebox mnt -t ?? /mnt/user/Media /mnt/user/Jukebox/Media What goes in the ? When I browse to the jukebox on the ssd, no other hdd should spin up right? thanks Josh Quote Link to comment
starcat Posted April 25, 2011 Share Posted April 25, 2011 Change the parameter -Xms256m to -Xms512m or something like -Xms450m if you only have 512MB max physical memory. This is the amount Java takes out for the VM regardless how much phys mem you have. This paramter is located in the MediaJukebox.sh file. Quote Link to comment
odd1 Posted May 2, 2011 Share Posted May 2, 2011 Does anyone know the latest on getting YAMJ ro run from a RAMdisk? Quote Link to comment
joshpond Posted May 2, 2011 Share Posted May 2, 2011 I have mine running from an ssd. Just an elcheapo kingston 30gb one. Could probably run from a usb flash drive too if you wanted. I used the symlinks as mentioned by Tom on page 6 I think it is. You just have to make sure you use samba shares as symlinks aren't visable in NFS. I asked a question a few posts back about poss mounting for NFs but didn't get an answer so not sure about the process for NFS. Thanks Josh Quote Link to comment
neilt0 Posted May 2, 2011 Share Posted May 2, 2011 Does anyone know the latest on getting YAMJ ro run from a RAMdisk? Why do you want to do that? I have it running on my cache drive and most the reads get cached in to RAM anyhoo. Quote Link to comment
odd1 Posted May 2, 2011 Share Posted May 2, 2011 The problem that I'm having is that after watching a movie or when I first sit down to watch one, I try to get back to the movie wall and if the array is not spun up, the PCH hangs and eventually all I get is a black screen. I have to do a hard reset on the PCH and then everything is fine. I think it's taking too long for the array to spin up and it is giving the PCH problems. A USB drive would be simpler than a RAMdisk or SSD for me. Think this might solve the problem? neilt0, do you mean that you have all of yamj on your cache drive or just the jukebox? Thanks Quote Link to comment
neilt0 Posted May 2, 2011 Share Posted May 2, 2011 neilt0, do you mean that you have all of yamj on your cache drive or just the jukebox? I have all of YAMJ running from the cache drive, and my cache drive doesn't usually spin down, as it's always doing other tasks. I put everything in \\MICRO\cache\Movies (where MICRO is my server). That way, if I open \\MICRO\Movies on the PCH, it automatically will open YAMJ's index.htm . \\MICRO\cache\Movies\YAMJ\My_YAMJ.sh looks like this: #/bin/bash # Include path to Java binary directory PATH="$PATH:/usr/lib/java/bin" # Change into YAMJ directory and execute the MovieJukebox script # The -o option specifies where to put the generated index.htm and Jukebox directory. cd /mnt/cache/Movies/YAMJ ; ./MovieJukebox.sh My_Library.xml -o /mnt/cache/Movies P.S. I don't use the mover script at all. It's completely disabled. So, be careful with that. Quote Link to comment
odd1 Posted May 2, 2011 Share Posted May 2, 2011 I don't know if putting it on my cache drive will be any better for me. I've only been up and running for a couple of days and I have yet to even use my cache drive. I'm leaning towards a USB thumbdrive. That or spinning up the array before I want to watch a movie... Quote Link to comment
neilt0 Posted May 2, 2011 Share Posted May 2, 2011 I don't know if putting it on my cache drive will be any better for me. I've only been up and running for a couple of days and I have yet to even use my cache drive. I'm leaning towards a USB thumbdrive. That or spinning up the array before I want to watch a movie... There's no reason why you couldn't put the whole structure on your unRAID flash drive. YAMJ and the Jukebox don't take up much room. That's assuming you don't run yamj-rescan too often so as to wear out the drive. Quote Link to comment
odd1 Posted May 2, 2011 Share Posted May 2, 2011 I was thinking along the same lines. I think I have enough space. I have 3.9GB free and my jukebox is only 1.1GB. the rest of the YAMJ files don't add up to much. I add new stuff and run rescans everyday or maybe every other day. Think that is too often for my boot drive to handle? Quote Link to comment
defected07 Posted May 2, 2011 Share Posted May 2, 2011 If I go the cache drive route, can I still mount my Movie share on the PCH, or is there no need to? Just mount the cache share, and it will just reference the Movies on /mnt/user/Media/[TV | Movies] ok? I think I recall it being a problem doing something like this since PCH can only (natively) mount one drive at a time. I could always do so by SSHing in and mounting drives with the 'mount' command. And if I do the Cache drive, I'll place it in a '.yamj' folder so the mover script will skip it. Quote Link to comment
joshpond Posted May 3, 2011 Share Posted May 3, 2011 If I go the cache drive route, can I still mount my Movie share on the PCH, or is there no need to? Just mount the cache share, and it will just reference the Movies on /mnt/user/Media/[TV | Movies] ok? I think I recall it being a problem doing something like this since PCH can only (natively) mount one drive at a time. Not 100% sure what you mean but if you mount the cache share within the pch, the easiest is to create a symlink from the cache to the media files. (Can only do Samba) -cache\Movies\-->YAMJ -->Jukebox -->@movies (symlink to mnt/user/movies) you can then also put the mnt/user/movies into the PCH also so if you haven't updated the YAMJ wall you can still browse through the files individually. Replace cache with usb or SSD. My setup is with ssd as disk 20 so that I also get parity protection of my artwork etc. I was thinking along the same lines. I think I have enough space. I have 3.9GB free and my jukebox is only 1.1GB. the rest of the YAMJ files don't add up to much. I add new stuff and run rescans everyday or maybe every other day. Think that is too often for my boot drive to handle? I'd just get a new USB drive. you should have plenty of USB ports and they are cheap. Josh Quote Link to comment
defected07 Posted May 3, 2011 Share Posted May 3, 2011 Thanks. What I was referring to is the PCH can only mount one drive through the Network Browser. If you were to install busybox, and mount the drives via telnet/ssh, you could mount more than one network drive at a time. I was asking if the Cache share and the Media share would need to be mounted at the same time, but I guess the symlinks is the work around. Quote Link to comment
odd1 Posted May 3, 2011 Share Posted May 3, 2011 ok. I'm trying to use another usb flashdrive (actually it's an SD card in a usb reader) to house my YAMJ folders, jukebox and index file so there won't be a hangup or delays when accessing the index file from the PCH. I have the flashdrive plugged in but I'm stuck as to how exactly to add it to the array. It's not showing up in my Devices tab and I can't assign it. It does show up in myMain and Main in unMenu in the unprotected section with a big NEW label next to it. Do I need to Preclear it or something? Also If I just add it to my array, won't it just go into my Movies share? How do I get it to be a separate space so that I can run YAMJ from it and point my PCH to the index file? Sorry, this is my first rodeo on linux... Quote Link to comment
joshpond Posted May 3, 2011 Share Posted May 3, 2011 I don't think you can mount the usb into the array, you have to mount it separately outside of the array. You can try something like the snap add on or the myMain may have some simpler solution to mount the usb drive. If you do it manually it is possible but can be more difficult, esp if you haven't used linux much. If someone doesn't get back I'll have a look later if I get the chance. Josh Quote Link to comment
defected07 Posted May 17, 2011 Share Posted May 17, 2011 I'm setting this up now. How many threads have you guys configured for a single core processor? I have the AMD Sempron 140, and right now have it set to 1 thread for processing, and 2 threads for downloading. Think I can bump the processing threads up to at least 2? Also, after I'm satisfied with this set up (running off my cache drive, copying Jukebox to my /mnt/user/Media share), I'm thinking of configuring this, if possible: http://www.networkedmediatank.com/showthread.php?tid=49826 It's a Linux script that will autorun YAMJ when your Media directories have been changed. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.