← Back to team overview

graphite-dev team mailing list archive

[Question #263940]: How to begin debugging error in relay console: twisted.internet.defer.AlreadyCalledError

 

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

Can anyone advise on how to go about diagnosing this relay console error?  This is repeating every 5 seconds.  Metrics are coming through despite this, although perhaps only to one cache.

20/03/2015 21:14:48 :: <twisted.internet.tcp.Connector instance at 0xf6fab8> will retry in 4 seconds
20/03/2015 21:14:48 :: Stopping factory CarbonClientFactory(127.0.0.1:2204:2)
20/03/2015 21:14:48 :: Starting factory CarbonClientFactory(127.0.0.1:2104:1)
20/03/2015 21:14:48 :: Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib64/python2.6/site-packages/twisted/python/log.py", line 88, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/local/lib64/python2.6/site-packages/twisted/python/log.py", line 73, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/local/lib64/python2.6/site-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib64/python2.6/site-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/local/lib64/python2.6/site-packages/twisted/internet/posixbase.py", line 619, in _doReadOrWrite
    why = selectable.doWrite()
  File "/usr/local/lib64/python2.6/site-packages/twisted/internet/abstract.py", line 276, in doWrite
    self.producer.resumeProducing()
  File "/opt/graphite/lib/carbon/client.py", line 43, in resumeProducing
    self.sendQueued()
  File "/opt/graphite/lib/carbon/client.py", line 79, in sendQueued
    self.factory.queueHasSpace.callback(queueSize)
  File "/usr/local/lib64/python2.6/site-packages/twisted/internet/defer.py", line 383, in callback
    self._startRunCallbacks(result)
  File "/usr/local/lib64/python2.6/site-packages/twisted/internet/defer.py", line 484, in _startRunCallbacks
    raise AlreadyCalledError
twisted.internet.defer.AlreadyCalledError:

20/03/2015 21:14:48 :: <twisted.internet.tcp.Connector instance at 0xf6f7e8> will retry in 5 seconds
20/03/2015 21:14:48 :: Stopping factory CarbonClientFactory(127.0.0.1:2104:1)


If there' an obvious answer in Google, l haven't found it, so would appreciate a link.

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