[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Tor exiting: too many open files



Hi there!

First of all, I'm a new tor user, so there might be some things I am
unaware of at this point :-)

After experimenting with tor a little bit, today I started my server
permanently and had it regged, so that I can also function as an
exitnode (default policy says no exitnode). I am running 0.1.0.12 from
freebsd-ports on FreeBSD 5.3-RELEASE-p2.

This morning I started my tor client, and this afternoon all was still
good. This eveing when coming home from work however, I saw that tor
had exited, and these were the famous last words:

Aug  8 18:13:34 euforia Tor: connection_connect(): Error creating
network socket: Too many open files in system
Aug  8 18:13:35 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:35 euforia Tor: connection_connect(): Error creating
network socket: Too many open files in system
Aug  8 18:13:35 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:36 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:36 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:36 euforia Tor: dns_cancel_pending_resolve(): Bug:
Address '[scrubbed]' is pending but has no pending connections!
Aug  8 18:13:36 euforia Tor: dns_cancel_pending_resolve(): Bug:
Address '[scrubbed]' is pending but has no pending connections!
Aug  8 18:13:37 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:37 euforia Tor: dns_cancel_pending_resolve(): Bug:
Address '[scrubbed]' is pending but has no pending connections!
Aug  8 18:13:37 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:37 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:38 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:39 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:39 euforia Tor: dns_cancel_pending_resolve(): Bug:
Address '[scrubbed]' is pending but has no pending connections!
Aug  8 18:13:42 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:43 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:43 euforia Tor: dns_cancel_pending_resolve(): Bug:
Address '[scrubbed]' is pending but has no pending connections!
Aug  8 18:13:44 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:44 euforia Tor: dns_cancel_pending_resolve(): Bug:
Address '[scrubbed]' is pending but has no pending connections!
Aug  8 18:13:45 euforia Tor: connection_connect(): Error creating
network socket: Too many open files in system
Aug  8 18:13:46 euforia Tor: connection_connect(): Error creating
network socket: Too many open files in system
Aug  8 18:13:46 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:47 euforia Tor: connection_connect(): Error creating
network socket: Too many open files in system
Aug  8 18:13:48 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:48 euforia Tor: purge_expired_resolves(): Bug: Expiring a
dns resolve ('[scrubbed]') that's still pending. Forgot to cull it?
Aug  8 18:13:48 euforia Tor: dnsworker_main(): writing answer failed.
Child exiting.
Aug  8 18:13:48 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:48 euforia Tor: dns_cancel_pending_resolve(): Bug:
Address '[scrubbed]' is pending but has no pending connections!
Aug  8 18:13:49 euforia Tor: purge_expired_resolves(): Bug: Expiring a
dns resolve ('[scrubbed]') that's still pending. Forgot to cull it?
Aug  8 18:13:50 euforia Tor: connection_connect(): Error creating
network socket: Too many open files in system
Aug  8 18:13:50 euforia Tor: connection_connect(): Error creating
network socket: Too many open files in system
Aug  8 18:13:50 euforia Tor: spawn_enough_dnsworkers(): 100 DNS
workers are spawned; all are busy. Killing one.
Aug  8 18:13:50 euforia Tor: Couldn't construct socketpair: Too many
open files in system
Aug  8 18:13:50 euforia kernel: Aug  8 18:13:50 euforia Tor: Couldn't
construct socketpair: Too many open files in system

That sure looks like a bug to me ... :-)
Does anyone have similar errors, and possibly, a way to keep tor
running for over 12 hours ? :)

Greetings,

Nils

-- 
Simple guidelines to happiness:
Work like you don't need the money,
Love like your heart has never been broken and 
Dance like no one can see you.