Ask a Question related to Macromedia ColdFusion, Design and Development.
-
JonnyWeb.com #1
Server Locks up... Tracking down cause.
One of our servers It is running CF 4.5, and has about 50 websites. All of
which are very old and very poorly written. I know how to fix the problems that
cause the crashes. I can even duplicate the case in which I know are causing
the errors. I just can't put my finger on which pages the bad code is on.
When I recreate the problems and test them, the cf log files never log the
error location. IIS does not register it as a loaded page so there is no record
their either.
We monitor our servers very well and so we know WHEN the errors are occurring,
we just need to find WHERE.
How can we find the pages with the bad code?
JonnyWeb.com Guest
-
InDesign tracking vs. Quark tracking?
Hi Anne Marie, I would describe letter, word, and glyph scaling parameters as things the paragraph composer can fuzzy-logic work with. Fuzzy logic... -
Deleting FLV's from server (FCS locks them up)
Hello, I have a script setup that records an FLV to my FCS application's directory. But in the event the recorded FLV is not used, i want to... -
Server Locks Up each Night
My Cold Fusion 7 server is dead every moning. I can log onto the box (Win2k3) with no problem and can stop and start services all I want, but the... -
Server Eventually Locks up - Jrun Bug
Ugh it never fails. A site I developed went live today. It is crashing an burning. The coldfusion 6.1 mx server is hogging memory and not... -
ASP Locks up - Windows 2003 Standard Server
"Bhavana" <blekkala@unlnotes.unl.edu> wrote in message news:0bb501c36687$9dfa98d0$a001280a@phx.gbl... Perhaps a memory leak in one or more of ... -
moneybagsxp #2
Re: Server Locks up... Tracking down cause.
Is the "bad code" tied to a database in anyway? Or it is specific CF code that
is bogging down your server? It is unfortunate that you haven't been able to
track down the source. I trust it would be too time-consuming to do a per-page
analysis to attempt manually seeking out the error?
moneybagsxp Guest
-
JonnyWeb.com #3
Re: Server Locks up... Tracking down cause.
One of the crash senerios is when a text string is inserted into a integer
field.
The other is when application variables are not locked when being writen to
(for this one I have done some page by page searching and correcting but it is
a little bit unrealistic to do it to anything but the application.cfm files).
JonnyWeb.com Guest
-
PaulH #4
Re: Server Locks up... Tracking down cause.
well your 1st case shouldn't crash the server, just that page/app. your 2nd
case is more serious for that version of cf. i don't recall the details of
cf4.5 but is there an admin setting to single thread? that might buy you some
time while you figure out what to do next.
if possible, i'd suggest upgrading cf (then unlocked writes would be a race
condition issue). if not, then no choice but search & replace (wrapping those
reads & writes in cflock).
PaulH Guest
-
JonnyWeb.com #5
Re: Server Locks up... Tracking down cause.
The code below will crash my server running CF 4.5. The first thread lock
makes the processor jump to 50% the second jumps to 100% and then crash it
goes. I am surprised how many people don't know that.
The fields are both date fields.
<cfset form.BeginningDate="a">
<cfset form.EndingDate="a">
<CFINSERT datasource="Shared_Events_calendar"
TABLENAME="Events"
formfields="BeginningDate,EndingDate">
JonnyWeb.com Guest
-
JonnyWeb.com #6
Re: Server Locks up... Tracking down cause.
About a week ago I made that change in the cf admin. It helped some and my
tests showed it much more diffacult to crash the server. In fact I couldn't do
it using session variables. I think that it could be done with application
variables but didn't have the time to test that.
Thanks for the suggestion PaulH.
JonnyWeb.com Guest
-
PaulH #7
Re: Server Locks up... Tracking down cause.
that code crashes your server? i admit its been a long long while but i don't
recall something that trivial dropping the server--though we've never used
cfinsert, etc.
i vaguely recall there being cf4.5.1 and a service pack or two for that. did
you get those installed/
PaulH Guest
-
JonnyWeb.com #8
Re: Server Locks up... Tracking down cause.
Yes as noted below.
Server Information
Server Product: ColdFusion Server
Version: 4, 5, 1, SP2
Edition: Enterprise
Operating System: Windows NT
OS Version: 5.0, Service Pack 4
OS Build Number: 2195
JonnyWeb.com Guest



Reply With Quote

