graphite-web
graphite-web copied to clipboard
Webui lagging and not returning full graphs
I am running the latest graphite 0.9.12 from git and am experiencing incomplete graphs. I am only writing 280.000 metrics per minute on a box which has local storage. I am seeing weird lag that i cannot explain, i have set my config to read from caches and local storage. I am using only one physical server with a carbon-relay in consistent-hashing mode to send to all 8 caches.
This is my carbon.conf:
[cache:1]
USER = apache
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2004
CACHE_QUERY_INTERFACE = 0.0.0.0
CACHE_QUERY_PORT = 7201
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = inf
WHISPER_AUTOFLUSH = True
LOG_UPDATES = False
..[snip]..
[cache:8]
USER = apache
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2703
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2704
CACHE_QUERY_INTERFACE = 0.0.0.0
CACHE_QUERY_PORT = 7208
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = inf
WHISPER_AUTOFLUSH = True
LOG_UPDATES = False
[relay:1]
RELAY_METHOD = consistent-hashing
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2013
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2014
MAX_QUEUE_SIZE = 10000
MAX_DATAPOINTS_PER_MESSAGE = 500
USE_FLOW_CONTROL = True
DESTINATIONS = localhost:2004:1,localhost:2104:2,localhost:2204:3,localhost:2304:4,localhost:2404:5,localhost:2504:6,localhost:2604:7,localhost:2704:8
Webui is on the same machine, and I have setup the local_settings.py this way:
TIME_ZONE = 'UTC'
MEMCACHE_HOSTS = ['127.0.0.1:11211']
DATABASES = {
'default': {
'NAME': 'graphite',
'ENGINE': 'django.db.backends.mysql',
'USER': 'user',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '3306'
}
}
CARBONLINK_HOSTS = [
"127.0.0.1:7201:1",
"127.0.0.1:7202:2",
"127.0.0.1:7203:3",
"127.0.0.1:7204:4",
"127.0.0.1:7205:5",
"127.0.0.1:7206:6",
"127.0.0.1:7207:7",
"127.0.0.1:7208:8",
]
Thanks for your help, I cannot figure out what is wrong in this setup.
Not a bug so closing this, sorry for the noise.