Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OperationalError at /main/desktop/
- FATAL: sorry, too many clients already
- Request Method: GET
- Request URL: http://127.0.0.1:8000/main/desktop/
- Django Version: 1.3.1
- Exception Type: OperationalError
- Exception Value:
- FATAL: sorry, too many clients already
- Exception Location: /opt/noc/contrib/lib/django/db/backends/postgresql_psycopg2/base.py in _cursor, line 140
- Python Executable: /usr/bin/python
- Python Version: 2.6.6
- Python Path:
- ['/opt/noc/contrib/lib/South-0.7.3-py2.6.egg',
- '/opt/noc/contrib/lib/coverage-3.5.1-py2.6-linux-x86_64.egg',
- '/opt/noc/contrib/lib/protobuf-2.4.1-py2.6.egg',
- '/opt/noc/contrib/lib/pyasn1-0.1.2-py2.6.egg',
- '/opt/noc/contrib/lib/pysnmp-4.2.1-py2.6.egg',
- '/opt/noc/contrib/lib/python_creole-0.2.4-py2.6.egg',
- '/opt/noc/contrib/lib/Pygments-1.2.2-py2.6.egg',
- '/opt/noc/contrib/lib/Jinja2-2.2.1-py2.6.egg',
- '/opt/noc/contrib/lib/Sphinx-1.0.7-py2.6.egg',
- '/opt/noc/contrib/lib/mongoengine-0.6.1-py2.6.egg',
- '/opt/noc/contrib/lib/pymongo-2.2.1-py2.6-linux-x86_64.egg',
- '/opt/noc/contrib/lib/tornado-2.2-py2.6.egg',
- '/opt/noc',
- '/opt',
- '/opt/noc/contrib/lib',
- '/opt/noc/scripts',
- '/usr/lib/python2.6',
- '/usr/lib/python2.6/plat-linux2',
- '/usr/lib/python2.6/lib-tk',
- '/usr/lib/python2.6/lib-old',
- '/usr/lib/python2.6/lib-dynload',
- '/usr/local/lib/python2.6/dist-packages',
- '/usr/lib/python2.6/dist-packages',
- '/usr/lib/pymodules/python2.6']
- Server time: Птн, 7 Сен 2012 10:06:12 +0400
- Traceback
- Environment:
- Request Method: GET
- Request URL: http://127.0.0.1:8000/main/desktop/
- Django Version: 1.3.1
- Python Version: 2.6.6
- Installed Applications:
- ['django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.sites',
- 'django.contrib.admin',
- 'django.contrib.messages',
- 'tagging',
- 'south',
- 'noc.main',
- 'noc.gis',
- 'noc.inv',
- 'noc.sa',
- 'noc.fm',
- 'noc.pm',
- 'noc.cm',
- 'noc.ip',
- 'noc.vc',
- 'noc.dns',
- 'noc.peer',
- 'noc.kb']
- Installed Middleware:
- ['django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.locale.LocaleMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'noc.lib.middleware.HTTPBasicAuthMiddleware',
- 'django.middleware.doc.XViewMiddleware',
- 'django.middleware.transaction.TransactionMiddleware',
- 'noc.lib.middleware.TLSMiddleware']
- Traceback:
- File "/opt/noc/contrib/lib/django/core/handlers/base.py" in get_response
- 89. response = middleware_method(request)
- File "/opt/noc/lib/middleware.py" in process_request
- 24. if request.user.is_authenticated():
- File "/opt/noc/contrib/lib/django/contrib/auth/middleware.py" in __get__
- 9. request._cached_user = get_user(request)
- File "/opt/noc/contrib/lib/django/contrib/auth/__init__.py" in get_user
- 110. user = backend.get_user(user_id) or AnonymousUser()
- File "/opt/noc/main/auth/backends/base.py" in get_user
- 32. return self.User.objects.get(pk=user_id)
- File "/opt/noc/contrib/lib/django/db/models/manager.py" in get
- 132. return self.get_query_set().get(*args, **kwargs)
- File "/opt/noc/contrib/lib/django/db/models/query.py" in get
- 344. num = len(clone)
- File "/opt/noc/contrib/lib/django/db/models/query.py" in __len__
- 82. self._result_cache = list(self.iterator())
- File "/opt/noc/contrib/lib/django/db/models/query.py" in iterator
- 273. for row in compiler.results_iter():
- File "/opt/noc/contrib/lib/django/db/models/sql/compiler.py" in results_iter
- 680. for rows in self.execute_sql(MULTI):
- File "/opt/noc/contrib/lib/django/db/models/sql/compiler.py" in execute_sql
- 734. cursor = self.connection.cursor()
- File "/opt/noc/contrib/lib/django/db/backends/__init__.py" in cursor
- 250. cursor = self.make_debug_cursor(self._cursor())
- File "/opt/noc/contrib/lib/django/db/backends/postgresql_psycopg2/base.py" in _cursor
- 140. self.connection = Database.connect(**conn_params)
- Exception Type: OperationalError at /main/desktop/
- Exception Value: FATAL: sorry, too many clients already
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement