[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

WebApp Error: <class 'psycopg2.OperationalError'>: FATAL: connection limit exceeded for non-superusers



URL: http://snapshot.debian.org/file/f4eeb8f074449a37326b79c6b560d7e1ab1ee579
Module weberror.errormiddleware:162 in __call__
>>  app_iter = self.application(environ, sr_checker)
Module beaker.middleware:73 in __call__
>>  return self.app(environ, start_response)
Module beaker.middleware:152 in __call__
>>  return self.wrap_app(environ, session_start_response)
Module routes.middleware:130 in __call__
>>  response = self.app(environ, start_response)
Module pylons.wsgiapp:125 in __call__
>>  response = self.dispatch(controller, environ, start_response)
Module pylons.wsgiapp:324 in dispatch
>>  return controller(environ, start_response)
Module snapshot.lib.base:15 in __call__
>>  return WSGIController.__call__(self, environ, start_response)
Module pylons.controllers.core:221 in __call__
>>  response = self._dispatch_call()
Module pylons.controllers.core:172 in _dispatch_call
>>  response = self._inspect_call(func)
Module pylons.controllers.core:107 in _inspect_call
>>  result = self._perform_call(func, args)
Module pylons.controllers.core:60 in _perform_call
>>  return func(**args)
Module snapshot.controllers.archive:246 in file
>>  return self._regular_file(hash)
Module snapshot.controllers.archive:116 in _regular_file
>>  realpath = g.shm.get_filepath(self._db(), digest)
Module snapshot.controllers.archive:53 in _db
>>  self.db = DBInstance(g.pool)
Module snapshot.lib.dbinstance:5 in __init__
>>  self.conn = pool.connection()
Module DBUtils.PooledDB:293 in connection
>>  con = self.steady_connection()
Module DBUtils.PooledDB:250 in steady_connection
>>  *self._args, **self._kwargs)
Module DBUtils.SteadyDB:128 in connect
>>  closeable, *args, **kwargs)
Module DBUtils.SteadyDB:179 in __init__
>>  self._store(self._create())
Module DBUtils.SteadyDB: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_CONNECTION 'Keep-Alive'
HTTP_HOST 'snapshot.debian.org'
HTTP_TE 'deflate,gzip;q=0.3'
HTTP_USER_AGENT 'LWP::Simple/5.813'
HTTP_VIA '1.1 AS00013'
PATH '/usr/local/bin:/usr/bin:/bin'
PATH_INFO '/file/f4eeb8f074449a37326b79c6b560d7e1ab1ee579'
PATH_TRANSLATED '/srv/snapshot.debian.org/bin/snapshot.wsgi/file/f4eeb8f074449a37326b79c6b560d7e1ab1ee579'
REMOTE_ADDR '213.185.182.28'
REMOTE_PORT '9435'
REQUEST_METHOD 'GET'
REQUEST_URI '/file/f4eeb8f074449a37326b79c6b560d7e1ab1ee579'
SCRIPT_FILENAME '/srv/snapshot.debian.org/bin/snapshot.wsgi'
SERVER_ADDR '206.12.19.13'
SERVER_ADMIN 'team@snapshot.debian.org'
SERVER_NAME 'snapshot.debian.org'
SERVER_PORT '80'
SERVER_PROTOCOL 'HTTP/1.1'
SERVER_SIGNATURE '<address>Apache Server at snapshot.debian.org Port 80</address>\n'
SERVER_SOFTWARE 'Apache'
WSGI Variables
application <beaker.middleware.CacheMiddleware object at 0x1a6edd0>
beaker.cache <beaker.cache.CacheManager object at 0x1a6ee10>
beaker.get_session <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x1a6ed90>>
beaker.session {'_accessed_time': 1271161880.3521309, '_creation_time': 1271161880.3521309}
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 0x220c410>
paste.throw_errors True
pylons.action_method <bound method ArchiveController.file of <snapshot.controllers.archive.ArchiveController object at 0x2401050>>
pylons.controller <snapshot.controllers.archive.ArchiveController object at 0x2401050>
pylons.environ_config {'session': 'beaker.session', 'cache': 'beaker.cache'}
pylons.pylons <pylons.util.PylonsContext object at 0x220cd10>
pylons.routes_dict {'action': u'file', 'controller': u'archive', 'hash': u'f4eeb8f074449a37326b79c6b560d7e1ab1ee579'}
routes.route <routes.route.Route object at 0x1a6ea90>
routes.url <routes.util.URLGenerator object at 0x220c650>
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 0x1fb8f30>
wsgiorg.routing_args (<routes.util.URLGenerator object at 0x220c650>, {'action': u'file', 'controller': u'archive', 'hash': u'f4eeb8f074449a37326b79c6b560d7e1ab1ee579'})

Reply to: