Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB5LSut25757; Tue, 5 Dec 2000 16:29:11 -0500 (EST) (envelope-from depesz@gruby.cs.net.pl) Received: from gruby_int.cs.net.pl (cafe1.rem.pl [195.205.133.61]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id MAA58118; Tue, 5 Dec 2000 12:10:56 GMT (envelope-from depesz@gruby.cs.net.pl) Received: (from localhost user: 'depesz' uid#500 fake: STDIN (depesz@gruby.cs.net.pl)) by gruby.cs.net.pl id ; Tue, 5 Dec 2000 17:04:03 +0100 Date: Tue, 5 Dec 2000 17:04:03 +0100 From: hubert depesz lubaczewski To: pgsql-interfaces@postgresql.org, pgsql-general@postgresql.org Subject: strange memory-consumming psql ... Message-ID: <20001205170403.A11400@gruby> Reply-To: depesz@depesz.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i X-Archive-Number: 200012/138 X-Sequence-Number: 1348 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 ...