Page 1 of 1

5.1: 99% CPU utilization

Posted: Thu Dec 03, 2009 3:59 am
by papaschtroumpf
I just upgraded to 5.1 to see if it wouldsolve another problem and now my server CPU utilization is 99%
It's still scanning/rebuilding the database, but shouldn't it pace itself a little more? my poor little server is overheating.

Is this expected or a bug?

Re: 5.1: 99% CPU utilization

Posted: Thu Dec 03, 2009 4:18 am
by papaschtroumpf
hmmm, updated to 5.1.1 posted today and it looks like it's behaving now

Re: 5.1: 99% CPU utilization

Posted: Thu Dec 03, 2009 4:20 am
by papaschtroumpf
I take it back, a few minutes after the server started, it jumped to 99% CPU

Re: 5.1: 99% CPU utilization

Posted: Thu Dec 03, 2009 4:39 am
by papaschtroumpf
interestingly, disk activity appears to have stopped as soon as the CPU utilization got to 100% but the "last database change" field in the web interface changes every time I refresh, is it "post processing" a cache or something?

Re: 5.1: 99% CPU utilization

Posted: Thu Dec 03, 2009 5:33 am
by papaschtroumpf
I was monitoring the log file (through tail -f) at the same time the server was starting and it starts normal enough, with in and out messages about scanning directories, then I see dozens of a message which I unfortunately lost when I erased the log file (I reverted to 5.0, 5.1 just doesn't work for me), something like upnp_event_<something>_changed (1) whever the log shows these (many back to back) the CPU utilization jumps to 100%.
At first it does it only a second at a time, ever 10s or so, then eventually it does it more and more until you have a few dozen of those message between each scan message.

It's liek another thread is doing something at 100% utilization so the scanning speed gets down to a crawl and CPU utilization skyrockets.

for now completely deleted /usr/local/twonkymedia and /var/twonkymedia and reinstalled 5.0.

Re: 5.1: 99% CPU utilization

Posted: Tue Dec 08, 2009 4:29 pm
by cds
Same for me!

As in the RC3 allready in the 5.1.1 final the CPU-load all the sudden is sky-rocketing to 100%.
In addition I can't get the Web-interface to work at all.
I'm back to 5.0.68 which works just flawless .....

I'm running this on an OpenFiler NAS with an Atom330 CPU ....

Re: 5.1: 99% CPU utilization

Posted: Fri Dec 11, 2009 3:12 pm
by mikecj
Hi All,

First post on the forum

I had the same problem moving from 5.1 to 5.1.1. I stopped the server, removed (backed up) /var/twonkymedia and restarted the server.

After a reconfigure of the settings, and a rescan, my cpu started to behave.

Re: 5.1: 99% CPU utilization

Posted: Tue Dec 15, 2009 12:27 pm
by cds
That is a reall interesting hint !

Tried it - and - working!
All the issues I had seem to be gone. Too bad Twonky is not adding that to their installation-hints.

THANKS !

Re: 5.1: 99% CPU utilization

Posted: Tue Dec 15, 2009 9:59 pm
by mgillespie
cds wrote:That is a reall interesting hint !

Tried it - and - working!
All the issues I had seem to be gone. Too bad Twonky is not adding that to their installation-hints.

THANKS !
It's pretty standard when things don't work, delete the settings and start again. It's common troubleshooting for Linux Mac and Windows alike...

It's also very likely the suggestions in this Sticky would have also fixed the problem. (as /var is where the database is stored)

http://www.twonkyforum.com/viewtopic.php?f=2&t=3922

Re: 5.1: 99% CPU utilization

Posted: Thu Dec 17, 2009 2:06 pm
by cds
Well,

i wouldn't really call it 'standard' that you manually have to delete some files/folders to make a SW work - especially if this SW contains functionality to set everything to factory-defaults, recreate the DB and so on.