dbTalk Databases Forums  

[BUGS] connection handling in 7.4.1

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] connection handling in 7.4.1 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Scott Yeadon
 
Posts: n/a

Default [BUGS] connection handling in 7.4.1 - 01-26-2004 , 10:13 AM






Hi,

Postgres is part of the openSource repository DSpace which we are running h=
ere=20
at ANU. I upgraded from 7.4 to 7.4.1 on 17 January. Today (21/1) it appears=
=20
that either the number of connections has been reached (which is not possib=
le=20
on my local install) or the database itself has locked up. Postmaster was=
=20
restarted on 20/1 so the problemt has taken 2 days to surface. I have not h=
ad=20
a chance to look much deeper into the problem as I don't expect to get time=
=20
to investigate until next week.

The log output postgres returned is as follows:
FATAL: the database system is shutting down

The application log is as follows:

Note that postgres is the only thing that has changed, no other software ha=
s=20
been updated. This did not occur under 7.4

A secondary issue is that postmaster will not shut down properly under 7.4.=
1,=20
I always have to use the "fast" shutdown mode. Has anything changed in the=
=20
connection handling, as if connections are not being released this could=20
easily cause the first problem? Again, this appears peculiar to 7.4.1.

Thanks.

Scott.



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] connection handling in 7.4.1 - 01-26-2004 , 10:57 AM






Scott Yeadon <scott.yeadon (AT) anu (DOT) edu.au> writes:
Quote:
The log output postgres returned is as follows:
FATAL: the database system is shutting down
Sounds to me like something told the postmaster to shut down (sent it a
SIGTERM signal, in other words). If you are certain you did not do this
manually, look around to see if there's any resource-limiting code in
effect that might try to kill the postmaster after it's used X amount of
cpu time or disk space or whatever.

Quote:
A secondary issue is that postmaster will not shut down properly under 7.4.1,
I always have to use the "fast" shutdown mode.
You have a client that's not letting go of its connection.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.