[tor-bugs] #2967 [Tor Client]: bad pidfile handling on ENOSPC

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat May 14 05:21:24 UTC 2011


#2967: bad pidfile handling on ENOSPC
------------------------+---------------------------------------------------
 Reporter:  intrigeri   |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:  Tor: 0.2.0.32     
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by mikey):

 So what's the preferred solution to this?

 1. Kill the daemon (using the getpid()/_getpid())
 2. log_warn(LD_FS) like is done for a failed fopen()
 3. write a syslog ERROR or WARNING for non-Windows

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


More information about the tor-bugs mailing list