Open erik78se opened 8 months ago
For the general case, this check is helpful and provides an immediate failure / useful error message. That being said, if you're setting up your system in a particular manner that disallows the check from working and you're confident that you're tuning it appropriately, you can bypass the check with:
--no-os-network-limits-test
When I'm starting Solana on my baremetal server which has been hardened to disallow access to sysctl (for security related reasons).
Solana crashes.
I would rather see the detection of these values handle this gracefully and not crash. Perhaps I can submit a patch that won't error out but simply warn?
https://github.com/solana-labs/solana/blob/8ad125d0c0688aaf2b62bb95b535ff988ed7f9ac/core/src/system_monitor_service.rs#L433