From: Kevin GrittnerDate: 2015-11-23 23:30To: 657985552@qq.comCC: Merlin Moncure; Bill Moran; pgsql-generalSubject: Re: [GENERAL] ??: postgres cpu 100% need helpOn Mon, Nov 23, 2015 at 12:20 AM, 657985552@qq.com <657985552@qq.com> wrote: > [root@pg1 ~]# cat /sys/kernel/mm/transparent_hugepage/enabled> [always] madvise never> [root@pg1 ~]# cat /sys/kernel/mm/transparent_hugepage/defrag> [always] madvise never There's your problem. You need to set those to "never". You canget immediate relief by echoing 'never' to those pseudo-files, butyou need to configure your system to set them at OS boot time, too. -- Kevin GrittnerEDB: http://www.enterprisedb.comThe Enterprise PostgreSQL Company
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных