WebApp Error: <class 'psycopg2.OperationalError'>: FATAL: connection limit exceeded for non-superusers
URL: http://snapshot-dev.debian.org/mr/file/e80cf8d79300d192104ebacf3162c63c71eee553/info
File '/var/lib/python-support/python2.5/weberror/errormiddleware.py', line 162 in __call__
app_iter = self.application(environ, sr_checker)
File '/var/lib/python-support/python2.5/beaker/middleware.py', line 73 in __call__
return self.app(environ, start_response)
File '/var/lib/python-support/python2.5/beaker/middleware.py', line 152 in __call__
return self.wrap_app(environ, session_start_response)
File '/var/lib/python-support/python2.5/routes/middleware.py', line 130 in __call__
response = self.app(environ, start_response)
File '/var/lib/python-support/python2.5/pylons/wsgiapp.py', line 125 in __call__
response = self.dispatch(controller, environ, start_response)
File '/var/lib/python-support/python2.5/pylons/wsgiapp.py', line 324 in dispatch
return controller(environ, start_response)
File '/home/snapshot/web-app/lib/python2.5/site-packages/snapshot/lib/base.py', line 15 in __call__
return WSGIController.__call__(self, environ, start_response)
File '/var/lib/python-support/python2.5/pylons/controllers/core.py', line 221 in __call__
response = self._dispatch_call()
File '/var/lib/python-support/python2.5/pylons/controllers/core.py', line 172 in _dispatch_call
response = self._inspect_call(func)
File '/var/lib/python-support/python2.5/pylons/controllers/core.py', line 107 in _inspect_call
result = self._perform_call(func, args)
File '/var/lib/python-support/python2.5/pylons/controllers/core.py', line 60 in _perform_call
return func(**args)
File '<string>', line 2 in mr_fileinfo
File '/var/lib/python-support/python2.5/pylons/decorators/__init__.py', line 36 in jsonify
data = func(*args, **kwargs)
File '/home/snapshot/web-app/lib/python2.5/site-packages/snapshot/controllers/package.py', line 264 in mr_fileinfo
'result': self._get_fileinfo_for_mr_one(hash) }
File '/home/snapshot/web-app/lib/python2.5/site-packages/snapshot/controllers/package.py', line 146 in _get_fileinfo_for_mr_one
fileinfo = map(lambda x: dict(x), g.shm.packages_get_file_info(self._db(), hash))
File '/home/snapshot/web-app/lib/python2.5/site-packages/snapshot/controllers/package.py', line 23 in _db
self.db = DBInstance(g.pool)
File '/home/snapshot/web-app/lib/python2.5/site-packages/snapshot/lib/dbinstance.py', line 5 in __init__
self.conn = pool.connection()
File '/home/snapshot/web-app/lib/python2.5/site-packages/DBUtils/PooledDB.py', line 293 in connection
con = self.steady_connection()
File '/home/snapshot/web-app/lib/python2.5/site-packages/DBUtils/PooledDB.py', line 250 in steady_connection
*self._args, **self._kwargs)
File '/home/snapshot/web-app/lib/python2.5/site-packages/DBUtils/SteadyDB.py', line 128 in connect
closeable, *args, **kwargs)
File '/home/snapshot/web-app/lib/python2.5/site-packages/DBUtils/SteadyDB.py', line 179 in __init__
self._store(self._create())
File '/home/snapshot/web-app/lib/python2.5/site-packages/DBUtils/SteadyDB.py', line 183 in _create
con = self._creator(*self._args, **self._kwargs)
OperationalError: FATAL: connection limit exceeded for non-superusers
CGI Variables
-------------
DOCUMENT_ROOT: '/htdocs'
GATEWAY_INTERFACE: 'CGI/1.1'
HTTP_ACCEPT_ENCODING: 'gzip'
HTTP_CONNECTION: 'TE, close'
HTTP_HOST: 'snapshot-dev.debian.org'
HTTP_REFERER: 'http://snapshot-dev.debian.org/mr/package/p0f/2.0.8-1/srcfiles'
HTTP_TE: 'deflate,gzip;q=0.3'
HTTP_USER_AGENT: 'WWW-Mechanize/1.58'
PATH: '/usr/local/bin:/usr/bin:/bin'
PATH_INFO: '/mr/file/e80cf8d79300d192104ebacf3162c63c71eee553/info'
PATH_TRANSLATED: '/srv/snapshot.debian.org/bin/snapshot.wsgi/mr/file/e80cf8d79300d192104ebacf3162c63c71eee553/info'
REMOTE_ADDR: '82.59.125.125'
REMOTE_PORT: '11556'
REQUEST_METHOD: 'GET'
REQUEST_URI: '/mr/file/e80cf8d79300d192104ebacf3162c63c71eee553/info'
SCRIPT_FILENAME: '/srv/snapshot.debian.org/bin/snapshot.wsgi'
SERVER_ADDR: '193.62.202.28'
SERVER_ADMIN: 'team@snapshot.debian.org'
SERVER_NAME: 'snapshot-dev.debian.org'
SERVER_PORT: '80'
SERVER_PROTOCOL: 'HTTP/1.1'
SERVER_SIGNATURE: '<address>Apache Server at snapshot-dev.debian.org Port 80</address>\n'
SERVER_SOFTWARE: 'Apache'
WSGI Variables
--------------
application: <beaker.middleware.CacheMiddleware object at 0x2b4e310>
beaker.cache: <beaker.cache.CacheManager object at 0x2b4e350>
beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x2b4e2d0>>
beaker.session: {'_accessed_time': 1270903863.7413521, '_creation_time': 1270903863.7413521}
mod_wsgi.application_group: 'snapshot.debian.org|'
mod_wsgi.callable_object: 'application'
mod_wsgi.listener_host: ''
mod_wsgi.listener_port: '80'
mod_wsgi.process_group: 'snapshot.debian.org'
mod_wsgi.reload_mechanism: '1'
mod_wsgi.script_reloading: '1'
mod_wsgi.version: (2, 5)
paste.registry: <paste.registry.Registry object at 0x2cb3e10>
paste.throw_errors: True
pylons.action_method: <bound method PackageController.mr_fileinfo of <snapshot.controllers.package.PackageController object at 0x2cb3c90>>
pylons.controller: <snapshot.controllers.package.PackageController object at 0x2cb3c90>
pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
pylons.pylons: <pylons.util.PylonsContext object at 0x2cb3e50>
pylons.routes_dict: {'action': u'mr_fileinfo', 'controller': u'package', 'hash': u'e80cf8d79300d192104ebacf3162c63c71eee553'}
routes.route: <routes.route.Route object at 0x2b40fd0>
routes.url: <routes.util.URLGenerator object at 0x2cb3d50>
webob.adhoc_attrs: {'language': 'en-us'}
wsgi process: 'Multi process AND threads (?)'
wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2cafeb8>
wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x2cb3d50>, {'action': u'mr_fileinfo', 'controller': u'package', 'hash': u'e80cf8d79300d192104ebacf3162c63c71eee553'})
Reply to: