I have Django installation, which worked fine before. Now it hangs for 5 minutes and then connection timeouts.
After some investigation I have found out, that it hangs while trying to reverse URL in template. So here is the summary:
- Devserver works fine with the same code on the same machine
- Django under Apache WSGI works fine (url dispatcher, views handler, template engine) for templates without {% url %} tag
- reverse('search') in django shell works fine
- {% url search %} hangs (without using CPU or eating memory - just hangs)
I also checked the cache engine (memcached) and celery+rabbitMQ - everything works fine.
Any ideas?