I'm using autoshutdown plugin to turn my server to suspend when not needed.
After a few suspend cycles multiple processes of autoshutdown are running.
Code
root@server:~# ps -e | grep autoshutdown
20972 ? 00:00:00 autoshutdown.sh
21204 ? 00:00:00 autoshutdown.sh
21382 ? 00:00:00 autoshutdown.sh
21489 ? 00:00:00 autoshutdown.sh
28899 ? 00:00:00 autoshutdown.sh
29061 ? 00:00:00 autoshutdown.sh
29159 ? 00:00:00 autoshutdown.sh
And it's getting more with every cycle.
It's also happened that the server go to suspend directly after it starts.
The autoshutdown log is not realy helpful because all autoshutdowns sending there status masseges to the (now nearly 200 pages long) log.
The syslog shows only normal autoshutdown masseges:
Code
Mar 19 19:02:39 - : autoshutdown [21474]: INFO: autoshutdown-script restart from /etc/pm/power.d/autoshutdown-restart
Mar 19 19:02:39 /etc/init.d/autoshutdown: autoshutdown restarting ...
Mar 19 19:02:39 /etc/init.d/autoshutdown: Try to stop: There seems to be no running process of autoshutdown: /usr/local/bin/autoshutdown.sh
Mar 19 19:02:39 /etc/init.d/autoshutdown: autoshutdown starting ...
So, I think it can't stop the old, running processes of autoshutdown at the system start.
How to fix?
kalle