>>> what's the work_mem?
>>
>> 64MB
>
> that's *way* too much with 24GB of ram and> 1k connections. please
> lower it to 32MB or even less.
Thanks for your reply. You are generally right. But in our case most of
the backends are only waiting for notify so not consuming any work_mem.
The server is not swapping. On the other hand some queries profit from
it. So we think it's fine as is.
Regards,
Kuba