Hi Phil,

<blatant bias>
I think you will find that 5.0 is VERY much faster than 4.5.1.

#1 - you are correct, the user hit the stop button.
#2 - server crash.
#3 - you are correct
#4 - This is an odd one
#5 - server is under load and a timeout occurred - turn on slow page logging
to see what is taking a long time
#6 - This is web server to CF communication error, possible due to a crash
#7 - server crash.

You should investigate the server crashes and try to isolate why template(s)
cause the problem.  A test machine and a load tool are very much your
friends here.

As for the memory consumption, you should again try to isolate templates
that show the problem and take a close look at how they might be using
memory.  Do you load large result sets in to memory?  Are you storing big
things in session or application variables?

1. The myODBC patch has nothing to do with stability, just with the Pro vs.
Enterprise functionality. 
2. WAY faster
3. Should be NO CFML changes required.  Try the eval and see.

As usual, we recommend installing an upgrade on a staging machine first,
running your application (under load!!!) to verify that the upgrade will go
smoothly, and use our technical support for questions and to resolve
problems.

For 5.0 we ship an EAPI Apache module prebuilt so you don't have to.

CFLOCK is a must - if you missed some place, that would explain your
crashes.

Client variables should never be stored in the registry for any real
application.  I would use Cookies - they scale the best and don't take up
server resources.

On Linux in particular, I believe CF 5.0 is 100% worth the upgrade.
</blatant bias>

--
Tom Jordahl
MacroMedia Server Development



-----Original Message-----
From: Phil Watson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 10:19 AM
To: CF-Linux
Subject: (Questions) Problems with CF Server and CF5 questions


OK, I couldn't find any FAQs regarding posting, and no guidelines have been
sent, so if this is a stupid set of questions then I apologise.

The System I have running is a Red Hat 6.2 using Apache 1.3.12, Cold Fusion
4.53 SP2 - latest patch and mysql 3.22.

The system runs fine but has a number of intermitant issues, looking through
the logs yields the following errors

1. Webserver.log - "(Apache) A network I/O error occurred while writing the
reply back to the web server."

NB : I think this means the user has hit the stop button

2. Server.log - "Caught a fatal signal (11) - Aborting"

3. "Unable to write reply -- client browser stopped waiting for request. "

NB : Possibly  same as 1

4. "Unix error number 4 occurred: Interrupted system call"

5. " Timed out while waiting for thread semaphore (10 requests are active)"

NB : Possibly due to mysql getting tied up and not returning request quick
enough ? I'm trying to track down possibly rogue queries in my code

6. "An Unexpected error occurred while attempting to write the reply to the
pipe"

7. "Caught a fatal signal (11) - Aborting"

NB : This causes the server to restart

The system uses dual 667 Pentium iii's and has 512 Gig of RAM - memory usage
starts low and then expands up until all is used, then it stays that way
(still serving requests). Ocasionally the server dies and gives the
following message to the users

"An error occurred while attempting to establish a connection to the
server.<P> The most likely cause of this problem is that the server is not
currently running. Verify that the server is running and restart it if
necessary.  <P>Unix error number 111 occurred: Connection refused"

These problems used to be much worse but were aleviated by
a) Recompiling the CF module with EAPI on
b) Sorting out my code to use <CFLOCK>
c) moving client storage into a foxpro database from the registry

Anyone got any hints or tips on how I can deal with these problems ?

I've also got the oportunity to upgrade the machine soon, based on the low
cost of RAM I've got another Gig for it and am considering upgrading the
667's to 866's (as fast as the MB will take - Slot 1) - what specs are the
rest of you using.

Cold Fusion 5

As part of the upgrade I'll update all the rest of the software
(apache,mysql etc) to the latest versions, upgrading CF at this point seems
a reasonable idea.

1. Is CF 5 stable(er) than 4.5  (4.5 was a bit of a mare to get running what
with the compiles etc and I notice that the mysql ODBC needs patching
already)
2. Is it faster ?
3. Are there any (major) code changes required ?

Thanks for reading and I hope someone'll be able to help me out

Phil

Phil Watson
Software Manager
Enigma Interactive
Tel. +44 (0)191 261 2991
Fax. +44 (0)191 261 2378
[EMAIL PROTECTED]
www.enigma-interactive.co.uk
7-15 Pink Lane
Newcastle upon Tyne
NE1 5DW

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to