hanging/db failure

Ben Eliott avatarBen Eliott created an issue

Hi, Looks like you have a db connection issue. Connections are currently hanging on both web browser view of repo and hg push to a repo.

Hg push eventually returns:

remote: Traceback (most recent call last): remote: File "/usr/local/bin/conq", line 91, in <module> remote: if user_can_read(dest_user, dest_repo, user): remote: File "/usr/local/bin/conq", line 44, in user_can_read remote: repo = Repository.objects.get(ownerusername=user, slug=repo) remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/models/manager.py", line 120, in get remote: return self.get_query_set().get(*args, kwargs) remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/models/query.py", line 300, in get remote: num = len(clone) remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/models/query.py", line 81, in len remote: self._result_cache = list(self.iterator()) remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/models/query.py", line 238, in iterator remote: for row in self.query.results_iter(): remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/models/sql/query.py", line 287, in results_iter remote: for rows in self.execute_sql(MULTI): remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/models/sql/query.py", line 2368, in execute_sql remote: cursor = self.connection.cursor() remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/backends/init.py", line 81, in cursor remote: cursor = self._cursor() remote: File "/usr/lib/python2.5/site-packages/Django-1.1-py2.5.egg/django/db/backends/postgresql_psycopg2/base.py", line 98, in _cursor remote: self.connection = Database.connect(conn_params) remote: psycopg2.OperationalError: server closed the connection unexpectedly remote: This probably means the server terminated abnormally remote: before or while processing the request. remote:

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.