Thread: Memory Issues.

Memory Issues.

From
Sreejith P
Date:

Dear All,

 

Am getting this issue very frequently.

 

Can some one help.

 

 

2020-12-21 23:59:32.869 +04 [16097] rptDBA@Ast-ReportDB LOG:  could not receive data from client: Connection timed out

2020-12-22 01:12:53.939 +04 [11961] rptDBA@Ast-ReportDB LOG:  could not receive data from client: Connection reset by peer

2020-12-22 01:23:08.832 +04 [30360] LOG:  server process (PID 17872) was terminated by signal 9: Killed

2020-12-22 01:23:08.832 +04 [30360] DETAIL:  Failed process was running: autovacuum: ANALYZE public.lt_encounter

2020-12-22 01:23:08.926 +04 [30360] LOG:  terminating any other active server processes

2020-12-22 01:23:08.927 +04 [14266] rptDBA@Ast-ReportDB WARNING:  terminating connection because of crash of another server process

2020-12-22 01:23:08.927 +04 [14266] rptDBA@Ast-ReportDB DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.

2020-12-22 01:23:08.927 +04 [14266] rptDBA@Ast-ReportDB HINT:  In a moment you should be able to reconnect to the database and repeat your command.

2020-12-22 01:23:08.927 +04 [14254] rptDBA@Ast-ReportDB WARNING:  terminating connection because of crash of another server process

2020-12-22 01:23:08.927 +04 [14254] rptDBA@Ast-ReportDB DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.

2020-12-22 01:23:08.927 +04 [14254] rptDBA@Ast-ReportDB HINT:  In a moment you should be able to reconnect to the database and repeat your command.

2020-12-22 01:23:08.927 +04 [6235] rptDBA@Ast-ReportDB WARNING:  terminating connection because of crash of another server process

2020-12-22 01:23:08.927 +04 [6235] rptDBA@Ast-ReportDB DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.

2020-12-22 01:23:08.927 +04 [6235] rptDBA@Ast-ReportDB HINT:  In a moment you should be able to reconnect to the database and repeat your command.

2020-12-22 01:23:08.927 +04 [30367] WARNING:  terminating connection because of crash of another server process

2020-12-22 01:23:08.927 +04 [30367] DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.

2020-12-22 01:23:08.927 +04 [30367] HINT:  In a moment you should be able to reconnect to the database and repeat your command.

2020-12-22 01:23:08.927 +04 [16838] rptDBA@Ast-ReportDB WARNING:  terminating connection because of crash of another server process

2020-12-22 01:23:08.927 +04 [16838] rptDBA@Ast-ReportDB DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.

2020-12-22 01:23:08.927 +04 [16838] rptDBA@Ast-ReportDB HINT:  In a moment you should be able to reconnect to the database and repeat your command.

2020-12-22 01:23:09.027 +04 [17854] rptDBA@Ast-ReportDB WARNING:  terminating connection because of crash of another server process

2020-12-22 01:23:09.027 +04 [17854] rptDBA@Ast-ReportDB DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.

2020-12-22 01:23:09.027 +04 [17854] rptDBA@Ast-ReportDB HINT:  In a moment you should be able to reconnect to the database and repeat your command.

 

Thanks

Sreejith


 

Solutions for Care Anywhere


dWise HealthCare IT Solutions Pvt. Ltd. | www.lifetrenz.com
Disclaimer: The information and attachments contained in this email are intended for exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender immediately and destroy all copies of this message and any attachments. The views expressed in this email are, unless otherwise stated, those of the author and not those of dWise HealthCare IT Solutions or its management.

Re: Memory Issues.

From
hubert depesz lubaczewski
Date:
On Tue, Dec 22, 2020 at 07:32:04AM +0000, Sreejith P wrote:
> Dear All,
> 2020-12-21 23:59:32.869 +04 [16097] rptDBA@Ast-ReportDB LOG:  could not receive data from client: Connection timed
out
> 2020-12-22 01:12:53.939 +04 [11961] rptDBA@Ast-ReportDB LOG:  could not receive data from client: Connection reset by
peer
> 2020-12-22 01:23:08.832 +04 [30360] LOG:  server process (PID 17872) was terminated by signal 9: Killed

One of Pg processes (with PID 17872) was killed with signal 9 (sigkill).
It could be operator killing process, some automation, or so called
"oom killer".

Pg can't really do anything about being killed in this way, so you have
to track down what is issuing this kill signal, and disable it.

I'd suggest to try with system logs.

Best regards,

depesz




Re: Memory Issues.

From
Scott Ribe
Date:
> On Dec 22, 2020, at 7:09 AM, hubert depesz lubaczewski <depesz@depesz.com> wrote:
>
> Pg can't really do anything about being killed in this way, so you have
> to track down what is issuing this kill signal, and disable it.

For me, a recent case was an extension we were trying out...