Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Does any one know a way to find out what is waking my DNS from sleeping?
I'm trying to find out why it has suddenly started waking from sleep much more than it used to and is getting right on my nerves!!
I've tried to run it without the network cable but it still slept for a few minutes and I've made sure to clear the spool folder which is about where my ideas end.
Is there some sort of logging I can turn on to write a file which show's what's happening?
Cheers
RAP
Offline
lsof /mnt/HD_a2 should show open file handles.
Offline
wirbel wrote:
lsof /mnt/HD_a2 should show open file handles.
I've run this from a ssh connection but nothing shows up at all - is lsof something I need to install or does that just mean nothing is open?
Any other suggestions/methods to capture what's going on?
RAP
Offline
lsof |grep HD_ works for me.....
Offline
flashman1207 wrote:
lsof |grep HD_ works for me.....
That does seem to return some info but a) I'm not sure what it means and b) I'm not sure how it would help me see what actually woke up the DNS as I'd have to ssh in to it to see the results.
Thanks for the suggestion anyway.
RAP
Offline
rap wrote:
That does seem to return some info but a) I'm not sure what it means and b) I'm not sure how it would help me see what actually woke up the DNS as I'd have to ssh in to it to see the results.
If lsof is reporting anything as HD_xxxxx it means that there is an open handle. So that narrows your search when trying to figure out what is waking up your box. Yes, you do need console access to run lsof (although you could run it from a fun_plug (and redirect output to a file, or copy a script to ramdisk and then run it with cron and output to file), but if you have your ffp/fun_plug on a usb stick then your console won't be open from the HD_xxx hard disk and that will help narrow your search further.
Offline
rap wrote:
flashman1207 wrote:
lsof |grep HD_ works for me.....
That does seem to return some info but a) I'm not sure what it means and b) I'm not sure how it would help me see what actually woke up the DNS as I'd have to ssh in to it to see the results.
Thanks for the suggestion anyway.
RAP
If you do the following it will write to a file which you can open under Windows (using Notepad++ or similar):
lsof | grep HD_ > /mnt/HD_a2/output.txt
Interpreting the results is another thing....... see my similar thread below as it resolved my problem:
http://dns323.kood.org/forum/t3623-Funp … ctory.html
Offline
Thanks for the further info - I did have a go at getting things running on a USB stick but it didn't work properly at the time. Might be time to try again!!
RAP
Offline