Search Postgresql Archives

Re: BDR, wal sender, high system cpu, mutex_lock_common

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 October 2017 at 00:21, milist ujang <ujang.milist@xxxxxxxxx> wrote:
> On Tue, Oct 3, 2017 at 8:49 PM, Craig Ringer <craig@xxxxxxxxxxxxxxx> wrote:
>>
>>
>> Can you get stacks please?
>>
>> Use -g
>
>
> # Events: 2K cpu-clock
> #
> # Overhead   Command      Shared Object                        Symbol
> # ........  ........  .................  ............................
> #
>     86.96%  postgres  [kernel.kallsyms]  [k] __mutex_lock_common.isra.5
>             |
>             --- __mutex_lock_common.isra.5
>                 read


Unfortunately it looks like you're using a postgres built with
-fomit-frame-pointers (the default) on x64, with an older perf not
built with libunwind. This produces useless stacks.

You may need to recompile with -fno-omit-frame-pointer


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux