Have you restarted all the spacewalk services since the update was installed?<br><br><span style="font-family:Prelude, Verdana, san-serif;"><br><br></span><span id="signature"><div style="font-family: arial, sans-serif; font-size: 12px;color: #999999;">-- Sent from my HP Pre3</div><br></span><span style="color:navy; font-family:Prelude, Verdana, san-serif; "><hr align="left" style="width:75%">On Mar 11, 2013 12:48 PM, Coffman, Anthony J <Tony.Coffman@snapon.com> wrote: <br><br></span>Sorry for top posting. <br> <br>Thanks but I don't think that's it.  It looks like that update is already installed. <br>  <br># rpm -q python-psycopg2 <br>python-psycopg2-2.0.14-2.el6.x86_64 <br> <br>Regards, <br>--Tony <br> <br> <br>-----Original Message----- <br>From: spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] On Behalf Of Patrick Hurrelmann <br>Sent: Monday, March 11, 2013 11:39 AM <br>To: spacewalk-list@redhat.com <br>Subject: Re: [Spacewalk-list] Postgres connection issues with Spacewalk 1.9 <br> <br>On 11.03.2013 16:21, Coffman, Anthony J wrote: <br>> Is anybody else seeing 500 errors on 1.9? <br>>  <br>> We've had ridiculous numbers (300-400) of Postgres IDLE connections since the 1.7 release but it seems they've reach new heights in Spacewalk 1.9.  I just ran a package refresh on 30 DEV systems and the Postgres connection count got up to around 1000 before things completely fell apart. <br>>  <br>> Max client for Postgres is currently set to 1200 (was 500 in 1.8). <br>>  <br>> Symptom is 500 errors that look something like this. <br>>  <br>> Exception Handler Information <br>> Traceback (most recent call last): <br>>   File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheHandler.py", line 80, in headerParserHandler <br>>     rhnSQL.initDB() <br>>   File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 102, in initDB <br>>     __init__DB(backend, host, port, username, password, database) <br>>   File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 55, in __init__DB <br>>     __DB.connect() <br>>   File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 174, in connect <br>>     return self.connect(reconnect=0) <br>>   File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 163, in connect <br>>     password=self.password) <br>> SQLConnectError: (None, None, 'spaceschema', 'Attempting Re-Connect to  <br>> the database failed') <br>>  <br>> Local variables by frame <br>> Frame connect in /usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py at line 179 <br>>                         self = <type 'instance'> <spacewalk.server.rhnSQL.driver_postgresql.Database instance at 0x7f75ea5617e8> <br>>                            e = <class 'psycopg2.OperationalError'> server closed the connection unexpectedly <br>>         This probably means the server terminated abnormally <br>>         before or while processing the request. <br>> could not send startup packet: Broken pipe <br>>  <br>>                    reconnect = <type 'int'> 0 <br>>  <br>> Frame connect in /usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py at line 174 <br>>                         self = <type 'instance'> <spacewalk.server.rhnSQL.driver_postgresql.Database instance at 0x7f75ea5617e8> <br>>                            e = <class 'psycopg2.OperationalError'> server closed the connection unexpectedly <br>>         This probably means the server terminated abnormally <br>>         before or while processing the request. <br>> could not send startup packet: Broken pipe <br>>  <br>> Thanks and regards, <br>> --Tony <br> <br>Hi, <br> <br>try updating the python-psycopg2 package. A newer one was released with RHEL 6.4 (https://rhn.redhat.com/errata/RHBA-2013-0327.html). The old one had problems with ref-counting and leaked connections. For me the problem with high connection count was solved by the update. <br> <br>Regards <br>Patrick <br> <br>-- <br>Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg <br> <br>HRB 178831, Amtsgericht München <br>Geschäftsführer: Dr. Martin Fischer, Rolf Henrich <br> <br>_______________________________________________ <br>Spacewalk-list mailing list <br>Spacewalk-list@redhat.com <br>https://www.redhat.com/mailman/listinfo/spacewalk-list <br> <br>_______________________________________________ <br>Spacewalk-list mailing list <br>Spacewalk-list@redhat.com <br>https://www.redhat.com/mailman/listinfo/spacewalk-list <br>