I've been following this topic as I too have build a NAS/FTP/Squeezebox server. I'm having trouble with setting up powernap, because of the monitored processes. I've set these processes:
Code:
MONITORED_PROCESSES = [ "smbd", "sshd: .*\[priv\]$" , "proftpd" , "webmin/miniserv.pl", "sabnzbdplus" ]
But a lot of them remain active even though there's no activity. Samba for example.
Code:
[2010-01-20 10:03:43] Examining process table
[2010-01-20 10:03:43] Looking for [smbd]
[2010-01-20 10:03:43] Process found, reset absent time [0/300]
[2010-01-20 10:03:43] Looking for [sshd: .*\[priv\]$]
[2010-01-20 10:03:43] Process found, reset absent time [0/300]
[2010-01-20 10:03:43] Looking for [proftpd]
[2010-01-20 10:03:43] Process not found, increment absent time [954/300]
[2010-01-20 10:03:43] Process absent for >= threshold, so mark absent
[2010-01-20 10:03:43] Looking for [webmin/miniserv.pl]
[2010-01-20 10:03:43] Process found, reset absent time [0/300]
[2010-01-20 10:03:43] Looking for [sabnzbdplus]
[2010-01-20 10:03:43] Process not found, increment absent time [954/300]
[2010-01-20 10:03:43] Process absent for >= threshold, so mark absent
How did you guys solve this? Can we have powernap check if a process is alive AND active?
Bookmarks