[tor-bugs] #13003 [Onionoo]: Figure out a better strategy to avoid concurrent Onionoo executions
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Sep 17 17:50:23 UTC 2014
#13003: Figure out a better strategy to avoid concurrent Onionoo executions
-------------------------+-----------------
Reporter: karsten | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-------------------------+-----------------
Comment (by karsten):
Replying to [comment:14 iwakeh]:
> Why are your gnumail jars not in /usr/share/java as all the others?
> I assume javax.mail.* from the gnumail jars is not found.
The jars are not installed to `/usr/share/java/` yet, but I copied them
over for testing. Once everything works I'm planning to ask our sysadmin
to install them. But the jars should be present:
{{{
metrics at sewerzowi:/srv/onionoo.torproject.org/onionoo$ ls -l gnumail/
total 288
-rw-r--r-- 1 metrics metrics 180561 Sep 15 14:30 gnumail-1.1.2.jar
-rw-r--r-- 1 metrics metrics 110399 Sep 15 14:30 gnumail-
providers-1.1.2.jar
}}}
> The setup looks ok otherwise.
> For debugging, set the following in logback.xml:
> {{{
> - <configuration debug="false">
> + <configuration debug="true">
> }}}
> This will print a detailed logging setup at the beginning.
> I hope you'll find a ClassNotFound somewhere.
Hmm, nothing in `onionoo-all.log`. Weird. Do you have an example of what
should be logged?
> (There should be a ticket for logging documentation, where these things
> can be kept for future reference. Contributor or Deployer?)
Fine question. (I don't have a good answer yet.)
> > Are you sure? I explicitly added the EMAIL appender to the statistics
logger.> I don't see where messages would be filtered based on log level.
> The SMTPAppender is triggered by ERROR; it's part of its functionality.
> (The default setting, which is enabled in our case, uses an
[http://logback.qos.ch/apidocs/ch/qos/logback/classic/boolex/OnErrorEvaluator.html
OnErrorEvaluator], [http://logback.qos.ch/dist/logback-1.0.4.tar.gz tar-
ball with sources]).
>
> >
> > I also added an error log statement to the end of Main, but still
don't receive emails.
> That should trigger mailing.
Understood. Makes sense!
> > Oops. Please find the updated INSTALL file in master.
>
> Thanks!
>
>
> > > In addition, I usually have time-out errors during the run.
> >
> > Can you be more specific, ideally in a new ticket?
> Download time-out errors due to my internet connection, I guess.
> No need for a new ticket, I think.
> {{{
> Could not fetch or store
> https://collector.torproject.org/recent/bridge-
descriptors/statuses/20140917-093705-4A0CCD2DDC7995083D73F5D667100C8A5831F16D.
Skipping.
> Reason: Connection timed out
> }}}
Okay.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13003#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list