FAQ  •  Register  •  Login

Idle IO, polling plugins directory

<<

abelau

Serviio newbie

Posts: 2

Joined: Tue Jan 31, 2017 10:22 am

Post Tue Jan 31, 2017 10:44 am

Idle IO, polling plugins directory

Just testing out Serviio as a media server such that my photos can be viewed on the TV. Apart from missing UPnP/DLNA search function, it is working great. Thank you for this great media server.

fatrace indicates the serviio process keeps polling the "plugins" folder every ~10 seconds. The plugins folder contains one file (plugins-readme.txt). I wonder if inotify can be used instead of constant polling.

Config: Ubuntu 16.04LTS, openjdk-8, serviio v1.8

Serviio log indicates inotify-based file monitoring is active:
  Code:
[LibraryDeltaScanner] Added repository '/home/data/Photo' to delta scanner (NATIVE)


  Code:
~# fatrace
java(28528): O /home/pc5dczcbl5yt/plugins
java(28528): RC /home/serviio/plugins
java(28528): O /home/serviio/.java/.userPrefs/.user.lock.serviio
java(28528): CW /home/serviio/.java/.userPrefs/.user.lock.serviio
java(28528): O /home/serviio/plugins
java(28528): RC /home/serviio/plugins
java(28528): O /home/serviio/plugins
java(28528): RC /home/serviio/plugins
java(28528): O /home/serviio/plugins
java(28528): RC /home/serviio/plugins
java(28528): O /home/serviio/.java/.userPrefs/.user.lock.serviio
java(28528): CW /home/serviio/.java/.userPrefs/.user.lock.serviio
java(28528): O /home/serviio/plugins
java(28528): RC /home/serviio/plugins
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 31, 2017 1:02 pm

Re: Idle IO, polling plugins directory

you can turn the ceck off by setting the plugins.check system variable to false

http://www.serviio.org/index.php?option ... icle&id=43
<<

abelau

Serviio newbie

Posts: 2

Joined: Tue Jan 31, 2017 10:22 am

Post Tue Jan 31, 2017 2:31 pm

Re: Idle IO, polling plugins directory

Thanks Petr for your quick reply. This eliminated the polling to the plugins folder. :)

The polling to the lock file remains, can that be eliminated also (I am being greedy :mrgreen: )

java(28528): O /home/serviio/.java/.userPrefs/.user.lock.serviio
java(28528): CW /home/serviio/.java/.userPrefs/.user.lock.serviio

and isn't it better if inotify is used to monitor the plugins folder, or is there other limitation?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 52 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.