X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id DBE2511F7305 for ; Fri, 21 Apr 2006 12:55:38 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.693 X-Spam-Level: X-Spam-Status: No, score=0.693 required=5 tests=[BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, MSGID_FROM_MTA_HEADER=0, SPF_SOFTFAIL=1.384] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id QtLR026ReGrq for ; Fri, 21 Apr 2006 12:55:35 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id AD2D111F6D8D for ; Fri, 21 Apr 2006 12:55:34 -0300 (ADT) Received: from hotmail.com (bay19-f6.bay19.hotmail.com [64.4.53.56]) by svr4.postgresql.org (Postfix) with ESMTP id 2F9095AF8BC for ; Fri, 21 Apr 2006 15:55:34 +0000 (GMT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 21 Apr 2006 08:55:31 -0700 Message-ID: Received: from 200.85.230.37 by by19fd.bay19.hotmail.msn.com with HTTP; Fri, 21 Apr 2006 15:55:29 GMT X-Originating-IP: [200.85.230.37] X-Originating-Email: [arcila_alvaro@hotmail.com] X-Sender: arcila_alvaro@hotmail.com In-Reply-To: <007f01c6654b$15077280$8300a8c0@tridecap.com> From: "ALVARO ARCILA" To: pgsql-performance@postgresql.org Subject: Inactive memory Grows unlimited Date: Fri, 21 Apr 2006 15:55:29 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 21 Apr 2006 15:55:31.0971 (UTC) FILETIME=[04DE4530:01C6655C] X-Archive-Number: 200604/505 X-Sequence-Number: 18589 Hi, I hope you can help me...there's something wrong going on my db server (OS. GNU/linux White box)... here's the problem... The amount of Inactive memory Grows unlimited .... this happens only when Postgresql (8.1.1) is running... after a few days it "eats" all the RAM memory ... so I've have to restart the server to free RAM.... Here's the parametres actually active in then postgresql.conf file max_connections = 100 authentication_timeout = 60 password_encryption = on shared_buffers = 1000 work_mem = 131076 maintenance_work_mem = 262152 redirect_stderr = on log_directory = 'pg_log' log_truncate_on_rotation = on log_rotation_age = 1440 log_rotation_size = 0 lc_messages = 'es_ES.UTF-8' lc_monetary = 'es_ES.UTF-8' lc_numeric = 'es_ES.UTF-8' lc_time = 'es_ES.UTF-8' Below you can find the content of meminfo file with 18 users connected (average during working days) and the server has benn running during 2 days 2:19 #cat /proc/meminfo MemTotal: 2074844 kB MemFree: 1371660 kB Buffers: 61748 kB Cached: 555492 kB SwapCached: 0 kB Active: 348604 kB Inactive: 305876 kB HighTotal: 1179440 kB HighFree: 579904 kB LowTotal: 895404 kB LowFree: 791756 kB SwapTotal: 2048248 kB SwapFree: 2048248 kB Dirty: 260 kB Writeback: 0 kB Mapped: 54824 kB Slab: 35756 kB Committed_AS: 117624 kB PageTables: 3404 kB VmallocTotal: 106488 kB VmallocUsed: 3356 kB VmallocChunk: 102920 kB HugePages_Total: 0 HugePages_Free: 0 Hugepagesize: 2048 kB thanks in advance for your help, Alvaro Arcila pd: sorry for my english It's not very good, I hope I'm clear....