graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02190
[Question #188586]: Graphite 0.9.9 not running on gentoo
New question #188586 on Graphite:
https://answers.launchpad.net/graphite/+question/188586
I've been trying to get graphite 0.9.9 running on a gentoo box using the graphite wiki instructions (http://graphite.wikidot.com/installation).
Everything seems to have gone well, except that apache / the graphite webapp never seem to return a response to the web browser (the browser continuously waits to load the page). I've turned on the graphite debug info, but the only message in the log files is this, repeated over and over again in info.log (with the pid always changing):
Thu Feb 23 01:59:38 2012 :: graphite.wsgi - pid 4810 - reloading search index
These instructions have worked for me before to set up graphite on an Ubuntu machine. I suspect that mod_wsgi is dying, but I have confirmed that mod_wsgi works fine when not serving the graphite webapp.
My vhosts file looks like this:
WSGISocketPrefix /etc/httpd/wsgi/
<VirtualHost *:80>
ServerName # Server name
DocumentRoot "/opt/graphite/webapp"
ErrorLog /opt/graphite/storage/log/webapp/error.log
CustomLog /opt/graphite/storage/log/webapp/access.log common
# I've found that an equal number of processes & threads tends
# to show the best performance for Graphite (ymmv).
WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120
WSGIProcessGroup graphite
WSGIApplicationGroup %{GLOBAL}
WSGIImportScript /opt/graphite/conf/graphite.wsgi process-group=graphite application-group=%{GLOBAL}
WSGIScriptAlias / /opt/graphite/conf/graphite.wsgi
Alias /content/ /opt/graphite/webapp/content/
<Location "/content/">
SetHandler None
</Location>
# XXX In order for the django admin site media to work you
# must change @DJANGO_ROOT@ to be the path to your django
# installation, which is probably something like:
# /usr/lib/python2.6/site-packages/django
Alias /media/ "/usr/lib64/python2.6/site-packages/django/contrib/admin/media/"
<Location "/media/">
SetHandler None
</Location>
# The graphite.wsgi file has to be accessible by apache. It won't
# be visible to clients because of the DocumentRoot though.
<Directory /opt/graphite/conf/>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Any suggestions on what I could be doing wrong?
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.