[Dxspider-support] Help please! user_json is 13Gb!

Jan cluster at pa4jj.nl
Wed Dec 7 10:13:57 GMT 2022


Keith
  I am using this script in the crontab

#We need to clean old data
#
0 0 * 1-12 * spawn(q[find /spider/local_data/debug -type f -mtime +2 
-exec rm -$
2 0 * 1-12 * spawn(q[find /spider/local_data/log -type f -mtime +2 -exec 
rm -f $
3 0 * 1-12 * spawn(q[find /spider/local_data/spots -type f -mtime +2 
-exec rm -$
4 0 * 1-12 * spawn(q[find /spider/local_data/wcy -type f -mtime +1 -exec 
rm -f $
5 0 * 1-12 * spawn(q[find /spider/local_data/wwv -type f -mtime +1 -exec 
rm -f $

73
Jan PA4JJ

Op 7-12-2022 om 11:06 schreef Keith Maton via Dxspider-support:
> I can’t, the SD card is full and the export fails.  Now the node has 
> stopped again.
>
> Looking for logs I can delete so I can try again..
>
>
>
>
>
>> On 7 Dec 2022, at 09:32, Joaquin via Dxspider-support 
>> <dxspider-support at tobit.co.uk> wrote:
>>
>> Sorry, I don't know why I didn't read about the user_json file.
>> Do an export_user, remove the 13GB one, and reboot.
>>
>> Kin
>>
>> El 07/12/2022 a las 10:29, Joaquin via Dxspider-support escribió:
>>>
>>> Keith,
>>>
>>> Look to see what you have defined in debug: *sh/debug*, you also 
>>> have many traces and you can reduce them with *unset/debug*.
>>> Or you can limit the number of log files if your FS is small.
>>>
>>> Kin
>>>
>>>
>>> El 07/12/2022 a las 10:23, Keith Maton via Dxspider-support escribió:
>>>> I spoke too soon.
>>>>
>>>> Woke up this morning to a crashed node, the Pi was still running but when I tried to connect externally to the node, I had no response, when I logged on and issued a /spider/perl/console.pl command, I just had a grey screen.  I’ve checked the debug log and it fell over at 02:29:47 this morning.  The last entry in the debug log is just a normal spot.
>>>>
>>>> I successfully rebooted and it’s all running but I have PRTG monitoring and I just got pinged for low disk space.
>>>>
>>>> When I check, my /local_data/user_json file has grown to 13Gb.
>>>>
>>>> Any idea what’s caused this?  Can I just stop the node, delete the file and restart?  I suspect with less than 50Mb disk space, it’s going to crash soon anyway.
>>>
>>> _______________________________________________
>>> Dxspider-support mailing list
>>> Dxspider-support at tobit.co.uk
>>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support

-- 
73
Jan
PA4JJ
______________________________________________________

My dxspider clusters running 24/7 on a raspberry pi 2
pa4jj-2 telnet 77.174.195.163 port 7300
pa4jj-3 telnet 77.174.195.163 port 7388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20221207/2fbab824/attachment-0001.htm>


More information about the Dxspider-support mailing list