Unknown temp directories and library files

Priancka Chatz <pc9926@gmail.com>

From: Priancka Chatz <pc9926@gmail.com>
To: pgsql-general@lists.postgresql.org
Date: 2024-10-10T18:36:01Z
Lists: pgsql-general

Attachments

Hi admins,

I am observing a new/unknown behavior on some of my instances. My postgres
Data directory path is /home/postgres/pgdata/pgroot/data. And I see a temp
directory present inside /home/postgres/pgdata which has 100s of directory
underneath it and inside each directory some library files related to
Psycopg2. Not sure what these files are and why it is getting created.
However, the only pattern I found is wherever Postgres is down this
behavior is seen.

I am attaching screenshots for reference.

Can anyone shed some light or direct me to any links to troubleshoot this?

Regards,
Priyanka