chirlu`, bitmap, ruaok: i found from where the performance difference between pingu & astro comes. It is related to local dns cache, which impacts negatively the upstream response time for a reason i can't explain. resolv.conf on pingu didn't have 127.0.0.1 as first line, and was using gateway dnscaches. Using the local dnscache on each mb server .... makes
it slower, which is quite counter-intuitive (it is meant to be faster, since dns responses are cached locally). I removed this line from all servers, and they have now all the same mean response time than pingu.
CJ_
zas, That is odd.
zas
This is why new installs were behaving like pingu, resolv.conf was using gateway dnscaches only.
^ that's what I get when I try to run "python run.py"
zas
CJ_: especially odd, because the mean response time is divided by 10 when NOT using local dns cache ...
opatel99
gcilou: Did you install the requirements with `pip install -r requirements.txt`
CJ_
zas, How many responses are you seeing? Perhaps it is trashing the disk vs caching in memory?
gcilou
opatel99: no.. Im just following the README.md on metabrainz.org github
opatel99
gcilou: Run that command.
gcilou
opatel99: It did something but also had an error and "python run.py" still didn't work
opatel99
Traceback now?
gcilou
traceback?
opatel99
The error code.
gcilou
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/5f/0dttw86s14g_24ych3b8vbl40000gn/T/pip-build-4PLKAg/psycopg2
You are using pip version 7.1.2, however version 8.0.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
urg
sorry. That was the error from the pip install command
opatel99
type python -V and tell me what you get
gcilou
python 2.7.11
opatel99
Hmm. Go ahead and upgrade pip via pip install --upgrade pip
and then try installing the requirements
gcilou
Ok it upgraded
zas
CJ_: not many at all, and it is dnscache, which is using memory only.
CJ_
zas, Hmm. I am out of ideas, then.
zas
i don't think this is a dns cache issue, but more a nginx/resolver issue
gcilou
opatel99, same error after installing
stanislas
opatel99, gcilou: I am quite sure it is not a matter of pip
gcilou
Am I supposed to be following the README or the INSTALL ?
stanislas
opatel99, gcilou: pip's just said that it can be upgraded
gcilou: in README.md "If you want to do development you should use instructions above. It is much easier way to start. For more detailed installation instructions see INSTALL.md file."
gcilou
stanislas, yeah so I followed the instructions, but I'm not sure what to tweak in the config.py file..so I think that's the problem
Gentlecat: I had an earlier PR from a few weeks back, I recently fixed a merge conflict that had occurred due to the commits after the PR. Can I get any kind of update if the PR is okay? So that if it's not I can fix it.
I guess that's not very special error, try doing the same as you've done just now.
No module named flask_admin means that you should install flask_admin
sudo pip install Flask-Admin
(leave the VM as it was, don't restart it)
gcilou
Ok that worked but running run.py set an error that "no module named memcache" so I tried installing that and it said there is no matching distribution found for memcache