[ADMIN] Connection reset by peer

2010-05-12 Thread Silvio Brandani
We have many postgres installation 8.3.x on different linux servers we get each days a lot of messages like the following: postgresql-2010-05-12_053937.log:2010-05-12 06:30:57 CEST [26617]: [288-1] LOG: could not receive data from client: Connection reset by peer

[ADMIN] Autovacuum and invalid page header

2010-05-12 Thread Ireneusz Pluta
I had a problem with neverending forced autovacuum process, running as preventing xid wraparound. As I finally (?) found, following some advices given here: - http://forums.enterprisedb.com/posts/list/2028.page, that autovacuum in question was not just one autovacuum, but many different

Re: [ADMIN] Connection reset by peer

2010-05-12 Thread Kevin Grittner
Silvio Brandani wrote: postgresql-2010-05-12_053937.log:2010-05-12 06:30:57 CEST [26617]: [288-1] LOG: could not receive data from client: Connection reset by peer postgresql-2010-05-12_053937.log:2010-05-12 06:30:57 CEST [26617]: [289-1] LOG: unexpected EOF on client connection How

Re: [ADMIN] Connection reset by peer

2010-05-12 Thread Silvio Brandani
Kevin Grittner ha scritto: Silvio Brandani wrote: postgresql-2010-05-12_053937.log:2010-05-12 06:30:57 CEST [26617]: [288-1] LOG: could not receive data from client: Connection reset by peer postgresql-2010-05-12_053937.log:2010-05-12 06:30:57 CEST [26617]: [289-1] LOG: unexpected EOF on

[ADMIN] Shutdown fails with both 'fast' and 'immediate'

2010-05-12 Thread David Schnur
I develop an app that uses a back-end Postgres database, currently 8.3.9. The database is started when the app starts up, and stopped when it shuts down. Shutdown uses pg_ctl with -m fast, and waits two minutes for the process to complete. If it doesn't, it tries -m immediate, and waits two

Re: [ADMIN] Shutdown fails with both 'fast' and 'immediate'

2010-05-12 Thread Tom Lane
David Schnur dnsch...@gmail.com writes: I develop an app that uses a back-end Postgres database, currently 8.3.9. The database is started when the app starts up, and stopped when it shuts down. Shutdown uses pg_ctl with -m fast, and waits two minutes for the process to complete. If it

Re: [ADMIN] Shutdown fails with both 'fast' and 'immediate'

2010-05-12 Thread Kenneth Marshall
On Wed, May 12, 2010 at 10:22:14AM -0400, David Schnur wrote: I develop an app that uses a back-end Postgres database, currently 8.3.9. The database is started when the app starts up, and stopped when it shuts down. Shutdown uses pg_ctl with -m fast, and waits two minutes for the process to

Re: [ADMIN] [pgsql-admin] Daily digest v1.3217 (11 messages)

2010-05-12 Thread Christophe Dore
Hi A hint : do you have any long running SQL requests, while there is some network-control devices like firewalls between the client and the server ? Using Oracle, we faced the same situation where a firewall in the middle broke the connection after a period of network inactivity between the

Re: [ADMIN] Shutdown fails with both 'fast' and 'immediate'

2010-05-12 Thread Scott Marlowe
On Wed, May 12, 2010 at 8:45 AM, Kenneth Marshall k...@rice.edu wrote: On Wed, May 12, 2010 at 10:22:14AM -0400, David Schnur wrote: I develop an app that uses a back-end Postgres database, currently 8.3.9.  The database is started when the app starts up, and stopped when it shuts down.  

Re: [ADMIN] Shutdown fails with both 'fast' and 'immediate'

2010-05-12 Thread David Schnur
@Julio Leyva: The table does get vacuumed at the end of the maintenance tasks; in this case it's not making it that far, of course. @Scott Marlowe: Truncate isn't an option here, unfortunately. I'm less concerned with the particular query than with the general question of when a shutdown could

Re: [ADMIN] Shutdown fails with both 'fast' and 'immediate'

2010-05-12 Thread Tom Lane
David Schnur dnsch...@gmail.com writes: I'm less concerned with the particular query than with the general question of when a shutdown could hang like this. I expected this to be possible when using -m fast, but my understanding was that -m immediate really forced termination. Yeah, it's

Re: [ADMIN] Shutdown fails with both 'fast' and 'immediate'

2010-05-12 Thread Donald Fraser
- Original Message - Subject: Re: [ADMIN] Shutdown fails with both 'fast' and 'immediate' David Schnur dnsch...@gmail.com writes: I'm less concerned with the particular query than with the general question of when a shutdown could hang like this. I expected this to be possible