Re: ERROR: too many dynamic shared memory segments - Mailing list pgsql-general

From Nicola Contu
Subject Re: ERROR: too many dynamic shared memory segments
Date
Msg-id CAMTZZh0g5THomRcS-nU5tM9DZ=ffvKzY9KfXJet4V1WHedFBKQ@mail.gmail.com
Whole thread Raw
In response to Re: ERROR: too many dynamic shared memory segments  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: ERROR: too many dynamic shared memory segments
List pgsql-general
If the error persist I will try to revert the work_mem.
Thanks a lot

Il giorno mer 11 set 2019 alle ore 10:10 Pavel Stehule <pavel.stehule@gmail.com> ha scritto:
Hi

st 11. 9. 2019 v 9:48 odesílatel Nicola Contu <nicola.contu@gmail.com> napsal:
Hello,
We are running postgres 11.5 and in the last two weeks we did :

- upgrade of postgres to 11.5 from 11.4
- increased shared_buffer to 1/3 of the memory
- increased effective_cache_size = 160GB from 120
- increased checkpoint_completion_target = 0.9 from 0.7
- increased checkpoint_timeout = 1h
- increased work_mem = 2GB (this can be set up to 4GB) from 600MB

Since that, in the last two weeks we saw an increment of this error : 

ERROR: too many dynamic shared memory segments 

Is there any relation between these parameters or the pgsql 11.5 version?

I expect it can be related to increasing work_mem - maybe parallel hash join was used

Regards

Pavel

Any help can be appreciated.

Thank you,
Nicola

pgsql-general by date:

Previous
From: Nicola Contu
Date:
Subject: Re: ERROR: too many dynamic shared memory segments
Next
From: Luca Ferrari
Date:
Subject: Re: Recover data from aborted transactions