Find results slow when using CLUSTER_SERVERS in two node setup
I am trying to set up two nodes to have a high availablility setup. I am using the following local_settings.py
DEBUG = True
MEMCACHE_HOSTS = ['172.27.
DEFAULT_
DEFAULT_
SECRET_KEY = 'dA"%hBb24,
REMOTE_
CLUSTER_
I see slow find results with over 3 seconds in the logs:
2018-02-
2018-02-
After commenting out the following:
#REMOTE_
#CLUSTER_
I get much faster response times:
2018-02-
2018-02-
graphite-web version 1.1.1
Does anybody know what I'm missing here?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Tobias
- Solved:
- 2018-02-12
- Last query:
- 2018-02-12
- Last reply:
- 2018-02-12
Denis Zhdanov (deniszhdanov) said : | #1 |
That's strange. Could you please show `pip freeze` output?
Tobias (lindqt01) said : | #2 |
Thanks. Here is the output:
ansible==2.4.2.0
attrs==17.4.0
Automat==0.6.0
aws-cfn-
Babel==0.9.6
backports.
boto==2.45.0
cachetools==2.0.1
cairocffi==0.8.0
carbon==1.1.1
cffi==1.6.0
chardet==2.2.1
Cheetah==2.4.4
cloud-init==0.7.9
configobj==4.7.2
constantly==15.1.0
cryptography==1.7.2
decorator==3.4.0
Django==1.11.10
django-
enum34==1.0.4
fros==1.0
graphite-web==1.1.1
httplib2==0.9.2
hyperlink==17.3.1
idna==2.4
incremental==17.5.0
iniparse==0.4
iotop==0.6
ipaddress==1.0.16
IPy==0.75
javapackages==1.0.0
Jinja2==2.7.2
jmespath==0.9.0
jsonpatch==1.2
jsonpointer==1.9
kitchen==1.1.1
lockfile==0.12.2
lxml==3.2.1
Markdown==2.4.1
MarkupSafe==0.11
paramiko==2.1.1
perf==0.1
Pillow==2.0.0
ply==3.4
policycoreutils
prettytable==0.7.2
pyasn1==0.1.9
pycparser==2.14
pycrypto==2.6.1
pycurl==7.19.0
Pygments==1.4
pygobject==3.22.0
pygpgme==0.3
pyliblzma==0.5.3
pyparsing==2.2.0
pyserial==2.6
pystache==0.5.4
python-
python-
python-
python-
pytz==2018.3
pyudev==0.15
pyxattr==0.5.1
PyYAML==3.10
requests==2.6.0
rsa==3.4.1
scandir==1.6
schedutils==0.4
seobject==0.1
sepolicy==1.1
setroubleshoot==1.1
six==1.9.0
slip==0.4.0
slip.dbus==0.4.0
Twisted==17.9.0
txAMQP==0.8.2
urlgrabber==3.10
urllib3==1.10.2
whisper==1.1.1
yum-metadata-
zope.interface=
Denis Zhdanov (deniszhdanov) said : | #3 |
3 extra seconds looks like fetch timeout, which is 3 seconds.
Are CLUSTER_SERVERS really available? Does
curl -v http://
returns something?
Tobias (lindqt01) said : | #4 |
I found the problem. The memcached port was not open in the firewall. Sorry for the trouble.