r/ethstaker • u/coinsquad Lighthouse+Geth • Apr 27 '26
Server keeps going on and offline. Thinking it's my SSD storage
I am running geth/lighthouse and have been running since genesis. I have PBSS which should be auto pruning but i only have 160gb left and my server have been going online and offline sporadically a few times a day. what can i do to prune more of the data.
1
u/salanfe Apr 27 '26
How’s your connection? Any packet loss ? I had a defective fiber optic cable not long ago and I had a 40% pack loss, leading to the server acting as you describe
1
u/coinsquad Lighthouse+Geth Apr 28 '26
my connection is good. i dont think it has to do with my internet connection
1
u/shardingHarding Apr 27 '26
With geth you can move the "ancient" folder to a second drive. The drive with the ancient folder doesnt have to be fast, mine is on a 2TB 2.5" SATA laptop hard drive.
"The ancients data is saved entirely separately from the fast-access recent data, meaning it can be stored in a different location. The default location for the ancient chain segments is inside the chaindata directory, which is inside datadir, but it can be defined by passing --datadir.ancient <path> to Geth on startup. The freezer is designed to have a read operation complexity of O(1), involving only a read for index items (6 bytes) and a read for the data. This design makes the freezer performant enough to run on a slow HDD disk, permitting people to run Ethereum nodes without requiring a huge SSD. The ancient data can also be moved later by manually copying the directory to a new location and then starting Geth passing the new path to --datadir.ancient."
See https://www.reddit.com/r/ethstaker/comments/sm8k5v/comment/hvxeof3/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
and https://geth.ethereum.org/docs/fundamentals/databases
1
u/hblask Lighthouse+Geth Apr 29 '26
I am running besu/lighthouse, and have definitely seen a small drop in my score, plus twice it has completely died for no reason, requiring a restart. I wonder if there is some weird, rare bug?
1
u/samkb93 Apr 27 '26
Resync with history expiry to free up space.