-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node Issue: crash when current working directory not on same filesystem as data directory #12944
Comments
Hi @matthewdarwin, We operate our nodes in a similar configuration:
The alternative configuration of maintaining the ~/.near folder on a separate disk has been thoroughly tested and also functions correctly. This error appears to originate from RocksDB. Does your data folder contain different mount points? For instance, is the state-snapshot directory located on a separate disk? To debug this issue further, I will require additional information about your machine configuration and the method you use to start your node. |
Hi, we (at Aurora Labs) experience exactly the same problem after updating our mainnet nodes to 2.5.1 |
For everyone who is suffering with the issue, has their been any changes to filesystem set up recently? |
We're still verifying this, but the issue looks most likely to be caused by the custom builds here not honoring the The affected code will of course be fixed, meanwhile please make sure to use the EDIT: can confirm that updating |
Thank you @nagisa, excellent investigation |
Hm, interestingly, the mountpoint is the same in our case |
We are also building our own custom indexer binary (I'm in operations team, not the development team). I don't know the details how it works, you can check here: https://github.com/streamingfast/near-firehose-indexer/ |
Same here, we are using the NEAR indexer framework hence why it went unnoticed. @strokovok Thanks for the change, I'll adjust it. |
I've similar issue recently while updating from 2.4.0 to 2.5.1 My validator has always been running under the near user with full sudo privileges. However, after changing the User in the service from near to root, while explicitly specifying the old working directory, the validator started successfully and is now running. This behavior occurs on both nodes, the main and the backup, with identical configurations, but on different servers with different hardware specs and from different providers |
Contact Details
No response
Node type
Non-Top 100 Validator
Which network are you running?
testnet
What happened?
near crashes when you start near client from a directory (eg /) that is not on the same physical disk as the data directory (eg /var/lib/near)
Version
2.5.0-rc.2 Problem did not exist in 2.4.0
Relevant log output
Node head info
Node upgrade history
today for the testnet hard fork
DB reset history
The text was updated successfully, but these errors were encountered: