472,992 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,992 software developers and data experts.

ColdFusion MX + PostgreSQL - why slow?

Can anyone help with why our pages are slow to load during peak-use
hours? We run a database site getting 4 million hits a month which
becomes painfully slow during peak hours.

The slowness is not reflected in Coldfusion's debug output; for
example the total run-time of 5 heavy queries is typically 1000 ms,
but during peak times the page does not load for 4-10 seconds.
Processor activity at peak times is "busy, but not flat-out" (although
hard to tell, because hyperthreading is activated).

We are using ColdFusion MX 6.1 linked by jdbc to Postgresql 7.3 on
Redhat Linux 3 ES, with Apache 2 web-server. We have a twin Pentium 4
system with 4gig ram housed in a data-centre, so it's probably not
down to hardware or connectivity.
Any tips on...

* Vacuuming (we are doing "vacuum analyze" daily).

* Cold Fusion configuration ( jdbc? Max. number of cached queries?
).

* "postgresql.conf" has been left at its default values.

* Apache configuration (apart from adding mod_jrun) has been left
alone.

Many thanks!
Jul 19 '05 #1
1 2397
In the last exciting episode, jo**@lh-int.demon.co.uk (John H) wrote:
Any tips on...

* Vacuuming (we are doing "vacuum analyze" daily).
Possibly needs to be more often, if there are a lot of updates during
the busy times.
* "postgresql.conf" has been left at its default values.


That would be a likely source of problems. The defaults are intended
to allow it to compile and run the regression tests _anywhere_. They
use only minimal amounts of memory for buffer cacheing, and assume
that you'll only have a small amount of filesystem cache, too.

Bump up the shared buffers, as well as the amount of expected
cacheing, and you'll likely see better results.
--
output = reverse("gro.mca" "@" "enworbbc")
http://www3.sympatico.ca/cbbrowne/sgml.html
THERE'S TOO MUCH BLOOD IN MY CAFFEINE SYSTEM!!
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: Joshua D. Drake | last post by:
Hello, I think the below just about says it all: http://www.commandprompt.com/images/mammoth_versus_dolphin_500.jpg Sincerely, Joshua Drake
20
by: John Wells | last post by:
Yes, I know you've seen the above subject before, so please be gentle with the flamethrowers. I'm preparing to enter a discussion with management at my company regarding going forward as either...
6
by: Conrad | last post by:
Greetings, In short: Using a new FreeBSD (4.9) PostgreSQL (7.3) server, can I rescue PostgreSQL data from a hard drive pulled from an older (motherboard just died) FreeBSD (4.??) PostgreSQL...
12
by: jao | last post by:
I have an application with a table that tracks objects with a "size" attribute. What we want to do is to periodically report on the number of these objects and the sum of the object sizes. The...
1
by: DEHAINSALA Hondjack | last post by:
Hi ! sorry for my english ! I am french :-) I want to test postgreSQL v8 native Windows! Where i can get a version which allows more than 64 characters (NAMEDATALEN ~=128) to the name of tables...
0
acoder
by: acoder | last post by:
This page will link to a number of tutorials. Coldfusion Language Coldfusion Variables Using Coldfusion Variables Coldfusion Image Gallery How to upload a file in Coldfusion Watch this...
7
acoder
by: acoder | last post by:
This page will link to a number of tutorials. Coldfusion Language Coldfusion Variables Using Coldfusion Variables Coldfusion Image Gallery How to upload a file in Coldfusion How to send...
1
by: jesmi | last post by:
on connect to postgresql from datasource administrator following error are displayed: Connection verification failed for data source: record java.sql.SQLException: FATAL: user "system" does not...
2
by: quest007 | last post by:
Hi! I have configured IIS for coldfusion and when I access my coldfusion site through localhost, the pages are served as required. But if i ty to access it from a remote machine by specifying the IP...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.