Ticket #252 (new defect)

Opened 1 year ago

Last modified 11 months ago

High CPU load with missing dependencies

Reported by: kossebau Assigned to: dev
Priority: major Milestone:
Component: Core Version:
Keywords: plugins cpu Cc:

Description

Switching on at least one plugin and having some missing dependencies Coherence starts to have max CPU load.

$ coherence
/usr/local/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-i686.egg/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
/usr/local/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-i686.egg/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
WARN  coherence                   Oct 10 14:33:51  Coherence UPnP framework version 0.6.5 starting... (coherence/base.py:289)
WARN  webserver                   Oct 10 14:33:51  WebServer on port 30020 ready (coherence/base.py:130)
WARN  plugins                     Oct 10 14:33:52  Can't load plugin MiroGuideStore (No module named gdata.youtube.service), maybe missing dependencies... (coherence/base.py:189)
WARN  plugins                     Oct 10 14:33:52  Can't load plugin PlaylistStore (No module named gdata.photos.service), maybe missing dependencies... (coherence/base.py:189)
WARN  plugins                     Oct 10 14:33:52  Can't load plugin MediaStore (No module named axiom), maybe missing dependencies... (coherence/base.py:189)
WARN  plugins                     Oct 10 14:33:52  Can't load plugin YouTubeStore (No module named gdata.youtube.service), maybe missing dependencies... (coherence/base.py:189)
WARN  plugins                     Oct 10 14:33:52  Can't load plugin PicasaStore (No module named gdata.photos.service), maybe missing dependencies... (coherence/base.py:189)
WARN  plugins                     Oct 10 14:33:52  Can't load plugin GStreamerPlayer (No module named pygst), maybe missing dependencies... (coherence/base.py:189)
/usr/local/lib/python2.6/site-packages/Coherence-0.6.5-py2.6.egg/coherence/extern/louie.py:44: UserWarning: extern.louie will soon be deprecated in favor of coherence.dispatcher.
  warnings.warn("extern.louie will soon be deprecated in favor of coherence.dispatcher.")
WARN  mediaserver                 Oct 10 14:33:53  my media MediaServer (FSStore'>) activated with 982b534d-3d2a-44ec-a0f9-3fdc162bb82b (coherence/upnp/devices/media_server.py:619)
^CWARN  coherence                   Oct 10 14:34:21  Coherence UPnP framework shutdown (coherence/base.py:595)

Attachments

.coherence (1.1 kB) - added by kossebau on 10.10.2009 14:41:03.
My config file

Change History

10.10.2009 14:41:03 changed by kossebau

  • attachment .coherence added.

My config file

19.10.2009 12:05:37 changed by lightyear

I doubt that the CPU load is caused by the missing dependencies. Could you uncomment the FSStore-Section and start coherence once for testing? Does it still have a high CPU load?

If not the problem seems to be in the FSStore which is reading all files recursivly at start. Could you check that you don't have any symlink-circle in your pathes please?

Thanks ben