[tor-bugs] #25161 [Metrics/CollecTor]: Fix any memory problem caused by number of log files to be imported by the webstats module

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 23 16:04:14 UTC 2018


#25161: Fix any memory problem caused by number of log files to be imported by the
webstats module
-------------------------------+-----------------------------------
 Reporter:  karsten            |          Owner:  iwakeh
     Type:  defect             |         Status:  needs_information
 Priority:  Medium             |      Milestone:
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+-----------------------------------

Comment (by iwakeh):

 Thanks for the logs!

 Tickets #25329 and f #25329 are ready for review now.


 For the next import runs, regarding comment:18 tl;dr:
 Assuming server and laptop are in the secured local net only processing
 public data the shortest way to monitoring remotely is adding the
 following to the java call
 {{{
 -Dcom.sun.management.jmxremote.port=<free port>
 -Dcom.sun.management.jmxremote.authenticate=false
 -Dcom.sun.management.jmxremote.ssl=false
 }}}

 If the server has several ips it might be necessary to add
 {{{
 -Djava.rmi.server.hostname=<ip for jmx>
 }}}

 On the laptop simply run jconsole and enter <ip for jmx>:<free port> in
 the remote line of the gui.

 Of course, more secure settings in many ways are possible, for that see
 the link above in comment:18.
 Hth!

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


More information about the tor-bugs mailing list