← Back to team overview

graphite-dev team mailing list archive

[Question #172845]: how to find corrupt whisper file?

 

New question #172845 on Graphite:
https://answers.launchpad.net/graphite/+question/172845

I have these errors in /var/log/carbon/console.log:


30/09/2011 10:19:14 :: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/twisted/python/threadpool.py", line 161, in _worker
    context.call(ctx, function, *args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib64/python2.4/site-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.4/site-packages/carbon/writer.py", line 164, in writeForever
    writeCachedDataPoints()
--- <exception caught here> ---
  File "/usr/lib/python2.4/site-packages/carbon/writer.py", line 119, in writeCachedDataPoints
    whisper.update_many(dbFilePath, datapoints)
  File "/usr/lib/python2.4/site-packages/whisper.py", line 393, in update_many
    return file_update_many(fh, points)
  File "/usr/lib/python2.4/site-packages/whisper.py", line 400, in file_update_many
    header = __readHeader(fh)
  File "/usr/lib/python2.4/site-packages/whisper.py", line 127, in __readHeader
    raise CorruptWhisperFile("Unable to read header", fh.name)
whisper.CorruptWhisperFile: Unable to read header


How do I find the corrupt file?

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.


Follow ups