autovacuum cannot start when connection is full

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: autovacuum cannot start when connection is full
Date: 2006-08-25 05:22:03
Message-ID: 20060825140141.55DB.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

Autovacuum uses connections in superuser mode. If all connections are used,
autovacuum cannot start and the following message is written in server log.
| FATAL: sorry, too many clients already

Is this a feature?

The default value of 'superuser_reserved_connections' is 2, so maybe
few people have seen it. Autovacuum can always start in normal use.
(I found it when I tried to make multi-processed autovacuum.)

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-25 05:37:57 Re: autovacuum cannot start when connection is full
Previous Message Tom Lane 2006-08-25 04:10:36 Re: CREATE INDEX ... ONLINE