RE: postgres backend process hang on " D " state

From: "James Pang (chaolpan)" <chaolpan(at)cisco(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: RE: postgres backend process hang on " D " state
Date: 2022-05-31 02:08:28
Message-ID: PH0PR11MB5191C41907CC2C255AA89F6FD6DC9@PH0PR11MB5191.namprd11.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Seems all process blocked by a system service "fapolicy.d", when I stop the service, defunct process got disappeared and pending backends got released or moving on, and database started to accept new connection again.
This fapolicy.d in RHEL8.4 is enabled by system admin to support security compliance requirements.
systemctl stop fapolicyd , after that, everything go back to be normal soon.

Regards,

James

-----Original Message-----
From: James Pang (chaolpan)
Sent: Monday, May 30, 2022 11:00 AM
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>; pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: RE: postgres backend process hang on " D " state

Maybe any bugs from these extensions ? I can try that removing all extensions, but we need these extensions.

Thanks,

James

-----Original Message-----
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Monday, May 30, 2022 10:21 AM
To: James Pang (chaolpan) <chaolpan(at)cisco(dot)com>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>; pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: postgres backend process hang on " D " state

"James Pang (chaolpan)" <chaolpan(at)cisco(dot)com> writes:
> 1. extensions
> shared_preload_libraries = 'orafce,pgaudit,pg_cron,pg_stat_statements,set_user'

Can you still reproduce this if you remove all of those?

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Praneel Devisetty 2022-05-31 15:14:29 REINDEXdb performance degrading gradually PG13.4
Previous Message James Pang (chaolpan) 2022-05-30 02:59:31 RE: postgres backend process hang on " D " state