Re: Unknown temp directories and library files

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Priancka Chatz <pc9926(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Unknown temp directories and library files
Date: 2024-10-11 13:09:34
Message-ID: 6b344a9d0ae654ca0bda0381a2f7f96df76ae3b2.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 2024-10-10 at 12:22 +0200, Priancka Chatz wrote:
> 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. I am attaching screenshots for reference.
> Can anyone shed some light or direct me to any links to troubleshoot this?

I'd say somebody broke into your database and is abusing it for his purposes.

If that proves true, rescue what you can of the data and start with a new
installation, preferably with better security.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Priancka Chatz 2024-10-11 13:47:10 Re: Unknown temp directories and library files
Previous Message Keith 2024-10-11 12:36:57 Re: Direct particular index use as like oracle