Wrong sequence PluginCompilerThread -> FeedParser (issue of not synchronized threads?)

Issue #538 closed
Former user created an issue

On a slow single core CPU (QNAP T210, Marvell 6281 800MHz, QNAP Linux) I've observed an unpredictable sequence of reading/compiling plugins and parsing associated feeds. Due to this some feeds are skipped because of the responsible plugins haven't been loaded yet. E.g. (in the attached log file): * 2012-05-13 12:10:45,099 DEBUG [FeedParser] Skipping feed item 'Plattdeutsche Nachrichten: De Plattdüütschen Nahrichten vun 'n 11. Mai 2012' because it's not of type AUDIO [The feed] * ... * 2012-05-13 12:11:00,335 INFO [PluginCompilerThread] Added Feed plugin Radio Bremen RSS Extractor (RadioBremen.groovy) [The responsible plugin]

I could reproduce this behavior with several combinations of plugins. I could reproduce this behavior under Java 6.30 and 7.4. I couldn't reproduce this behavior on a machine with Intel i7 CPU and Windows 7 64 bit.

PS: my Serviio version is 0.6.2

Comments (5)

  1. Petr Nejedly repo owner
    • removed version
    • marked as minor

    can probably use Semaphore or Barrier to block the feed update thread before compilation thread finished the initial run

  2. Log in to comment