tch-nginx-gui icon indicating copy to clipboard operation
tch-nginx-gui copied to clipboard

questions about fileprofiler for attached storage

Open Dark4Codrutz opened this issue 4 years ago • 0 comments

As I could find out about this process it seems that it categorizes files based on the descriptions of fileprofiler.conf

  1. If DLNA is turned off shouldn't this process (or service) be turned off ? This is my main issue with it as it spins the storage continuously, especially for big file archives like I have.

  2. If you have more information about what it actually is or where it comes from please share

Update 28/02 From a little research it appears that this process existed on the old tg582n modems back in 2012 (source). If it is to make it work only on DLNA enabled we should figure out first what is it that fires it up in the first place, which I wasn't able to understand so far (not part of init as seen in GUI). Only thing I know is that it starts scanning the files upon USB storage connection, without regards of DLNA or SAMBA services status. Other relevant mention of fileprofiler here on Ansuel's forum thread which mentions Xupnp but it's not related as I don't have such extension and the process still goes on.

What it actually does is it creates a database of all the files and paths categorised by file types (specified by fileprofiler.conf) inside a folder on the HDD itself. What's wrong about it is that it does it every time without knowledge of the past, simply recreating the database every reconnection of the storage medium. Might be that it doesn't bring any benefit and it is worth considering eliminating such binary or disable it if possible.

Update 16/04 There seems to be this mud service (Metadata Update Daemon) that starts it all and uses fileprofiler. It also loads dlnad. Both dlnad and mud are enabled and running even though DLNA is disabled in GUI. Workaround: stop and disable mud service

Enhancement request: disable them as long as DLNA is disabled in GUI to save up CPU and memory usage with storage attached.

Will update with further information on the execution logic later when time makes it more available. Furthermore investigation is needed as it seems that mvfs (MultiVersion File System) also loads dlnad but this service has deeper implications.

Dark4Codrutz avatar Feb 06 '20 07:02 Dark4Codrutz