I suppose that tor must start on startup, right? However, I usually need to restart it as if it's slow or not working at start. So, I use
sudo service tor stop, but it won't stop immediately or consistently. When I run
tor in command line again, it says:
Oct 12 17:46:29.744 [notice] Tor 0.3.5.8 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1b, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8. Oct 12 17:46:29.744 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Oct 12 17:46:29.744 [notice] Read configuration file "/etc/tor/torrc". Oct 12 17:46:29.746 [notice] Based on detected system memory, MaxMemInQueues is set to 5769 MB. You can override this by setting MaxMemInQueues by hand. Oct 12 17:46:29.747 [notice] Opening Socks listener on 127.0.0.1:9050 Oct 12 17:46:29.747 [notice] Opened Socks listener on 127.0.0.1:9050 Oct 12 17:46:29.747 [notice] Opening Control listener on 127.0.0.1:9051 Oct 12 17:46:29.747 [warn] Could not bind to 127.0.0.1:9051: Address already in use. Is Tor already running?
Sometimes, I must start and stop it for several times until to get a fresh run.