Re: R: CachedPlan logs until full disk - Mailing list pgsql-general

From Tom Lane
Subject Re: R: CachedPlan logs until full disk
Date
Msg-id 28330.1480691405@sss.pgh.pa.us
Whole thread Raw
In response to R: CachedPlan logs until full disk  (Job <Job@colliniconsulting.it>)
List pgsql-general
Job <Job@colliniconsulting.it> writes:
> Tonight this problem happened again:

> CachedPlan: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
> CachedPlanSource: 1024 total in 1 blocks; 336 free (0 chunks); 688 used
> SPI Plan: 1024 total in 1 blocks; 912 free (0 chunks); 112 used
> CachedPlan: 1024 total in 1 blocks; 200 free (0 chunks); 824 used
> CachedPlanSource: 1024 total in 1 blocks; 96 free (0 chunks); 928 used
> SPI Plan: 1024 total in 1 blocks; 928 free (0 chunks); 96 used
> CachedPlan: 1024 total in 1 blocks; 640 free (0 chunks); 384 used

> Just one question: do you think is it possible to disable that logging sentence?

The logging printout is not your problem; or at least, it's entirely
unhelpful to regard it that way.  Your problem is the out-of-memory
situation it's reporting on.  As I said before, you need to investigate
what behavior of your application is causing that and take steps to
mitigate it.

            regards, tom lane


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Using UPDATE ... RETURNING in a custom SQL function, which RETURNS integer
Next
From: Tom Lane
Date:
Subject: Re: ARRAY_LENGTH() function behavior with empty array