I've got Trac installed, but often get this error when opening a trac
page:
Oops...

Trac detected an internal error:

no connection to the server

Traceback (most recent call last):
  File
"/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line
206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139,
in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 80, in
dispatch
    req.perm = PermissionCache(self.env, req.authname)
  File "/usr/lib/python2.3/site-packages/trac/perm.py", line 276, in
__init__
    self.perms = PermissionSystem(env).get_user_permissions(username)
  File "/usr/lib/python2.3/site-packages/trac/perm.py", line 132, in
get_user_permissions
    for perm in self.store.get_user_permissions(username):
  File "/usr/lib/python2.3/site-packages/trac/perm.py", line 213, in
get_user_permissions
    cursor.execute("SELECT username,action FROM permission")
OperationalError: no connection to the server

It seems like it cannot connect to postgresql? Waiting a little bit,
and tretrying, makes it work again. Does postgresql somewhere has a
limit on the concurrent number of connections per user? I've got
max_connections = 500

but there do not seem to be that much connections (it's a trac install
with not even 10 projects and the problem is triggerend when one users
quickly tries to visit the different projects one after another).

What could this be?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to