The NAS was working well till last week . All of sudden its not going to sleep mode at all . I got the logs looks its running lot of process.
SudheersNAS:~# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 08:17 ? 00:00:00 init [2]
root 2 0 0 08:17 ? 00:00:00 [kthreadd]
root 3 2 0 08:17 ? 00:00:00 [ksoftirqd/0]
root 4 2 0 08:17 ? 00:00:00 [watchdog/0]
root 5 2 0 08:17 ? 00:00:00 [events/0]
root 6 2 0 08:17 ? 00:00:00 [khelper]
root 9 2 0 08:17 ? 00:00:00 [async/mgr]
root 89 2 0 08:17 ? 00:00:00 [sync_supers]
root 91 2 0 08:17 ? 00:00:00 [bdi-default]
root 93 2 0 08:17 ? 00:00:00 [kblockd/0]
root 98 2 0 08:17 ? 00:00:00 [ata/0]
root 99 2 0 08:17 ? 00:00:00 [ata_aux]
root 101 2 0 08:17 ? 00:00:00 [kseriod]
root 121 2 0 08:17 ? 00:00:00 [rpciod/0]
root 152 2 0 08:17 ? 00:00:00 [khungtaskd]
root 153 2 0 08:17 ? 00:00:00 [kswapd0]
root 154 2 0 08:17 ? 00:00:00 [aio/0]
root 155 2 0 08:17 ? 00:00:00 [nfsiod]
root 156 2 0 08:17 ? 00:00:00 [kslowd000]
root 157 2 0 08:17 ? 00:00:00 [kslowd001]
root 161 2 0 08:17 ? 00:00:00 [xfs_mru_cache]
root 162 2 0 08:17 ? 00:00:00 [xfslogd/0]
root 163 2 0 08:17 ? 00:00:00 [xfsdatad/0]
root 164 2 0 08:17 ? 00:00:00 [xfsconvertd/0]
root 165 2 0 08:17 ? 00:00:00 [crypto/0]
root 264 2 0 08:17 ? 00:00:00 [scsi_tgtd/0]
root 276 2 0 08:17 ? 00:00:00 [scsi_eh_0]
root 279 2 0 08:17 ? 00:00:00 [scsi_eh_1]
root 308 2 0 08:17 ? 00:00:00 [btn_t]
root 316 2 0 08:17 ? 00:00:00 [a3gblink_t]
root 375 2 0 08:17 ? 00:00:00 [md0_raid1]
root 377 2 0 08:17 ? 00:00:00 [kjournald]
root 466 2 0 08:17 ? 00:00:00 [flush-9:0]
root 1636 1 0 08:18 ? 00:00:00 udevd --daemon
root 2080 1 0 08:18 ? 00:00:00 logsave -s /var/log/fsck/checkfs fsck -C -R -A -a
106 2242 1 0 08:18 ? 00:00:00 avahi-autoipd: [eth0] bound 169.254.5.110
root 2243 2242 0 08:18 ? 00:00:00 avahi-autoipd: [eth0] callout dispatcher
root 2247 1 0 08:18 ? 00:00:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0
daemon 2362 1 0 08:19 ? 00:00:00 /sbin/portmap
root 2510 1 0 08:19 ? 00:00:02 /usr/sbin/rsyslogd -c3
root 2588 1 1 08:19 ? 00:02:24 /usr/sbin/apache2 -k start
root 2603 2 0 08:19 ? 00:00:00 [jbd2/sda4-8]
root 2604 2 0 08:19 ? 00:00:00 [ext4-dio-unwrit]
root 2611 2 0 08:19 ? 00:00:00 [flush-8:0]
root 3049 1 0 08:19 ? 00:00:00 /usr/sbin/ifplugd -i eth0 -q -f -u0 -d5 -w -I
root 3075 1 0 08:19 ? 00:00:00 /usr/local/bin/resetbtnd /dev/input/event0 4 /usr/local/sbin/resetButtonAction.sh
root 3493 1 0 08:19 ? 00:00:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
root 3516 1 0 08:19 ? 00:00:00 /usr/sbin/sshd
root 3533 1 0 08:19 ? 00:00:00 /bin/sh /usr/local/sbin/monitorTemperature.sh
root 3547 1 0 08:19 ? 00:00:02 /bin/bash /usr/local/sbin/monitorio.sh
root 3587 1 0 08:19 ? 00:00:00 /sbin/rpc.statd
root 3606 1 0 08:19 ? 00:00:00 /usr/sbin/rpc.idmapd
root 3631 2 0 08:19 ? 00:00:00 [lockd]
root 3632 2 0 08:19 ? 00:00:00 [nfsd]
root 3633 2 0 08:19 ? 00:00:00 [nfsd]
root 3634 2 0 08:19 ? 00:00:00 [nfsd]
root 3635 2 0 08:19 ? 00:00:00 [nfsd]
root 3636 2 0 08:19 ? 00:00:00 [nfsd]
root 3637 2 0 08:19 ? 00:00:00 [nfsd]
root 3638 2 0 08:19 ? 00:00:00 [nfsd]
root 3639 2 0 08:19 ? 00:00:00 [nfsd]
root 3652 1 0 08:19 ? 00:00:00 /usr/sbin/rpc.mountd --manage-gids
root 3666 1 0 08:19 ? 00:00:00 /usr/sbin/nmbd -D
root 3669 1 0 08:19 ? 00:00:00 /usr/sbin/smbd -D
root 3680 3669 0 08:19 ? 00:00:00 /usr/sbin/smbd -D
root 3685 1 0 08:19 ? 00:00:00 /usr/sbin/vsftpd
root 3691 1 0 08:19 ? 00:00:00 /usr/sbin/cnid_metad -l log_note
root 3711 1 0 08:19 ? 00:00:19 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n SudheersNAS
root 3741 1 0 08:19 ? 00:00:00 /usr/local/bin/mDNSResponderPosix -b -f //etc/nas/mDNSResponder.conf -P /var/run/mDNSResponder.pid
root 4058 1 0 08:19 ? 00:00:02 /usr/local/bin/upnp_nas_device -webdir /var/local/upnp_nas_device -desc nasdevice.xml
103 4084 1 0 08:19 ? 00:00:00 /usr/bin/dbus-daemon --system
avahi 4097 1 0 08:19 ? 00:00:00 avahi-daemon: running [SudheersNAS.local]
avahi 4098 4097 0 08:19 ? 00:00:00 avahi-daemon: chroot helper
root 4124 1 0 08:19 ? 00:00:00 /usr/local/twonkymedia-5/twonkymedia -D -ip 169.254.5.110 -httpport 9000 -appdata /CacheVolume/twonkymedia -logfile /CacheVolume/twonkymedia/twonkyme
root 4126 4124 3 08:19 ? 00:05:36 /usr/local/twonkymedia-5/twonkymediaserver -D -ip 169.254.5.110 -httpport 9000 -appdata /CacheVolume/twonkymedia -logfile /CacheVolume/twonkymedia/tw
root 4145 1 0 08:19 ? 00:00:00 /usr/sbin/cron
root 4160 1 0 08:19 ? 00:00:00 /usr/local/bin/lld2d eth0
root 4286 1 0 08:19 ? 00:00:01 ./miocrawler
root 4310 1 0 08:20 ? 00:01:17 ./bin/mediacrawler
root 4330 1 0 08:20 ? 00:00:00 /usr/orion/communicationmanager/communicationmanager -f 120
root 4478 1 0 08:20 ttyS0 00:00:00 /sbin/getty -L ttyS0 115200 vt100
root 16750 3669 0 10:35 ? 00:00:00 /usr/sbin/smbd -D
root 16924 3516 0 10:37 ? 00:00:00 sshd: root@pts/0
root 16941 16924 0 10:37 pts/0 00:00:00 -bash
root 18028 3533 0 10:49 ? 00:00:00 sleep 1800
root 18741 3547 0 10:57 ? 00:00:00 sleep 60
root 18748 4330 0 10:57 ? 00:00:00 sh -c /usr/orion/openvpnclient/updateremote.sh
root 18749 18748 0 10:57 ? 00:00:00 sh -c /usr/orion/openvpnclient/updateremote.sh
root 18750 18749 0 10:57 ? 00:00:00 curl -4 -k https://www.wd2go.com/api/1.0/rest/relay_server?format=openvpn -o /tmp/txt1
www-data 18785 2588 0 10:57 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 18786 2588 0 10:57 ? 00:00:00 /usr/sbin/apache2 -k start
Any idea how to solve this