On Fri, Oct 10, 2014 at 10:45 AM, Helgi Örn Helgason
<sacredeagle@gmail.com> wrote:
>
> Thank you Erik and Collin for your replies, of which I yet haven't tried
> out, perhaps because I don't fully understand them. Like a said; I am a noob
> in Django/Python. :-/
>
> But I have stumbled upon something that could maybe be of help, a thing
> called solr seems to be causing some problems.
>
> supervisor error log says:
> Failed to query Solr using 'django_ct:projects.project': [Errno 110]
> Connection timed out
>
> and manage.py rebuild_index gives me this:
> Removing all documents from your index because you said so.
> Failed to clear Solr index: [Errno 110] Connection timed out
> All documents removed.
> Indexing 3933 People.
> Failed to add documents to Solr: [Errno 110] Connection timed out
>
> Can this solr thing block pages from showing?
>
> There are now three branches of our site tree that are not showing up. :(
>
> The system is Django 1.3, Python 2.7.3, PostgreSQL, Nginx.
>
Yes, SOLR is a search index/database/analysis engine. Depending how
much your site uses it, it could be essential to displaying web pages.
The errors messages you get from SOLR are "Connection timed out"
(errno=110). This means you tried to connect to SOLR, it waited a
bunch of time (probably 30 seconds) and then gave up. The problem is
that your webserver will wait a bunch of time (probably also 30
seconds) and then give up and deliver an empty/blank/error page to the
client (depends on the server).
Is SOLR running? It is usually run inside tomcat, and has a web ui
interface for controlling it. It usually runs on port 8983, "sudo
netstat -lpn | grep java" if it is not.
Tom
PS Django 1.3 has known security flaws, please do upgrade to Django
1.4, which has long term support and should not require major changes
to your own code.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFHbX1KxKqB6YsbVwUrMx68Uvdg1o4%3DX7uZtZR-adxGN-WTJ3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment