diff options
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index db9c108131..cf7cacc3f4 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -413,10 +413,10 @@ accounting_run_housekeeping(time_t now) } if (time_to_record_bandwidth_usage(now)) { if (accounting_record_bandwidth_usage(now)) { - log_fn(LOG_ERR, "Couldn't record bandwidth usage; exiting."); - /* XXX this can fail when you're out of fd's, causing a crash. - * Perhaps the better answer is to hold the file open all the - * time? */ + log_fn(LOG_ERR, "Couldn't record bandwidth usage to disk; exiting."); + /* This can fail when we're out of fd's, causing a crash. + * The current answer is to reserve 32 more than we need, in + * set_max_file_descriptors(). */ exit(1); } } |