pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedshutdown Postgres (standby) host causing timeout on other servers in replication
3+ messages / 3 participants
[nested] [flat]
* shutdown Postgres (standby) host causing timeout on other servers in replication
@ 2022-11-03 20:55 Joanna Xu <Joanna.Xu@amdocs.com>
2022-11-03 22:49 ` Re: shutdown Postgres (standby) host causing timeout on other servers in replication Tom Lane <tgl@sss.pgh.pa.us>
2022-11-04 01:46 ` Re: shutdown Postgres (standby) host causing timeout on other servers in replication Ron <ronljohnsonjr@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Joanna Xu @ 2022-11-03 20:55 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>; +Cc: Sandeep Yadav (93247) <Sandeep.Yadav2@amdocs.com>; Sylwester Czerniewicz <Sylwester.Czerniewicz@amdocs.com>
Hi All,
We have PostgreSQL master-slave replication configuration with 4 servers.
After shutting down one standby server, we found below errors on all other 3 servers and the applications couldn't access the database due to the timeout.
DAO-00002 datasource connection failure:Time out waiting for a DefaultDataSource
ERROR SQLException code: 0 SQLState: null
What could be the cause of the errors? Would anyting be helpful to prevent it from happening?
Thank you for the help!
Cheers,
Joanna Xu
DB Specialist | Amdocs OPEN NETWORK
+1 613 595 5234 (office)
+1 613 899 6178 (mobile)
+1 877 943 3772 (24hr support line)
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service;
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: shutdown Postgres (standby) host causing timeout on other servers in replication
2022-11-03 20:55 shutdown Postgres (standby) host causing timeout on other servers in replication Joanna Xu <Joanna.Xu@amdocs.com>
@ 2022-11-03 22:49 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2022-11-03 22:49 UTC (permalink / raw)
To: Joanna Xu <Joanna.Xu@amdocs.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>; Sandeep Yadav (93247) <Sandeep.Yadav2@amdocs.com>; Sylwester Czerniewicz <Sylwester.Czerniewicz@amdocs.com>
Joanna Xu <Joanna.Xu@amdocs.com> writes:
> We have PostgreSQL master-slave replication configuration with 4 servers.
> After shutting down one standby server, we found below errors on all other 3 servers and the applications couldn't access the database due to the timeout.
> DAO-00002 datasource connection failure:Time out waiting for a DefaultDataSource
> ERROR SQLException code: 0 SQLState: null
There's no such error message, indeed nothing about "DefaultDataSource"
at all, in the community Postgres code. I guess it's coming from some
extension or maybe some client-side replication logic. I suggest
finding where it's coming from and then asking the appropriate authors.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: shutdown Postgres (standby) host causing timeout on other servers in replication
2022-11-03 20:55 shutdown Postgres (standby) host causing timeout on other servers in replication Joanna Xu <Joanna.Xu@amdocs.com>
@ 2022-11-04 01:46 ` Ron <ronljohnsonjr@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Ron @ 2022-11-04 01:46 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On 11/3/22 15:55, Joanna Xu wrote:
>
> Hi All,
>
> We have PostgreSQL master-slave replication configuration with 4 servers.
>
> After shutting down one standby server, we found below errors on all other
> 3 servers and the applications couldn’t access the database due to the
> timeout.
>
> DAO-00002 datasource connection failure:Time out waiting for a
> DefaultDataSource
>
> ERROR SQLException code: 0 SQLState: null
>
> What could be the cause of the errors? Would anyting be helpful to prevent
> it from happening?
>
Synchronous or asynchronous replication?
Go to the database server and look in /*it's*/ logs.
--
Angular momentum makes the world go 'round.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2022-11-04 01:46 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 20:55 shutdown Postgres (standby) host causing timeout on other servers in replication Joanna Xu <Joanna.Xu@amdocs.com>
2022-11-03 22:49 ` Tom Lane <tgl@sss.pgh.pa.us>
2022-11-04 01:46 ` Ron <ronljohnsonjr@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox