Does any of the tor software/infrastructure read state files under /var/lib/tor? Or (unlike, say, cache files) are they simply there for debugging/monitoring (and presumably can be removed at will)?


Tor itself reads the state file, but I don't know of any other software that reads from it. The file is important for more than just debugging/monitoring, it's how tor keeps persistent state across restarts. This is useful for remembering its guard relays, tracking relay bandwidth usage for accounting purposes (and for server descriptors), etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.