How to increase Postgresql client connections for Satellite 5.x
Issue
- Satellite generates many email tracebacks similar to the following:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheHandler.py",
line 80, in headerParserHandler
rhnSQL.initDB()
File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py",
line 143, in initDB
raise e
SQLConnectError: (None, None, 'rhnschema', 'Attempting Re-Connect to the
database failed')
Local variables by frame
Frame initDB in
/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py at line
143
username = <type 'str'> rhnuser
e = <class
'spacewalk.server.rhnSQL.sql_base.SQLConnectError'> (None, None, 'rhnschema',
'Attempting Re-Connect to the database failed')
database = <type 'str'> rhnschema
host = <type 'NoneType'> None
password = <type 'str'> <CENSORED!>
port = <type 'NoneType'> None
backend = <type 'str'> postgresq
Environment
- Red Hat Satellite 5.6
- Red Hat Satellite 5.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.