Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

*unauthorized* SimpleFeatures S3 Sleep plugin mod

Featured Replies

  • Author

@kricker

If it logs disk access for the cache it doesn't ignore it. Please check the log from when the plugin started. There should be a line exclude cache=/dev/sdg and a line Devicelist: ... listing all your drives but not the cache drive. If the cache drive is listed in the devicelist it won't be ignored. Try to restart the plugin and if it doesn't work, restart the server. If it still doesn't work, please post me a link to a full log.

Here is the log from the plugin after I disabled it, then re-enabled it.

 

Mon Jul 29 13:48:39 EDT 2013: Devicelist: /dev/sda /dev/sdb /dev/sdd /dev/sde /dev/sdf /dev/sdg
Mon Jul 29 13:48:39 EDT 2013: /dev/sdg drive state is: active/idle
Mon Jul 29 13:48:39 EDT 2013: Disk activity detected. Reset all counters

 

So it appears the cache drive is not being ignored.

 

Here is the full system log.

 

Here is my device list:

 Parity	WDC_WD20EARS-00MVWB0_WD-WCAZA6357266 (sda	
Disk 1	WDC_WD20EARS-00MVWB0_WD-WMAZA0084198 (sdf)
Disk 2	WDC_WD20EARS-00MVWB0_WD-WMAZA0075692 (sdb)
Disk 3	ST31000333AS_6TE0GLWA (sde)
Disk 4	ST31000333AS_6TE0GJTJ (sdd)
Cache	ST380811AS_3PS0EGGC (sdg)

 

...and here is the data in my \\tower\flash\config\simpleFeatures\simpleFeatures.s3.sleep.cfg file:

# Generated settings:
service="1"
checkHDD="-a -c"
timeout="30"
interval="3"
port="eth0"
checkTCP=""
idle="0"
login=""
pingIP=""
stopDay=""
stopHour=""
dhcpRenew=""
forceGb=""
setWol=""
preRun=""
postRun="%23Restart+sickbeard%0D%0Asleep+60%0D%0Alogger+Restarting+SickBeard%0D%0Awget+http%3A%2F%2F192.168.0.100%3A8181%2Fapi%2F5399668685ed01a995082a97fd2b9eef%2F%3Fcmd%3Dsb.restart%0D%0Asleep+5"
debug="1"
options="-C 1 -a -c -A -m 30 -e eth0 -p /usr/local/bin/postRun -D 1"
exclude="-A"

  • Author

I'm on vacation for two weeks, so I can't check my server. Did you try to restart your server? If I remember correctly there is another config file somewhere, which only gets updated on reboot.

 

If it still doesn't work, you will either have to wait until I return or roll back to the original version of the plugin. Sorry. :(

I am in no hurry. Enjoy your time away.

  • 2 weeks later...
  • Author

@kricker:

I can replicate your problem and will work on a fixed version. Stay tuned. :) And thanks for your patience. :)

No problem. I hope you had a good vacation.

  • Author

:) Yes thank you. :) It was very nice. Only to short. :)

 

Please download and try the new .txz from the first post. It should hopefully solve your problem.

I'll give it a whirl as soon as I get home. Thanks.

After some testing it appears to be working as expected now. At least when I wake up in the AM my server is sleeping as it should be. I'll do some further testing today, but so far so good.

 

BTW, did you see this post someone made about tweaking the traffic parameter of the sleep plugin?

  • Author

Nice it now works for you. :)

 

Yes I saw the post, but had not yet the time to contact the poster and ask what he changed. ATM I'm working on a not device based exclude/include mechanism.

 

Sadly everything will have to be rewritten/adapted when the new unraid gui arrives and speeding_ant changes his plugins to standalone versions that are compatible with the new gui.

Thanks to your efforts  :)

 

Hopefully the re-write is not a full re-write and just some tweaks. I do look forward to the "new" stock GUI.

  • Author

Me too. :) I especially like the idea that it is available on github, so hopefully problems will be fixed faster and the development going on will be a bit more open to the public.

 

We'll see what will have to be rewritten for the sleep plugin. :)

 

Yesterday I noticed a strange thing that happens after sleeping the server. I copied a lager file and it took ages. I checked the speed and it was around 1 MB/s. Not good. After rebooting, the server speeds were back to normal. Sleeping and waking the server, drops the speed to this abysmal ratings again. It's in the same range it was when the 4gb limit had to be applied for my system, so I don't know if the problem is related or not. Before posting in the support forum I'll have to do some more testing, but it is annoys me a great deal. :(

There is a feature in the sleep setting to reset the NIC to gigabit after resuming from sleep. Have you tried that?

  • Author

The .txz on my github is updated with an not device based exclude/include mechanism. Please try and report if there are problems.

 

The 1 MB/s are the speed in shell directly on the unraid machine without network usage. So the switch will make no difference. Nic stays at gigabit speed for me even without this switch. :)

 

But thank you anyway. :)

The .txz on my github is updated with an not device based exclude/include mechanism. Please try and report if there are problems.

I'll check it out tonight.

The 1 MB/s are the speed in shell directly on the unraid machine without network usage. So the switch will make no difference. Nic stays at gigabit speed for me even without this switch. :)

 

But thank you anyway. :)

Considering you have been working on this, I figured you already knew about it and it wasn't your case, but it was worth the mention. I noticed mine do something like that once. After I rebooted like you it resumed to normal and I have not seen it since.
  • 2 weeks later...

You are attempting to make this plugin work without SimpleFeatures, is that right?

  • Author

Not at the moment, no. I'm still on 5.0rc16 and still using SimpleFeatures. SF has some bugs on that rc, but for me it works fine.

 

Once 5.0 gets final we'll see if the new gui gets included and makes SimpleFeatures obsolete. Once this happens I'll try to mod the plugin to work without SimpleFeatures.

Looks like that day has finally come.

  • Author

:) Correct. I did not upgrade yet however and propably won't for another two or three weeks due to job and family related personal reasons. :) So please be patient.

 

I also hope that within this time there are signs of life from speeding_ant, where he explains how he wants to handle the transfer of sf plugins to the stock and/or new gui. Its not originally my plugin, so I'm hesistant to do it without his agreement.

 

Furthermore I'll have to contact the poster who said he fixed the traffic parameter again. He promised to post his change in this thread, but he seems to have forgotten. :)

....is it done yet? How about now, is it done now??

 

Seriously though, take your time. Just let me know if/when you get something you want to test. I am also swamped with work, so I understand.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.