pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.pl>
To: pgsql-interfaces@postgresql.org
To: pgsql-general@postgresql.org
Subject: strange memory-consumming psql ...
Date: Tue, 5 Dec 2000 17:04:03 +0100
Message-ID: <20001205170403.A11400@gruby> (raw)

just a moment ago friend sent me strange log.
it is partial output of ps auxww on linux system:
---
root      1308  0.0  0.1  4744  248 ?        S    Nov29 0:01 /usr/lib/postfix/master
postgres  8095  0.0  0.6  7816  784 pts/21   S    Nov30 2:07 /usr/bin/postmaster -i -D /var/lib/pgsql -o -Q
postgres 29739  0.2  2.4  7392 3152 pts/21   S    Dec03 5:14 /usr/bin/postgres localhost agaran test001 idle
agaran   25448  0.0  0.7  1984  992 pts/14   S    16:51 0:00 grep -i post
agaran   27789  0.0 58.8 77392 74416 pts/13  S    Dec03 1:00 psql
---

as you can see the psql process is >77 megabytes !
actually this process was nto doing anything - jsut waiting for another query.
it looks like it was caching some query results or something like that. 
i don't know what was the queries run on the psql, but ... it just looks werid.

any ideas on what could have been wrong?

depesz

-- 
hubert depesz lubaczewski
------------------------------------------------------------------------
     najwspanialszą rzeczą jaką dało nam nowoczesne społeczeństwo,
      jest niesamowita wręcz łatwość unikania kontaktów z nim ...



Message-ID: <20001205170403.A11400@gruby>
Permalink:  ../20001205170403.A11400@gruby/
Also on:    postgresql.org/message-id/20001205170403.A11400@gruby

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: depesz@depesz.pl, pgsql-general@postgresql.org
  Subject: Re: strange memory-consumming psql ...
  In-Reply-To: <20001205170403.A11400@gruby>

* 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