[tor-bugs] #26937 [Core Tor/sbws]: sbws: Warn when there is not enough disk space

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 2 21:59:01 UTC 2018


#26937: sbws: Warn when there is not enough disk space
---------------------------+------------------------------
 Reporter:  juga           |          Owner:  juga
     Type:  enhancement    |         Status:  needs_review
 Priority:  Medium         |      Milestone:
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #25925         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------

Comment (by teor):

 Some directory authority operators may deny access to disk space syscalls
 using a sandbox. Some sandboxes will terminate the process. Others will
 give bad results (like 0 or -1).

 Directory authority operators have reported bugs in tor, because it made
 syscalls they weren't expecting.

 Instead of checking for disk space, you could:
 *  tell the operator how big the disk needs to be, and
 * ask them to install automatic disk space monitoring.

 Documentation about disk space goes in the INSTALL file. You can put it
 with the other system requirements (like bandwidth and RAM).

 Good documentation looks like this:

 You will need X GB to install sbws and dependencies, and X GB to run sbws
 for a year on the public tor network.
 We recommend that you set up automatic disk space monitoring on your data
 and log partitions.

 Here are the details:
 * installing sbws uses X MB on top of the base system. The sbws tor client
 uses X MB.
 * sbws produces X MB of data files per day. Data files are cleaned up
 after X days. The remaining historical data is X MB per day.
 * sbws produces X MB of logs per day at notice level. (Does sbws work with
 logrotate? If not, how are logs rotated?)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26937#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list