[volunteergrid2-l] Stats gatherer suddenly stopped working

Peter Secor secorp at gmail.com
Mon Jul 2 15:23:00 UTC 2012


This looks like one of the files is corrupted, it's happened to me a 
couple times when one of them gets truncated but the node doesn't know 
how to start if it is zero length. Let me check ... hmmm, I can't find 
the ticket in a quick search, but I think it was breaking in the <tahoe 
home>/storage/*.state files that were somehow corrupted. They can be 
safely removed and will regenerate when the node is restarted.

Ps

On 7/2/12 1:43 AM, Christoph Langguth wrote:
> Subject says it all...
>
> The stats gather seems to have crashed for some reason. Now, when I'm
> trying to start it again, I get this output:
>
> tahoe at bender:~$ ./TAHOE_BIN/allmydata-tahoe-1.9.0/bin/tahoe start
> /home/tahoe/stats-gatherer
> STARTING '/home/tahoe/stats-gatherer'
> Traceback (most recent call last):
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/support/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/application/app.py",
> line 626, in run
>      runApp(config)
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/support/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/scripts/twistd.py",
> line 23, in runApp
>      _SomeApplicationRunner(config).run()
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/support/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/application/app.py",
> line 374, in run
>      self.application = self.createOrGetApplication()
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/support/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/application/app.py",
> line 439, in createOrGetApplication
>      application = getApplication(self.config, passphrase)
> --- <exception caught here> ---
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/support/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/application/app.py",
> line 450, in getApplication
>      application = service.loadApplication(filename, style, passphrase)
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/support/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/application/service.py",
> line 390, in loadApplication
>      application = sob.loadValueFromFile(filename, 'application',
> passphrase)
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/support/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/persisted/sob.py",
> line 210, in loadValueFromFile
>      exec fileObj in d, d
>    File "tahoe-stats-gatherer.tac", line 8, in <module>
>      g = stats.StatsGathererService(verbose=verbose)
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/src/allmydata/stats.py",
> line 289, in __init__
>      self.stats_gatherer = PickleStatsGatherer(self.basedir, verbose)
>    File
> "/home/tahoe/TAHOE_BIN/allmydata-tahoe-1.9.0/src/allmydata/stats.py",
> line 255, in __init__
>      self.gathered_stats = pickle.load(f)
>    File "/usr/lib/python2.6/pickle.py", line 1370, in load
>      return Unpickler(file).load()
>    File "/usr/lib/python2.6/pickle.py", line 858, in load
>      dispatch[key](self)
>    File "/usr/lib/python2.6/pickle.py", line 880, in load_eof
>      raise EOFError
> exceptions.EOFError:
>
> Failed to load application:
>
> tahoe at bender:~$
>
> That's a beautiful stack trace, but to me it doesn't provide any useful
> information to determine what went wrong.
>
> Does anyone have a clue how to troubleshoot the issue?
> Thanks & cheers
> Chris
>
>
>
> _______________________________________________
> volunteergrid2-l mailing list
> volunteergrid2-l at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/volunteergrid2-l
> http://bigpig.org/twiki/bin/view/Main/WebHome
>



More information about the volunteergrid2-l mailing list