dlandon Posted February 22, 2017 Author Share Posted February 22, 2017 10 minutes ago, bakes82 said: Tower login: root Linux 4.4.30-unRAID. Last login: Wed Feb 22 17:56:32 -0500 2017 on /dev/pts/1 from 192.168.0.34. root@Tower:~# /usr/local/emhttp/plugins/file.activity/scripts/inotify.file.activity /usr/local/emhttp/plugins/file.activity/scripts/inotify.file.activity: line 41: /usr/bin/inotifywait: No such file or directory What version of unRAID are you running? Quote Link to comment
bakes82 Posted February 23, 2017 Share Posted February 23, 2017 6.2.4. Anything > throws a kernel panic. Quote Link to comment
dlandon Posted February 23, 2017 Author Share Posted February 23, 2017 19 minutes ago, bakes82 said: 6.2.4. Anything > throws a kernel panic. I've just modified the plugin and the File Activity xml on CA. File Activity needs at least 6.3.0. The inotify package was installed in the released version starting with 6.3.0. Try 6.3.2. I believe the kernel panics were solved with the version of Linux in 6.3.2. Quote Link to comment
bakes82 Posted February 23, 2017 Share Posted February 23, 2017 Like I said anything over 6.2.4 doesn't work. I used another plugin to see what I wanted. Quote Link to comment
digitalfixer Posted February 23, 2017 Share Posted February 23, 2017 On 21/02/2017 at 9:09 PM, digitalfixer said: The file /tmp/file.activity/file.activity.disks is only picking up the first 9 disks. I have 14 in my array. Kevin This file now shows 14 disks but the activity log only ever goes up to disk 9. Nothing is shown for anything higher. Kevin Quote Link to comment
dlandon Posted February 23, 2017 Author Share Posted February 23, 2017 1 hour ago, digitalfixer said: This file now shows 14 disks but the activity log only ever goes up to disk 9. Nothing is shown for anything higher. Kevin Update and try again. 2017.02.23. Had to make a change in another place. Quote Link to comment
digitalfixer Posted February 25, 2017 Share Posted February 25, 2017 All good now. Thank you. Now if there was a way to figure out what was accessing the files listed. Kevin. Quote Link to comment
Squid Posted March 10, 2017 Share Posted March 10, 2017 Minor issue: On a fresh install, the max_user_watches entry is reflecting the system default value, not the value that it is currently set to. Quote Link to comment
dlandon Posted March 10, 2017 Author Share Posted March 10, 2017 17 minutes ago, Squid said: Minor issue: On a fresh install, the max_user_watches entry is reflecting the system default value, not the value that it is currently set to. With the issues I see with max user watches, I'm thinking this would be a setting that would go better in Tips and Tweaks so a person doesn't have to have the Files Activity plugin installed to set it. Still thinking about it. Quote Link to comment
Squid Posted March 10, 2017 Share Posted March 10, 2017 Just now, dlandon said: With the issues I see with max user watches, I'm thinking this would be a setting that would go better in Tips and Tweaks so a person doesn't have to have the Files Activity plugin installed to set it. Still thinking about it. I do agree. Only noticed this because I know that my watches are set to 720000 instead of 524288. BTW, I did add in a test for watch exhaustion in FCP a week or so ago, but it can only tell if its currently exhausted (ie: if it can't create a single watch) Quote Link to comment
dlandon Posted March 10, 2017 Author Share Posted March 10, 2017 11 minutes ago, Squid said: I do agree. Only noticed this because I know that my watches are set to 720000 instead of 524288. BTW, I did add in a test for watch exhaustion in FCP a week or so ago, but it can only tell if its currently exhausted (ie: if it can't create a single watch) I think I will go ahead and move it to Tips and Tweaks. It is designed to show the current setting and allow changes. Quote Link to comment
dlandon Posted March 10, 2017 Author Share Posted March 10, 2017 I have moved the max_user_watches setting to the Tips and Tweaks plugin because the issue of not enough inotify watches affects more that just this plugin and it doesn't make sense to install this plugin just for that setting. Quote Link to comment
bnevets27 Posted March 16, 2017 Share Posted March 16, 2017 I can't get this to work. Needed to increase my max_user_watches and that got rid of inotify watches reached error. Now its says running but shows nothing, looks the same as digitalfixer post here: This line is in my processes: root 12643 12638 10 15:32 ? 00:02:06 inotifywait -mrqs -e open,attrib,move,create,delete --excludei appdata/ --timefmt %b %d %H:%M:%S --format %T %e => %w%f --fromfile /tmp/file.activity/file.activity.disks No errors in the syslog. Any ideas? Quote Link to comment
dlandon Posted March 17, 2017 Author Share Posted March 17, 2017 14 hours ago, bnevets27 said: I can't get this to work. Needed to increase my max_user_watches and that got rid of inotify watches reached error. Now its says running but shows nothing, looks the same as digitalfixer post here: This line is in my processes: root 12643 12638 10 15:32 ? 00:02:06 inotifywait -mrqs -e open,attrib,move,create,delete --excludei appdata/ --timefmt %b %d %H:%M:%S --format %T %e => %w%f --fromfile /tmp/file.activity/file.activity.disks No errors in the syslog. Any ideas? How about a diagnostics? Quote Link to comment
allischalmersman Posted March 17, 2017 Share Posted March 17, 2017 I also cannot get the plug in to work. I assume there is something wrong with my inotifywait. When I ran the whereis inotifywait command I get /usr/bin/inotifywait Attaching logs. Any help appreciated. tower-diagnostics-20170317-1948.zip Quote Link to comment
dlandon Posted March 18, 2017 Author Share Posted March 18, 2017 27 minutes ago, allischalmersman said: I also cannot get the plug in to work. I assume there is something wrong with my inotifywait. When I ran the whereis inotifywait command I get /usr/bin/inotifywait Attaching logs. Any help appreciated. tower-diagnostics-20170317-1948.zip It looks like File Activity is assuming the Unassigned Devices plugin is installed and you are not using it. I will have to make an update to fix this. Quote Link to comment
bnevets27 Posted March 18, 2017 Share Posted March 18, 2017 (edited) On 2017-03-17 at 6:28 AM, dlandon said: How about a diagnostics? Good idea, I'm off my game. Attached Edited March 24, 2017 by bnevets27 Quote Link to comment
dlandon Posted March 18, 2017 Author Share Posted March 18, 2017 5 hours ago, bnevets27 said: Good idea, I'm off my game. Attached excelsior-diagnostics-20170318-0151.zip File Activity is not starting and I can't see why. Be sure you have the latest version of the plugin installed. Go to a command line and run this command: /usr/local/emhttp/plugins/file.activity/scripts/inotify.file.activity See if you get any errors. If it looks like the program is hanging, then it is running. Ctrl-C to stop the program. Let me know the results. Quote Link to comment
bnevets27 Posted March 18, 2017 Share Posted March 18, 2017 File Activity is not starting and I can't see why. Be sure you have the latest version of the plugin installed. Go to a command line and run this command: /usr/local/emhttp/plugins/file.activity/scripts/inotify.file.activity See if you get any errors. If it looks like the program is hanging, then it is running. Ctrl-C to stop the program. Let me know the results. Running the latest version 03.17. Running that command doesn't throw any errors, it shows running in the gui and is listed in processes but still doesn't show anything on the file activity page. Processes:root 27703 10365 0 14:42 pts/0 00:00:00 /bin/bash /usr/local/emhttp/plugins/file.activity/scripts/inotify.file.activityroot 27705 27703 1 14:42 pts/0 00:00:00 inotifywait -mrqs -e open,attrib,move,create,delete --excludei appdata/ --timefmt %b %d %H:%M:%S --format %T %e => %w%f --fromfile /tmp/file.activity/file.activity.disks Quote Link to comment
allischalmersman Posted March 21, 2017 Share Posted March 21, 2017 (edited) plugin is working well for me now. Thank you fantastic. I am pretty confident I found my disk spin up issue. Edited March 21, 2017 by allischalmersman Quote Link to comment
dlandon Posted March 22, 2017 Author Share Posted March 22, 2017 On 3/18/2017 at 2:55 PM, bnevets27 said: Running the latest version 03.17. Running that command doesn't throw any errors, it shows running in the gui and is listed in processes but still doesn't show anything on the file activity page. Processes: root 27703 10365 0 14:42 pts/0 00:00:00 /bin/bash /usr/local/emhttp/plugins/file.activity/scripts/inotify.file.activityroot 27705 27703 1 14:42 pts/0 00:00:00 inotifywait -mrqs -e open,attrib,move,create,delete --excludei appdata/ --timefmt %b %d %H:%M:%S --format %T %e => %w%f --fromfile /tmp/file.activity/file.activity.disks Please post your diagnostics and the /tmp/file.activity/file.activity.disks file. Quote Link to comment
bnevets27 Posted March 23, 2017 Share Posted March 23, 2017 (edited) On 2017-03-22 at 5:57 AM, dlandon said: Please post your diagnostics and the /tmp/file.activity/file.activity.disks file. Attached Edited March 24, 2017 by bnevets27 Quote Link to comment
dlandon Posted March 23, 2017 Author Share Posted March 23, 2017 4 hours ago, bnevets27 said: Attached excelsior-diagnostics-20170323-0409.zip file.activity.disks File Activity is not including all of your disks. Please post the result of this command 'ls /mnt/'. Quote Link to comment
bnevets27 Posted March 23, 2017 Share Posted March 23, 2017 4 hours ago, dlandon said: File Activity is not including all of your disks. Please post the result of this command 'ls /mnt/'. cache/ disk10/ disk11/ disk12/ disk13/ disk14/ disk15/ disk16/ disk22/ disk23/ disk24/ disk3/ disk4/ disk9/ disks/ user/ user0/ Quote Link to comment
dlandon Posted March 23, 2017 Author Share Posted March 23, 2017 2 hours ago, bnevets27 said: cache/ disk10/ disk11/ disk12/ disk13/ disk14/ disk15/ disk16/ disk22/ disk23/ disk24/ disk3/ disk4/ disk9/ disks/ user/ user0/ You have a problem not related to File Activity. Your diagnostics shows 24 disks, but they are not all mounted. Sort that out and File Activity should work. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.