Page 1 of 1

serviio using 100% cpu

PostPosted: Wed Feb 23, 2011 5:48 am
by gtvracer
Hello All!
I've just downloaded the latest Serviio for Mac (SL 10.6.3), and chose the Music folder where iTunes resides for the music/video.
I came back a couple of hours later and found Serviio chewing up 100% of the cpu(s) (Quad-core Xenon). Is this normal? Seems like it should be doing something like that. Any ideas?
Thanks in advance.

Re: serviio using 100% cpu

PostPosted: Thu Feb 24, 2011 12:38 am
by patters
Try disabling the "create thumbnails for local videos" option in the Library tab, save, and completely restart Serviio and see if that helps. I have had some issues with this. I think it can also be quite slow creating thumbnails of images, so if you added a huge image folder that could explain it.

Re: serviio using 100% cpu

PostPosted: Thu Feb 24, 2011 6:55 am
by gtvracer
Thanks for the advice!
I started serviio again and a few minutes later, it started hogging the cpu again..
So using the console, I de-flagged the "generate thumbnails for local videos" and saved the setting.
Then even without restarting the server, the cpu usage dropped to about 20%...
That is an improvement, but then, why is it using 20% of the cpu doing nothing?
It must be chugging long in an infinte message loop without any delay put in to slow it down... seems very busy for doing nothing...
Ohhh... as I type this the cpu went up to 87%... but why?!! I can understand if it was serving up some video or something, but it is doing NOTHING!
Woa! Wierd, now it's down to 1.0 ~ 0.8%... Hey, I'll take that, seems normal for a server that's not doing anything right now... but sure wished I can understand this behavior..

Re: serviio using 100% cpu

PostPosted: Thu Feb 24, 2011 8:21 am
by Cerberus
-- High CPU/Memory Usage --

i have no idea why people are so obsessed by CPU usage at the moment, it baffles me as a network engineer, and all i have to say is this " just cause you think its doing nothing i might be doing something in the background like checking for updates " it is also an idle process so if your using your pc at the time serviio wont take as much of your cpu/memory as when your not using it, this allows serviio to give you the best performance of keeping your library upto date and still giving you a usable system.

Re: serviio using 100% cpu

PostPosted: Thu Feb 24, 2011 9:44 am
by zip
exactly, CPU is there to be used. I could probably make it use less CPU but them the library update process would take days.
It's most likely NOT doing nothing, check the log if you wish, but it's probably adding files to the library and/or checking for updates of the currently shared ones