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

Re: [tor-bugs] #6862 [arm]: arm does not show uptime



#6862: arm does not show uptime
-------------------------+--------------------------------------------------
    Reporter:  drforbin  |       Owner:  atagar
        Type:  defect    |      Status:  closed
    Priority:  normal    |   Milestone:        
   Component:  arm       |     Version:        
  Resolution:  fixed     |    Keywords:  uptime
      Parent:            |      Points:        
Actualpoints:            |  
-------------------------+--------------------------------------------------
Changes (by atagar):

  * status:  needs_information => closed
  * resolution:  => fixed


Comment:

 Great! Fix pushed...
 https://gitweb.torproject.org/arm.git/commitdiff/74567bb166c68584e3d1459f98e1ea08d09927c3

 > I assume setting that option to false disables proc use right?

 Yup. The log entries I mentioned earlier tell us that it's trying to query
 your proc contents but fails, and after three tries it gives up. This
 config option tells arm to skip trying to query proc in the first place.

 > adds overhead?

 This config option doesn't add any overhead (it just makes you skip some
 queries that are doomed to fail anyway). However, our inability to use the
 proc contents does add a little overhead. Reading proc is around 10x
 faster and less resource intensive than needing to shell out. That said,
 making periodic ps queries really isn't heavy at all.

 Cheers! -Damian

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6862#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs