Re: Postgres dying after many failed logins - Mailing list pgsql-admin

From Tom Lane
Subject Re: Postgres dying after many failed logins
Date
Msg-id 890133.1636383644@sss.pgh.pa.us
Whole thread Raw
In response to Postgres dying after many failed logins  (Lynn Carol Johnson <lcj34@cornell.edu>)
Responses Re: Postgres dying after many failed logins  (Vijaykumar Jain <vijaykumarjain.github@gmail.com>)
List pgsql-admin
Lynn Carol Johnson <lcj34@cornell.edu> writes:
> My question:  Is this expected behavior, ie that the server will
> shutdown after hours of failed attempts?

There is nothing built-in that would cause that, and frankly I doubt
that there is any direct connection.  It could be that the AWS environment
imposes some resource limit (i.e., total number of child processes
spawned) that the postmaster is eventually hitting because of the
hack attempts.  However, if that's true, I wouldn't really expect it to
manifest as anything as polite as a SIGTERM signal.  So I think there
is something else going on.  You need to look for what in your environment
could send the postmaster a SIGTERM.  Can you correlate the shutdown with
anything?  One thing I'm wondering is if it matches the time of shutdown
of whatever you're launching the postmaster with.

            regards, tom lane



pgsql-admin by date:

Previous
From: John Scalia
Date:
Subject: Re: pg_dump weirdness
Next
From: Vijaykumar Jain
Date:
Subject: Re: Postgres dying after many failed logins