前段时间入手了蜗牛星际, 更换主板和cpu后, 开始折腾休眠. 经过大量查阅发现服务组件写log非常容易唤醒休眠. 所以我尝试把/var/log放到了内存文件系统中,目前效果还不错. 把这段代码加入到/etc/rc 末尾 exit 0之前 mount -t tmpfs -o size=500m tmpfs /var/log ======Idle 7257 seconds====== Mon Apr 13 19:42:13 CST 2020
在删除几个定时任务之后,从12点一直睡眠到早上8点主动访问才停止 /usr/syno/bin/synoschedtask --get /usr/syno/bin/synoschedtask --del id=1 /usr/syno/bin/synoschedtask --del id=2 /usr/syno/bin/synoschedtask --del id=3 ***********Clear********* [53647.115564] syslog-ng(17612): dirtied inode 4432300 (exe) on proc [53657.538075] syslog-ng(17612): dirtied inode 4431686 (exe) on proc [53667.959746] syslog-ng(17612): dirtied inode 4432531 (exe) on proc [53678.380603] syslog-ng(17612): dirtied inode 4435504 (exe) on proc [53688.802295] syslog-ng(17612): dirtied inode 4435597 (exe) on proc [53699.223837] syslog-ng(17612): dirtied inode 4436902 (exe) on proc [53709.602145] syslog-ng(17612): dirtied inode 4438606 (exe) on proc [53709.645661] syslog-ng(17612): dirtied inode 4438622 (exe) on proc [53709.696010] index.cgi(19209): dirtied inode 7144 (?) on md0 [53709.696023] index.cgi(19209): dirtied inode 7144 (?) on md0 [53709.718751] index.cgi(19209): dirtied inode 2900 (ux-all.css) on md0 [53709.718760] index.cgi(19209): dirtied inode 4088 (sds.css) on md0 [53709.718767] index.cgi(19209): dirtied inode 3227 (desktop.css) on md0 [53709.890514] SYNO.Core.Deskt(18694): dirtied inode 30594 (SYNO.Core.Desktop.UIString.json) on md0 [53709.890572] SYNO.Core.Deskt(18694): dirtied inode 30728 (SYNO.Core.Desktop.UIString.json.D6JcMu) on md0 [53709.890630] SYNO.Core.Deskt(18694): WRITE block 2477856 on md0 (8 sectors) [53709.892611] SYNO.Core.Deskt(19038): dirtied inode 4437365 (current) on proc [53709.902194] syslog-ng(17612): dirtied inode 4437363 (exe) on proc uptime : 1 ======Idle 30241 seconds====== Tue Apr 14 08:25:26 CST 2020