Aka985
November 4, 2024, 10:19pm
1
Hello Sirs,
Win10, 3 nodes under Toolbox. 128Gb SSD was fullfilled with data, I fought it was too small and I clone it to 240Gb. But after in few hours I started nodes, all free space (about 120Gb) has been occupied with something. Do you know how to fix it?
DB located on same drive C, but it is 1.2Gb only
Regards,
Alexander
Julio
November 4, 2024, 10:26pm
2
It’s likely to be your log files being spammed to death. Delete them all, change logging from ‘info’ to ‘error’ in your config; restart nodes.
2 cents
GL
2 Likes
Alexey
November 5, 2024, 9:19am
4
I would suggest to move your log files to the disk with data.
You can do it with the option
log.output: winfile:///Y:\storagenode3\\storagenode.log
Also - setup a logrotate or use a script, like this:
Hello,
Unfortunately, in the current windows version of the Storage Node there is no way to rotate or limit the size of the generated logs files. You cannot delete them from the GUI because they are locked by the services processes. Using Clear-Content in PowerShell to reset the files works but there is no easy solution if you want to keep a few days / weeks of logs.
I have written a small PowerShell script that can rotate the Storjs Logs without the need of Stop>Start the services to release …
Aka985
November 6, 2024, 3:35pm
5
Looks it helped. Thanks!
“Error” helped, “Warn” not
Regards,
Alexander
2 Likes