FrostByte 5392 Posted August 9, 2019 Posted August 9, 2019 Okay, HDD hibernated with network cables connected. So hibernation and sleep both seem to be working with Emby running. Anyhow, found an "ID Ten T" error after turning on Emby debug logging which I corrected and now it works.
FrostByte 5392 Posted August 9, 2019 Posted August 9, 2019 ME, I'm the ID Ten T You have to have debug logging on to see these 2019-08-08 20:14:20.796 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-08-08 20:14:20.796 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-08-08 20:14:20.796 Info TaskManager: Executing Send Download Notifications 2019-08-08 20:14:20.799 Info TaskManager: IntervalTrigger fired for task: Cloud & Folder Sync 2019-08-08 20:14:20.799 Info TaskManager: Queueing task ServerSyncScheduledTask 2019-08-08 20:14:20.799 Info TaskManager: Executing Cloud & Folder Sync 2019-08-08 20:14:20.801 Info TaskManager: IntervalTrigger fired for task: Convert media 2019-08-08 20:14:20.801 Info TaskManager: Queueing task SyncConvertScheduledTask 2019-08-08 20:14:20.801 Info TaskManager: Executing Convert media 2019-08-08 20:14:20.913 Info TaskManager: Queueing task ServerSyncScheduledTask 2019-08-08 20:14:20.914 Info TaskManager: Convert media Completed after 0 minute(s) and 0 seconds 2019-08-08 20:14:20.915 Info TaskManager: ExecuteQueuedTasks 2019-08-08 20:14:20.963 Info TaskManager: Cloud & Folder Sync Completed after 0 minute(s) and 0 seconds 2019-08-08 20:14:20.987 Info TaskManager: ExecuteQueuedTasks 2019-08-08 20:14:21.020 Info TaskManager: Executing Cloud & Folder Sync 2019-08-08 20:14:21.022 Info TaskManager: Cloud & Folder Sync Completed after 0 minute(s) and 0 seconds 2019-08-08 20:14:21.023 Info TaskManager: ExecuteQueuedTasks 2019-08-08 20:14:22.508 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 1 seconds 2019-08-08 20:14:22.510 Info TaskManager: ExecuteQueuedTasks Full log here https://pastebin.com/XJggctsY First of all, apologies to @yarez0 who was correct. However, in my defense I know for a fact that I had those tasks turned off at some point in the last beta. Maybe the stable turned those 2 tasks on, not sure. I don't ever hibernate or sleep my server because I've got Surveillance Center always recording video from the IP cameras monitoring the farm so I can't say for sure when they got added. Anyhow, the fix for me was deleting the 2 sync tasks which were keeping the server awake ID10T error
Luke 42077 Posted August 9, 2019 Posted August 9, 2019 Thanks but that will pretty much break some major features of Emby Server so users should not be doing that unless they understand the impact. 1
FrostByte 5392 Posted August 9, 2019 Posted August 9, 2019 Hmm...okay I've turned them back on since I don't really need mine to sleep.
jonboyuk 12 Posted August 9, 2019 Author Posted August 9, 2019 However (and thanks for all the previous posts guys), I do need mine to sleep! The previous build worked perfectly, but the new one doesn't. So how do I fix it? Got a bit lost with the ID Ten T thing!
FrostByte 5392 Posted August 9, 2019 Posted August 9, 2019 Do you have the 2 sync tasks scheduled? You could delete those, but Luke says it may not be a good thing. If not, turn on debug logging and post the log. That's how I found all those sync entries which were waking mine up
jonboyuk 12 Posted August 9, 2019 Author Posted August 9, 2019 Do you mean these FrostByte? I've changed them all to do their thing at Sunday @ 12.00am when I was trying to resolve this matter before. I've turned on debug logging and I guess I have to wait for a bit before I post it? Any idea how long? Thanks.
FrostByte 5392 Posted August 9, 2019 Posted August 9, 2019 Yes, the 2 at the very bottom. I deleted those and my system was able to hibernate HDD and go to sleep also. I waited for as long as my NAS was set to hibernate which was 10 mins, maybe a little longer. Make sure you reboot after changing the debug logging on
jonboyuk 12 Posted August 9, 2019 Author Posted August 9, 2019 (edited) Hmm I mean I could get rid of them, but I don't want to break any major features. Anyway, I've attached my debug log - hope this helps! embyserver-debug.txt Edited August 9, 2019 by jonboyuk
Luke 42077 Posted August 9, 2019 Posted August 9, 2019 Hmm I mean I could get rid of them, but I don't want to break any major features. Anyway, I've attached my debug log - hope this helps! You have requests coming in from the web app pretty much the whole time here, it's not going to sleep when that is the case.
FrostByte 5392 Posted August 9, 2019 Posted August 9, 2019 @jonboyuk if you do another log try to make sure there are no clients attached. I disconnected my NAS from the router while I waited so I would just get log data initiated by the server.
Luke 42077 Posted August 9, 2019 Posted August 9, 2019 Right and just so we're clear, it's very unlikely to be able to sleep with debug logging on, but it might help us identify why it's not happening. 1
GaStEmby 2 Posted August 28, 2019 Posted August 28, 2019 (edited) Hello, my NAS also waiking up every 3 Hours because of this Task. I dont have config any of this. I'm running newest version and if i stop service NAS dont wake up. Any idea because i don't see any task "fired" in the log. Thx 2019-08-28 00:20:29.886 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-08-28 00:20:29.907 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-08-28 00:20:29.907 Info TaskManager: Executing Send Download Notifications 2019-08-28 00:20:30.376 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds 2019-08-28 00:20:30.417 Info TaskManager: ExecuteQueuedTasks 2019-08-28 03:20:29.891 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-08-28 03:20:29.891 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-08-28 03:20:29.891 Info TaskManager: Executing Send Download Notifications 2019-08-28 03:20:29.920 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds 2019-08-28 03:20:47.903 Info TaskManager: ExecuteQueuedTasks 2019-08-28 06:20:29.895 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-08-28 06:20:29.895 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-08-28 06:20:29.895 Info TaskManager: Executing Send Download Notifications 2019-08-28 06:20:29.926 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds 2019-08-28 06:20:47.788 Info TaskManager: ExecuteQueuedTasks Edited August 28, 2019 by stephan.gamer@gmx.de
Luke 42077 Posted August 28, 2019 Posted August 28, 2019 We'll try taking it out of the log for the next release. That may help.
GaStEmby 2 Posted September 6, 2019 Posted September 6, 2019 Morning, after the update to 4.2.1.0 same as before. * Fix sync using path substitution when it should not be 2019-09-06 00:20:30.255 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-09-06 00:20:30.265 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-09-06 00:20:30.265 Info TaskManager: Executing Send Download Notifications 2019-09-06 00:20:30.688 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds 2019-09-06 00:20:30.711 Info TaskManager: ExecuteQueuedTasks 2019-09-06 03:20:30.260 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-09-06 03:20:30.260 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-09-06 03:20:30.260 Info TaskManager: Executing Send Download Notifications 2019-09-06 03:20:30.294 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds 2019-09-06 03:20:48.195 Info TaskManager: ExecuteQueuedTasks 2019-09-06 06:20:30.265 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-09-06 06:20:30.265 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-09-06 06:20:30.265 Info TaskManager: Executing Send Download Notifications 2019-09-06 06:20:30.298 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds 2019-09-06 06:20:48.210 Info TaskManager: ExecuteQueuedTasks
Dexterus 2 Posted October 10, 2019 Posted October 10, 2019 Hi, I had the same problem with my DS218+, it woke up constantly from hibernation. I found out, that it is caused by two things. The first is aggressive logging - in my case there are messages from synology media server SSD advertisements periodically written to log. The second is hidden scheduled tasks, which triggers are based on time intervals, most of them have 24hours interval, but one of them has 3hours interval. My solution was to move log folder to /tmp and create symlink to original location (on synology /tmp is in-memory tmpfs mountpoint). After that, when some message is written to log file, it will not generate any writes to disks anymore. Second thing was to change triggers for all normal and hidden tasks - I've changed all triggers to fire up daily at 12am. It seems that changing triggers for hidden tasks is not permanent, so it needs to be changed on every boot via synology task scheduler. Now my DS218+ is sleeping like a baby and wake up only once a day at 12am. 1
Luke 42077 Posted October 11, 2019 Posted October 11, 2019 Hi, I had the same problem with my DS218+, it woke up constantly from hibernation. I found out, that it is caused by two things. The first is aggressive logging - in my case there are messages from synology media server SSD advertisements periodically written to log. The second is hidden scheduled tasks, which triggers are based on time intervals, most of them have 24hours interval, but one of them has 3hours interval. My solution was to move log folder to /tmp and create symlink to original location (on synology /tmp is in-memory tmpfs mountpoint). After that, when some message is written to log file, it will not generate any writes to disks anymore. Second thing was to change triggers for all normal and hidden tasks - I've changed all triggers to fire up daily at 12am. It seems that changing triggers for hidden tasks is not permanent, so it needs to be changed on every boot via synology task scheduler. Now my DS218+ is sleeping like a baby and wake up only once a day at 12am. @@Dexterus, what logging statements are you referring to?
Dexterus 2 Posted October 11, 2019 Posted October 11, 2019 Hi, here are entries from my log: These entires are generated every time DLNA send 'alive' message to the network. (Alive message interval is set to 1800 seconds and Blast alive messages is turned On) 2019-10-11 15:52:58.071 Info HttpServer: HTTP GET http://192.168.1.238:8096/dlna/f82f27dcf7b84bd89857457d7d0db9e2/description.xml. UserAgent: Linux/4.4.59+, UPnP/1.0, Portable SDK for UPnP devices/1.6.21 2019-10-11 15:52:58.073 Info HttpServer: HTTP Response 200 to 192.168.1.238. Time: 2ms. http://192.168.1.238:8096/dlna/f82f27dcf7b84bd89857457d7d0db9e2/description.xml 2019-10-11 15:52:58.178 Info HttpServer: HTTP GET http://192.168.1.238:8096/dlna/f82f27dcf7b84bd89857457d7d0db9e2/description.xml. UserAgent: Linux/4.4.59+, UPnP/1.0, Portable SDK for UPnP devices/1.6.21 2019-10-11 15:52:58.180 Info HttpServer: HTTP Response 200 to 192.168.1.238. Time: 2ms. http://192.168.1.238:8096/dlna/f82f27dcf7b84bd89857457d7d0db9e2/description.xml 2019-10-11 15:52:58.275 Info HttpServer: HTTP GET http://192.168.1.238:8096/dlna/f82f27dcf7b84bd89857457d7d0db9e2/description.xml. UserAgent: Linux/4.4.59+, UPnP/1.0, Portable SDK for UPnP devices/1.6.21 2019-10-11 15:52:58.277 Info HttpServer: HTTP Response 200 to 192.168.1.238. Time: 2ms. http://192.168.1.238:8096/dlna/f82f27dcf7b84bd89857457d7d0db9e2/description.xml These entries are generated from hidden task every 3 hours 2019-10-11 15:23:42.959 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications 2019-10-11 15:23:42.959 Info TaskManager: Queueing task DownloadNotificationScheduledTask 2019-10-11 15:23:42.959 Info TaskManager: Executing Send Download Notifications 2019-10-11 15:23:43.003 Info TaskManager: Send Download Notifications Completed after 0 minute(s) and 0 seconds 2019-10-11 15:23:43.029 Info TaskManager: ExecuteQueuedTasks 1
Luke 42077 Posted October 11, 2019 Posted October 11, 2019 Ok, with the next release you shouldn't see those log lines anymore. Thanks. 1
jonboyuk 12 Posted November 11, 2019 Author Posted November 11, 2019 Ok, with the next release you shouldn't see those log lines anymore. Thanks. Will that fix the non-sleeping issue for me then Luke (whenever it might be released?) Is there a beta for the Syno?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now