Skip to content

Instantly share code, notes, and snippets.

@drscream
Created October 12, 2013 21:17
Show Gist options
  • Save drscream/6955038 to your computer and use it in GitHub Desktop.
Save drscream/6955038 to your computer and use it in GitHub Desktop.
12/10/2013 21:16:38 :: Error writing to /opt/graphite/storage/whisper/frickel/random/diceroll.wsp
12/10/2013 21:16:38 :: Unhandled Error
Traceback (most recent call last):
File "/opt/local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 172, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/opt/local/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/opt/local/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/opt/graphite/lib/carbon/writer.py", line 149, in writeForever
writeCachedDataPoints()
--- <exception caught here> ---
File "/opt/graphite/lib/carbon/writer.py", line 128, in writeCachedDataPoints
whisper.update_many(dbFilePath, datapoints)
File "/opt/local/lib/python2.7/site-packages/whisper.py", line 577, in update_many
return file_update_many(fh, points)
File "/opt/local/lib/python2.7/site-packages/whisper.py", line 584, in file_update_many
header = __readHeader(fh)
File "/opt/local/lib/python2.7/site-packages/whisper.py", line 220, in __readHeader
raise CorruptWhisperFile("Unable to read header", fh.name)
whisper.CorruptWhisperFile: Unable to read header (/opt/graphite/storage/whisper/frickel/random/diceroll.wsp)
@drscream
Copy link
Author

https://bugs.launchpad.net/carbon/+bug/1037961

Replace the TRUE with FALSE for

WHISPER_FALLOCATE_CREATE = False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment