I've just got this stacktrace from t.e.o. after long delays with
opening pages. I wonder if some kind of server load indicator should
be embedded in Trac so that it could cache requests for timelines and
the like for longer.
Traceback (most recent call last):
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/web/api.py",
line 377, in send_error
'text/html')
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/web/chrome.py",
line 726, in render_template
req.session.pop('chrome.%s.%d' % (type_, i)))
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/web/api.py",
line 195, in __getattr__
value = self.callbacks[name](self)
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/web/main.py",
line 264, in _get_session
return Session(self.env, req)
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/web/session.py",
line 152, in __init__
self.get_session(sid)
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/web/session.py",
line 173, in get_session
super(Session, self).get_session(sid, authenticated)
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/web/session.py",
line 48, in get_session
db = self.env.get_db_cnx()
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/env.py",
line 273, in get_db_cnx
return DatabaseManager(self).get_connection()
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/db/api.py",
line 87, in get_connection
return self._cnx_pool.get_cnx(self.timeout or None)
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/db/pool.py",
line 176, in get_cnx
return _backend.get_cnx(self._connector, self._kwargs, timeout)
File
"/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.5stable_r8354-py2.5.egg/trac/db/pool.py",
line 124, in get_cnx
'seconds', time=timeout))
TimeoutError: Unable to get database connection within 20 seconds
--anatoly t.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---