pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: DHS Club Webmaster <webmaster@clubshop.com>
To: Joel Fradkin <jfradkin@wazagua.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Many idle processes?
Date: Tue, 10 May 2005 15:39:39 -0400
Message-ID: <42810DFB.2020700@clubshop.com> (raw )
In-Reply-To: <002401c55590$aa24d7c0$797ba8c0@jfradkin >
References: <002401c55590$aa24d7c0$797ba8c0@jfradkin >
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 <mailto:jfradkin@wazagua.com>
> www.wazagua.com <http://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!
view thread (2+ messages)
Message-ID: <42810DFB.2020700@clubshop.com>
Permalink: ../42810DFB.2020700@clubshop.com/
Also on: postgresql.org/message-id/42810DFB.2020700@clubshop.com
copy link · copy postgr.es
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-admin@postgresql.org
Cc: webmaster@clubshop.com, jfradkin@wazagua.com
Subject: Re: Many idle processes?
In-Reply-To: <42810DFB.2020700@clubshop.com>
References: <002401c55590$aa24d7c0$797ba8c0@jfradkin> <42810DFB.2020700@clubshop.com>
* 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