RDS Postgres archive/WAL Error Logs

0

We recently modified a Postgres RDS instance in US-EAST-1 from db.m5.4xl to db.m6i.4xl. Since the change we have noticed archive/WAL errors in the Postgres error log. This is running Postgres 10.21.

Examples: 2022-10-30 22:10:48 UTC::@:[359]:LOG: archive command failed with exit code 1 2022-10-30 22:10:48 UTC::@:[359]:DETAIL: The failed archive command was: /etc/rds/dbbin/pgscripts/rds_wal_archive pg_wal/0000000100000AE000000082

2022-10-30 22:28:04 UTC::@:[359]:LOG: archive command failed with exit code 1 2022-10-30 22:28:04 UTC::@:[359]:DETAIL: The failed archive command was: /etc/rds/dbbin/pgscripts/rds_wal_archive pg_wal/0000000100000AE000000086

(of course the filename changes each time) These happen as frequently as every few minutes or every few hours. Is this an error in the RDS instance or something we should address?

質問済み 2年前606ビュー
2回答
0
承認された回答

Through AWS support, I learned the "archive command failed with exit code 1" log entry is a symptom of failing to have enough IOPS to write the WAL to S3. As the filename is advancing each time, it is not an issue, per se, but does indicate back-pressure within the storage subsystem. If the filename were to stay the same, that means the WAL is not being written to S3 and would start to affect the last restorable time.

In short, the RDS instance needs more IOPs.

回答済み 1年前
0

Hi there,

These logs are generally not something to be concerned about. They tend to be seen when there are transient network issues reported with multi-AZ between primary and secondary instances of database instances. They should resolve if they haven't already :)

profile pictureAWS
サポートエンジニア
Brandon
回答済み 1年前
  • Thanks for the follow up. I had forgotten about this post and added an accepted answer based on my interaction with AWS support.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ