Ask a Question related to Coldfusion Server Administration, Design and Development.
-
EvolvedDSM #1
CF Server hangs every few days
Every couple of days, ranging from 1 day to 2 weeks, we get an application that
hangs when trying to access a page that uses a database query. I have to
manually restart the CF application server service to correct the problem. I
am unsure what is causing this.
My Server.log shows multiple entries of the same error message, but reported
in 30 second intervals (which I believe is due to the option in CF
administrator "Timeout Requests after ( seconds ) [30]" )
Here is one line of the Server.log, and this line repeats over and over in
close to 30 second intervals:
"Warning","jrpp-206","02/23/07","13:51:36",,"Thread: jrpp-206, processing
template: C:\Inetpub\wwwroot\CFMX7\tagout\login.cfm, completed in 30 seconds,
exceeding the 30 second warning limit"
this error message continued through "completed in 1009 seconds" before I
restarted the CF service.
When I restart the server, is all back to normal. Sometimes it can go only a
few days before hanging, sometimes up to 2 weeks. But rarely longer than 2
weeks without a hang.
I have read the "ColdFusion MX Hanging Condition Investigation" thread, but I
didn't get much help from it. I couldn't tell if my problem was either of the
cases described. So I've come here hoping that someone has the answer! :)
EvolvedDSM Guest
-
#39560 [NEW]: Inconsistent behaviour of strtotime when days > days in month
From: php at colin dot guthr dot ie Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Date/time related Bug... -
My server runs great for 4 to 7 days and then CRASHES
My server runs like a champ for between 4 to 7 days and then CRASH! Here's my Server Config. Dell Server Dual CPU, 2GB RAM, IIS6 Coldfusion... -
My server runs great for 4 to 7 days and thenCRASHES
OK, I loaded the latest hot fixes and JRUN update did everything else suggested here on the forum. And my computer just stopped again. It made it... -
CF hangs when database server hangs or crashes
This may be as simple as a configuration change, but hoping someone understands this behavior and can offer suggestions (or at least additional... -
HPL hangs server
Hi Bill, Allocating lot of shared memory segment is normal. It depends on the load that you are trying to do. Few questions:- 1. Are u using... -
ke4pym #2
Re: CF Server hangs every few days
I would begin by doing a code/db design review to figure out if your code/db is
optimized as well as scaling to the load you require.
Next, I would do one of two things -
A) Up the server's timeout value in the administrator
-or-
B) Use the timeout attribute where necessary to allow your code to run a
little longer.
Next, limit the number of connections ColdFusion can make to your database to
around 6 per CPU. If the database is busy, leave maintain connection on.
Otherwise, turn it off.
Make sure your ODBC drivers are up to date.
How much memory is the JRun process using when you have to kill it?
What do the other logs say?
ke4pym Guest
-
EvolvedDSM #3
Re: CF Server hangs every few days
Let me get your opinion on my situation then.
The application is a board that shows who is currently out of the building at
my agency. This was created as a way for people, especially the receptionists,
to see who is not here. The board is a table with every employee's name who is
currently not available in our agency. It refreshes every 25 seconds to update
employee status.
We have over 100 employees who use this board, however not all of them are
making changes to the database at the same time. If I reduce the number of
connections to 6, will that limit the number of people who can view the board,
or will that limit the number of people who are making changes in the database
at the same time? All employees need access to view this application, but only
a small % of them are actually modifying the table.
EvolvedDSM Guest
-
LL@Work #4
Re: CF Server hangs every few days
If you are running on MS Access, be sure to disable "Maintain Connections".
You will also likely benefit by using the Jadozoom JDBC Driver instead of the
native ODBC drivers.
See [url]http://www.adobe.com/go/2d2a7a19[/url] and
[url]http://www.adobe.com/go/tn_17034[/url]
If you are using an enterprise database with JDBC support, you may benefit by
updating to the 3.5 JDBC drivers:
See
[url]http://www.adobe.com/go/42dcb10a[/url]
You also may benefit from the "Database Design" section of this article:
[url]http://www.adobe.com/go/tn_17054[/url]
LL@Work Guest
-
ke4pym #5
Re: CF Server hangs every few days
No, reducing the number of connections has nothing to do with the number of
people who can interact with your application. The setting tells CF how many
connections to open at any given time. If all of the connections are busy, new
connections will be queued until the next connection is available. If
everything is working as it should, this queue should only last in the
milliseconds.
One other thing, check the "Maximum number of cached queries" value in the
administrator. By default it is configured for 100. Entirely too many. Drop
it to 50.
ke4pym Guest
-
EvolvedDSM #6
Re: CF Server hangs every few days
LL@Work -- thanks for the links. One of them recommended my max number of
simultaneous requests be between 5-10 if the server has plenty of ram, so I
dropped this to 10 from 105 originally. I don't know what effect this might
have.
Ke4pym -- I've changed the max number of cached queries to 50 as suggested.
Since getting help from this thread, no hang ups but its still early in the
week.
EvolvedDSM Guest
-
hipjimmer #7
Re: CF Server hangs every few days
Was the driver upgraded in your fix? We currently are experiencing the same problem.
hipjimmer Guest
-
EvolvedDSM #8
Re: CF Server hangs every few days
We didn't upgrade any drivers, or any patches. Our CF is the most current
version and has been for months. I would like to note that it has been about 3
weeks since I posted my problem, and we have not had to restart the CF service
yet! Thanks for all the info provided in this thread. Hopefully it helps
someone else!
EvolvedDSM Guest
-
terribleted #9
Re: CF Server hangs every few days
Thanks for the info folksk! I benefited from the input on my end as well.
:wink;
terribleted Guest
-
hipjimmer #10
Re: CF Server hangs every few days
We're running a fully patched (we think) version of 6.1 and all of our dbs are
MS Access. We had no problems at all on CF 5 and this migration so far has
been horrible for us. I'm hoping that the Jadozoom driver is robust enough.
hipjimmer Guest
-
hipjimmer #11
Re: CF Server hangs every few days
Evolved: BTW, are you running MS access dbs?
hipjimmer Guest
-
EvolvedDSM #12
Re: CF Server hangs every few days
Yes, MS Access. We typically do SQL db's, but I find working with Access to be much easier for editing and general changes when it's a small volume db.
EvolvedDSM Guest



Reply With Quote

