pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Madovsky <infos@madovsky.org>
To: pgsql-odbc@lists.postgresql.org
Subject: high cpu on idle state
Date: Wed, 16 May 2018 09:14:56 -0700
Message-ID: <f11e0400-d893-c4d1-53a0-3f8b7eed81b3@madovsky.org> (raw)

Sorry to bother if my question is irrelevant
but I really would like to understand why
idle persistent connection would take more than 25% of a cpu

top -c

63844 postgres  20   0 4677440 289168 287320 S  33.9  0.9   0:03.43 
postgres: freeswitch freeswitch 10.0.0.1(48634) idle
62774 postgres  20   0 4677480 286488 284636 S  29.9  0.9   1:22.17 
postgres: freeswitch freeswitch 10.0.0.228(29664) idle
  4901 postgres  20   0 4677480 280812 278968 S  27.6  0.9   2:43.71 
postgres: freeswitch freeswitch 10.0.0.5(39044) idle
  4847 postgres  20   0 4677480 279468 277624 S  24.9  0.8   2:35.25 
postgres: freeswitch freeswitch 10.0.0.230(31786) idle

these 4 connections are made through a VPN with tinc.
is this issue a VPN configuration, postgresql or odbc?

Thanks for your help.

David





Message-ID: <f11e0400-d893-c4d1-53a0-3f8b7eed81b3@madovsky.org>
Permalink:  ../f11e0400-d893-c4d1-53a0-3f8b7eed81b3@madovsky.org/
Also on:    postgresql.org/message-id/f11e0400-d893-c4d1-53a0-3f8b7eed81b3@madovsky.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: infos@madovsky.org
  Subject: Re: high cpu on idle state
  In-Reply-To: <f11e0400-d893-c4d1-53a0-3f8b7eed81b3@madovsky.org>
  References: <f11e0400-d893-c4d1-53a0-3f8b7eed81b3@madovsky.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox