← Back to team overview

graphite-dev team mailing list archive

MAX_CACHE_SIZE exception

 

Hello,

My carbon-cache/listener.log has a lot of such exceptions:

05/12/2009 11:06:52 :: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py",
line 231, in _doReadOrWrite
    why = selectable.doRead()
  File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py",
line 362, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py",
line 148, in dataReceived
    self.lineReceived(line)
  File "./carbon/lib/carbon/listeners.py", line 43, in lineReceived
    metricReceived(metric, datapoint)
--- <exception caught here> ---
  File "/opt/graphite/carbon/lib/carbon/events.py", line 14, in __call__
    self.handler(*args, **kwargs)
  File "./carbon/lib/carbon/cache.py", line 27, in store
    if self.size >= settings.MAX_CACHE_SIZE:
exceptions.KeyError: 'MAX_CACHE_SIZE'

This is running against the latest bzr code..

TTimo



Follow ups