No Space for tmp files


John
 

Rob,
the df looks normal. The OS is at 32%, all the other devices 1-3%.
I will rebuild the OS.

Thanks for all the hard work.
John


Rob Robinett
 

Maybe I misled you.
Start by seeing the state of your file systems by executing 'df'
I would expect that your will see that the /tmp file system is 100% full/;   /tmp/wsprdaemon should be 10-30%% full most of the 2 minute wspr cycle.
/tmp should be cleared by a reboot.
WD doesn't clear the /tmp/wsprdaemon file system.  It does delete old wav files, which would occupy the most space on  /tmp/wsprdaemon. 
I only truncate or clear any log files created when you start WD, so if you run at log levels 1 or greater, eventually the  /tmp/wsprdaemon file system will become 100% full.
Fixing that 'logging fills up  /tmp/wsprdaemon' problem is part of my work on WD V3.0.


On Thu, May 13, 2021 at 6:47 PM John via groups.io <n0ure=yahoo.com@groups.io> wrote:
I did wd -z
rm -rf /tmp/*
I got a list of sum system type files and some with lots of numbers, but many showed bussy.
I did sudo rm -rf /tmp/*
got  cannot remove /tmp/wsprdaemon device or resource bussy.  ( even with the wd -z) ??

I thought that the tmp files were on RAM disk and would go away with a cold restart.

John



--
Rob Robinett
AI6VN
mobile: +1 650 218 8896


John
 

I did wd -z
rm -rf /tmp/*
I got a list of sum system type files and some with lots of numbers, but many showed bussy.
I did sudo rm -rf /tmp/*
got  cannot remove /tmp/wsprdaemon device or resource bussy.  ( even with the wd -z) ??

I thought that the tmp files were on RAM disk and would go away with a cold restart.

John


Rob Robinett
 

Then you need to clean out /tmp which is a separate file system from /tmp/wsprdaemon

WD -z
rm  -rf /tmp/*
WD -a

On Thu, May 13, 2021 at 4:33 PM John via groups.io <n0ure=yahoo.com@groups.io> wrote:
That did not work for me.
the exact error is:
/home/pi/wsprdaemon/wsprdaemon.sh: Line 729: cannot create temp file for here-document: No space left on device
This occurred 15 times after WD -s. I assume there is one for each real channel.
and one more at the bottom for line 3691
I see this when I do WD -s just after WD -a

John



--
Rob Robinett
AI6VN
mobile: +1 650 218 8896


John
 

That did not work for me.
the exact error is:
/home/pi/wsprdaemon/wsprdaemon.sh: Line 729: cannot create temp file for here-document: No space left on device
This occurred 15 times after WD -s. I assume there is one for each real channel.
and one more at the bottom for line 3691
I see this when I do WD -s just after WD -a

John


Rob Robinett
 


Stop WD
EXecute:  rm -rf   /tmp/wsprdaemon/*
Start WD

On Thu, May 13, 2021 at 3:27 PM John via groups.io <n0ure=yahoo.com@groups.io> wrote:
I have messed up and need a pointer to fix my mess.
I left the Tail of the spots.log file running.
Now wsprdaemon is giving errors "..no space for tmp file' at line 729.
What directory on mt Pi 4 can I purge to clear my mess?

John

--
Rob Robinett
AI6VN
mobile: +1 650 218 8896


John
 

I have messed up and need a pointer to fix my mess.
I left the Tail of the spots.log file running.
Now wsprdaemon is giving errors "..no space for tmp file' at line 729.
What directory on mt Pi 4 can I purge to clear my mess?

John