Something wrong with trash?

Hi,
it toook very long time to run and results are very surprising to me… no old files in trash folders, but trash size in node GUI shows still same constant 0.9 TB all time, like input and output rate were constant thru weeks which is very unlikely.
(I chose this specific date because “problems” started about 2-3 weeks earlier)

find pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa/ -type f -not -newermt 2024-03-18 | wc -l
0
find pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa/ -type f -not -newermt 2024-03-18 | wc -l
0
find qstuylguhrn2ozjv4h2c6xpxykd622gtgurhql2k7k75wqaaaaaa/ -type f -not -newermt 2024-03-18 | wc -l
0
find ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa/ -type f -not -newermt 2024-03-18 | wc -l
0
find v4weeab67sbgvnbwd5z7tweqsqqun7qox2agpbxy44mqqaaaaaaa/ -type f -not -newermt 2024-03-18 | wc -l
0

edit:
I’m starting to think that the possible reason is that file-walkers processes did not have time to finish because an update for a new version of node was released

1 Like

This is only mean that you DBs are not updated. You need to figure out - why.
Do you have database locks or a malformed/destroyed databases? (database is locked, file is not a database, database is malformed, i/o error, etc.)?
Do you have FATAL errors? Or maybe restarts in the middle of filewalkers?
Do you have all filewalkers successfully finished for all satellites?

Thanks, I checked for db problems, all is okay there.
News are, that after file-walker process itself finally finished after working for a week - I monitored that every day, trash size started to shrink slowly, now it’s ~ 300GB.
So… like I said before, reason was file-walkers processes did not have time to finish because of restart/update for a new version of node.

“Patience is a virtue” :slight_smile:

The trash will shrink without involving of filewalkers, you need only piece:trash process finished successfully - it removes everything older than 7 days from there.

or just before the restart (for any reason).

100%

On my dashboard I see “Trash: 2.89 TB”. But my “Trash” foldier contains summary 0.3 TB. Where is the different? And when the “Trash” from dashboard will be cleared?

The nested trash folders with date from 13th April are still present. Today is 23rd.

/storage/trash/pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa/2024-04-13/2024-04-13/2024-04-13/2024-04-13/2a

The difference is in not finished filewalkers. You need to search for errors related to walk and trash.

Is it empty or have some data older that that date?

I checked only one folder and there is data from 12-04 in it.

Please check with the scripts

It gives me 4721 MB.

Wonderful. [Sarcasm]
I do not have it… What’s the difference?
My nodes on v1.101.3 and v1.102.3
But they are a Windows Service (1) and Docker Desktop for Windows (2)

This node tells me it is at 1.99.3.

oh. I see, I do not have an old one at the moment. Could you please check after 1.10x.x?

Ok, let’s wait then.

1 Like

Node is at 1.102.3 now.
Note: It is one wit nested date dir:

TOTAL 791.123 MB
count 2867

So it is less than before. Something got deleted.

1 Like

Is it still like this now?

Today is TOTAL 7722.91 MB count 62371

I believe you can remove subfolders named as a date which is older than 7 days:

I am running more than one node and I absolutely don’t want to do this manually.

1 Like