X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 33DD653FC5 for ; Tue, 10 May 2005 16:39:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47809-10 for ; Tue, 10 May 2005 19:39:05 +0000 (GMT) Received: from mail.dhs-club.com (mail.dhs-club.com [12.32.98.247]) by svr1.postgresql.org (Postfix) with ESMTP id D635F5436D for ; Tue, 10 May 2005 16:39:01 -0300 (ADT) Received: from [192.168.0.20] ([192.168.0.20]) by mail.dhs-club.com (8.12.11/8.12.11) with ESMTP id j4AJcxgE024682; Tue, 10 May 2005 15:38:59 -0400 Message-ID: <42810DFB.2020700@clubshop.com> Date: Tue, 10 May 2005 15:39:39 -0400 From: DHS Club Webmaster Reply-To: webmaster@dhs-club.com User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Fradkin Cc: pgsql-admin@postgresql.org Subject: Re: Many idle processes? References: <002401c55590$aa24d7c0$797ba8c0@jfradkin> In-Reply-To: <002401c55590$aa24d7c0$797ba8c0@jfradkin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.07 tagged_above=0 required=5 tests=DNS_FROM_AHBL_RHSBL X-Spam-Level: X-Archive-Number: 200505/223 X-Sequence-Number: 17652 Joel Fradkin wrote: > I just went live yesterday and I can see many idle processes on my > redhat AS4 running postgres 8.0.2 > > Is this something I should be worried about? > > Being a newb to Linux and somewhat to postgres I need to add the vacuum > and backup scenario. > > Josh from Commandpromt gave me some syntax, so I am wondering about how > often I should vacuum ? > > An example of cron setting would be perfect. > > I may run the backup from a different server. > > > > Also I am experiencing an issue with French text not appearing correctly > on the web site. > > We did not have this issue in testing and even now when we hook up to a > test server locally (running windows) the French text appears ok in a > test of our app running on a desk top. > > > > In production I have windows 2000 for my IIS server and the Linux box > for Data. Any ideas how to fix up my French the database itself is > SQL_ASCHII. > > > > Joel Fradkin > > > > Wazagua, Inc. > 2520 Trailmate Dr > Sarasota, Florida 34243 > Tel. 941-753-7111 ext 305 > > > > jfradkin@wazagua.com > www.wazagua.com > Powered by Wazagua > Providing you with the latest Web-based technology & advanced tools. > © 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc > This email message is for the use of the intended recipient(s) and may > contain confidential and privileged information. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not > the intended recipient, please contact the sender by reply email and > delete and destroy all copies of the original message, including > attachments. > Joel, the 'idle' processes are probably a result of your web server 'caching' them for reuse. This should not present a problem. Although, we use linux apache for our web server, we have it configured to 'cache' connections for quick reuse. As long as your max connections setting in postgres is high enough, you won't experience any trouble. As far as your french, I'm guessing that either the data has been stored in the DB as unicode and is being rendered as iso-8859 or vice-versa. The test server is probably sending a different http header than the live server which would account for the difference in what the browser is representing. If you are seeing odd character doubling where there should be an accented character, then the data is stored as utf-8, but the http header says it is something other than utf-8. If you are seeing a '?' where there should be an accented character, then it is probably stored as plain ascii but the http header says it is supposed to be utf-8. -- Bill MacArthur Webmaster The DHS Club, Inc. The Best Is Yet To Come!