graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05374
[Question #261634]: Carbon not able to write to whisper file
New question #261634 on Graphite:
https://answers.launchpad.net/graphite/+question/261634
I have a very simple Graphite setup and trying it out for the first time. Just 1-node, carbon-cache running. When I send data points (simple-text protocol being used). Whisper files are getting created however no data points get written due to the following errors seen in carbon logs. I have tried deleting whisper files but cannot seem to get around this issue. Any help is greatly appreciated.
More details on my setup..
I used pip to install whisper, carbon and graphite-web on CentOS 7. I have not modified any default configurations in carbon.conf.
python-whisper-0.9.12-4.el7.noarch
graphite2-1.2.2-5.el7.x86_64
python-carbon-0.9.12-7.el7.noarch
03/02/2015 09:57:34 :: Error writing to /opt/graphite/storage/whisper/edp/test/testing/priyanka-dev/TotalDiscoveredItems.wsp
03/02/2015 09:57:34 :: Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/twisted/python/threadpool.py", line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/opt/graphite/lib/carbon/writer.py", line 158, in writeForever
writeCachedDataPoints()
--- <exception caught here> ---
File "/opt/graphite/lib/carbon/writer.py", line 137, in writeCachedDataPoints
whisper.update_many(dbFilePath, datapoints)
File "/usr/lib/python2.7/site-packages/whisper.py", line 577, in update_many
return file_update_many(fh, points)
File "/usr/lib/python2.7/site-packages/whisper.py", line 611, in file_update_many
__archive_update_many(fh,header,currentArchive,currentPoints)
File "/usr/lib/python2.7/site-packages/whisper.py", line 635, in __archive_update_many
currentString += struct.pack(pointFormat,interval,value)
struct.error: 'L' format requires 0 <= number <= 4294967295
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.