Hashtable locks after cgiscope.resolve in cfapplication tag

Hi,
Running (IIS 6, Windows 2003, coldfusion 7.02)
I have been trying to tune our servers already for a while
and fixed quite a few bottlenecks. At the moment i trying to solve
a problem which delays (Running requests shoot up till maximum,
requests start queing upto 60 or above) our servers for periods of
1 to 5 seconds, and this can appear regularly (every 3-5 seconds)
and sometimes the server will not experience the problem for a
while (a minute, sometimes even longer). We have upto about 55
page/hits per seconds on our sites.
See the attached code for some stack traces.
Although the lock in application line 1 (cfapplication tag)
occupies 80% of the thread dump, we get also the same kind of lock
where cfparams, isdefined and unscoped variables are in the code,
these look sometimes a bit different, but its always a HashTable
object (like NoCaseContainer). And its also always happens in the
execution of coldfusion.runtime.cgiscope.resolve.
One more thing, the thread dump is full of threads 'waiting
for lock', but i can never find a thread that says 'locked' on that
hashtable object. So there does not seem to be any thread locking!
I have scoped cfparams and isdefined's that appeared the most
in the thread dumps, and it helped, they dont appear in the threads
dumps anymore. But now it seems that only the <cfapplication>
tag appears (which is on line 1), and this causes just as much
locks, it doesn't seem to make the locking any less than before.
So my question is, should i scope every single variable in my
application (this is going to be a lot of work), should i remove
all CGI variables from the application.cfm page (i did this, and it
does not seem to have any affect).
And, why does <cfapplication> access the CGI scope? Is
this normal behaviour? And if yes, is it normal it causes so much
locking (note: we have here and their some bad application scope
locks hanging around but i did not fix them because these pages
never appear in stacktraces).
Also i included a few stacktraces that acces the file system,
i have the idea these appear after a page gets through the lock
after the execution of coldfusion.runtime.cgiscope.resolve and just
because accessing the file system is a slow process it appears also
in the stack traces. But let me know if you think im wrong about
this.
I hope somebody can help me fixing this.
Klaas-Jan

The jsp code should look like the following in order to keep your value selected:
&lt;td width="200" id="SelectedType" class="select"&gt;
&lt;f:invoke var="${tester}" methodName="populateType" retAttName="types" retAttScope="Page"/&gt;
&lt;select id="tester.type" class="select" &lt;f:fieldName att="tester.type"/&gt;&gt;
&lt;c:forEach var="type" begin="0" items="${types}"
varStatus="status"&gt;
*&lt;option value="&lt;c:out value="${type}"/&gt;"&lt;c:if test="${type == tester.type}"&gt;selected="selected"&lt;/c:if&gt;&gt;*
&lt;c:out value="${type}"/&gt;
&lt;/option&gt;
&lt;/c:forEach&gt;
&lt;/select&gt;
&lt;/td&gt;
Thanks,
Adam DesJardin
Avio Consulting

Similar Messages

  • HT2527 iphone locked after receiving call

    My iphone locked after receiving call. On screen only appears busy alert.

    Hi tavaresjx,
    If you haven't already done so, you may want to restart or reset the iPhone:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Restarting your iOS device
    1. Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    2. After the device has turned off, press and hold the Sleep/Wake button until the Apple logo appears.
    Resetting your device
    If your device stops responding, you can reset it by pressing and holding both the Sleep/Wake and Home buttons for at least ten seconds, until the Apple logo appears.
    If the above does not resolve your issue, the next best step will be to restore your iPhone using a computer with iTunes. Please be sure to backup your iPhone first.
    Choosing an iOS backup method (Should I use iTunes or iCloud to back up my iOS device?)
    http://support.apple.com/kb/HT5262
    iTunes: Restoring iOS software
    http://support.apple.com/kb/HT1414
    Thanks,
    Matt M.

  • Why doesn't my phone auto-lock after one minute?

    From the settings - it's checked to auto-lock after a minute, but for some reason - this does not always happen. I have tried turning off the phone and back on again - that did not work. How can this be resolved?

    probably. turn it off for sometime , restart the phone and check.

  • TS4006 Is it possible to revert to 'find and lock' after I clicked to erase?

    Is it possible to revert to 'find and lock' after I clicked to erase?

    Kryan73 wrote:
    …  after I import a new file, I have to then go searching for it amid all the other files…
    in a perfect world, you do know the recording date, and you simply scroll to that date.
    in a very perfect world, all your other imports are already tagged, so just have to create a smart list 'unrated' ...
    (I know those messy Events… a friend of mine constantly ignores my advice to check the time/date on his camera; on every battery swap, the cam creates a very erratic timestamp ... his actual recordings are listed as made in "2004" or in "2020" .... )

  • My factory unlocked Iphone 4 got locked after 4.3.2 update, How do I unlock it?

    "factory unlocked Iphone 4 got locked after 4.3.2 update, How do I unlock it?"
    Do I have to use the apple's fast lane to resolve the issue or is it something that can be resolved quickly using the ITunes or combination of power and home key please advice...

    From where did you purchase the iPhone? Are you certain it really was factory unlocked? I can't say that an iOS update couldn't inadvertently lock an iPhone, but more commonly it would happen with a jailbroken iPhone. If by "from Irvine" you mean Irvine, California, then you don't have a factory-unlocked iPhone unless you purchased it from another country, as there are no unlocked iPhones sold through any authorized reseller in the US.
    Regards.

  • IPAD Mini Locked after iOS upgrade, tried reset on iPAD did not work, plugged in and device not appearing in iTUNEs for reset/restore

    PAD Mini Locked after iOS upgrade, tried reset on iPAD did not work, plugged in and device not appearing in iTUNEs for reset/restore.  Just get an Apple Logo then a flashing blue screen as if it is caught booting up.   This has happened twice before and iTunes restore fixed it.  But this time device not appearing in iTunes.
    Running iTunes for PC.  But as stated restore has worked before!  Any help greatly appreciated!!

    Place the device in DFU mode and let iTunes restore the device to factory condition.

  • Windows 7 desktop locks after 10 minutes idle - Policy setting?

    Is there a policy setting to lock the desktop after a certain amount of idle time?  I can't seem to find one, and searches on the web only seem to uncover lock up issues with software, rather than security policy settings.
    Right now our Win 7 desktops lock after 10 minutes of inactivity (set by old IT staffer who is no longer here).  This is way too short and we need to change it.  However, I can't find where the setting is.  The screensaver is disabled and the power settings are set to maximum.  The only policy setting that looks like it could be what I'm looking for is "Microsoft network server: Amount of idle time required before suspending session", but that wasn't set to 10.  I went and set it to 0 anyway and the desktop still locks after 10 mins.
    Can someone point me in the right direction for this setting?
    Thanks!

    When you leave your computer, it’s best to start a screensaver that can only be turned off with a password.
    On the Start menu, click Control
    Panel.
    Click Personalization, and then click Screen
    Saver.
    In the Wait box, choose 15 minutes
    (or less)
    Click On resume, display logon screen, and then click OK.
     just try reverse , it may work !!!!!!!!!!!!! :)

  • Time Machine Locked after MacBook Air reformatted. My MacBook Air was overfull due to an Address book issue (duplication) so after many attempts to clear space, I ended up wiping out the system and reloading Lion.

    Time Machine Locked after MacBook Air reformatted. My MacBook Air was overfull due to an Address book issue (duplication) so after many attempts to clear space, I ended up wiping out the system and reloading Lion. This resulted in the Time Machine thinking that it was now connected to a different computer. Apparently this diables the existing information. 
    Now I can see that the back-ups exist (back to Sept 2012) but they are greyed out, therefore unavailale to restore. Again, this seems like an issue that shouldn't be happening. The whole point of the Time Machine is to enable reinstatement of data after catastrophic failure. What if my computer actually had to be replaced due to a hardware issue? How would I beableto restore anything?
    The path already (unsuccessfully) taken;
    Open Library on the computer, Open Time Machine, Select Correct date, drill down to correct data you wish to restore, click "Restore".
    This did not work because the correct date was greyed out. Restore key was greyed out.

    Time Machine Locked after MacBook Air reformatted. My MacBook Air was overfull due to an Address book issue (duplication) so after many attempts to clear space, I ended up wiping out the system and reloading Lion. This resulted in the Time Machine thinking that it was now connected to a different computer. Apparently this diables the existing information. 
    Now I can see that the back-ups exist (back to Sept 2012) but they are greyed out, therefore unavailale to restore. Again, this seems like an issue that shouldn't be happening. The whole point of the Time Machine is to enable reinstatement of data after catastrophic failure. What if my computer actually had to be replaced due to a hardware issue? How would I beableto restore anything?
    The path already (unsuccessfully) taken;
    Open Library on the computer, Open Time Machine, Select Correct date, drill down to correct data you wish to restore, click "Restore".
    This did not work because the correct date was greyed out. Restore key was greyed out.

  • Windows 7 locking after 1 minute

    OK, so starting off, i have read over all of the other posts and have found none of them work.
    My computer locks after 1 minute, this started today, i have not changed any settings, nor have I recently as I have had this computer for a while.  I have looked at all of the settings and i have all of the sleep/hibernation functions turned off. 
    I have the "lock screen on wake up" function also turned off.  I do however have it set to dim, and then turn off the display after 1 minute, but this has nothing to do with the sleep function.  It does not dim the display before locking, only after,
    as if it wasnt locked, please give me anything you can to help as this randomness is very irritating.

    I don't think Arthur Xie's response should be marked as the answer.  This doesn't sound like it has any relevance to Craig's original question, and hasn't been corroborated by anyone.  It threw me off the scent when I encountered the exact same
    problem - Windows 7 locking me out after 1 minute and requiring password re-entry
    It turns out that Ramesh's answer was the one that worked for me.  Somehow my machine got set to wait 1 minute and "on resume, display logon screen" was ticked.  Don't know how this happened.
    I initially missed this, because the selected screensaver was "(none)", so I assumed all the settings on this page were irrelevant.  It does raise the interesting usability point that a screen saver of "(none)" can still blank the screen, even
    though the user hasn't purposely selected the "Blank" screensaver.

  • How can I allow the application to line through a field that has been locked after being digitally signed?  We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once

    How can I allow the application to line through a field that has been locked after being digitally signed?
    We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information.  However we are receiving an error when attempting to enter data  in the field which we have this edit.  Error property: line through cannot be set because doing so would violate the document permission setting.  any idea how we can get around this issue?

    You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.

  • FPGA Module: Global Clusters become Locked after Compile?

    It seems as if, on some occasions, global clusters become locked after a successful compile of a project - you can't enter edit mode in order to add new elements to the cluster. I haven't been able to lock down the circumstances under which this occurs, but it has happened to at least two projects I've designed.
    This is a major heartache, as the only solution I can come up with to add new elements is the following:
    1. Create a new cluster.
    2. Include all existing elements of the locked cluster as well as your new element.
    3. Reset all Variable Representations and Data Ranges.
    4. Replace the locked one with your new cluster for all instances in the code.
    Is this a bug, or is this simply a limitation in the program? Does anyone know of a simpler way to solve this issue than my solution above?
    Thanks,
    Dan Price

    Hello Dan,
    I was not able to replicate the issue. Here is what I tried
    1. Created a Global variable
    2. Used the global variable in my FPGA program.
    3. Compiled the program
    4. Added elements to the global variable and saved it.
    5. Updated my program and compiled it again.
    If you can suggest another way to replicate the issue or attach your VI's I will try replicating it. If you think it happens occasionally then we should be able to narrow it down to specific circumstances to troubleshoot.
    Thank you and have a good day
    RMM

  • My phone is not auto lock after 1min as specified

    my iphone 4 is not auto lock after 1 minute as i specified in the settings. operating sytem is iOS6

    to see the camera icon, double click the home button when you are on the lock screen. this will show the music controls and the camera icon. double-click again to close them.

  • Can a factory unlocked iphone 3gs become locked after the 5.1.1software update

    can a factory unlocked iphone become locked after software update

    my phone is 3gs purchased from apple online store(unlocked), i used it with vodafone in ireland for 10 months, but on my holidays i tried sim card in dubai didn't work, tried also different sim cards in sudan and again didn't work, i brought the phone back to ireland and asked apple support, advised me to restore the phone but i failed to activate the phonesaying the sim is incompatible!!!!!!!!!!!
    can u help me please

  • Rolling back lock after RowInconsistentException (in ADF 11g)

    The JDeveloper 11g documentation explains under "Advanced Entity Object Techniques" how to override the select and lock functions so that you can do the locking with a stored procedure. I think I've done this as documented, but when I detect that another user has changed the row and raise the RowInconsistentException, this leaves the row locked (because the stored procedure did a "select for update"). So the user correctly gets told that someone else has changed the row, but the row stays locked until he does something else. I want to treat the RowInconsistentException as a failure and leave the row unlocked as it was before.
    I suppose I could invoke "getDBtransaction.rollback()" from my EntityImpl.java's doSelect() before throwing the RowInconsistentException, or perhaps from lock() after detecting it, but the example in the documentation doesn't do this so I'm worried that it might confuse ADF. So is there something else that I should be calling instead, in order to do the rollback?
    I'm sorry if I've missed the answer somewhere in the documentation, but I can't find it, so I'd very much appreciate it if someone can tell me how it's supposed to work.
    Thanks
         Phil
    Minor update: I've now tried using rollback(), but that does indeed seem to mess something up, because the user then doesn't get given an error message. He gets to see the current state of the database, because I use refresh(REFRESH_WITHDB_FORGET_CHANGES), but doesn't get an error message even though I'm still throwing RowInconsistentException - somehow the rollback seems to be causing this exception to get ignored! I need to tell the user that his change is not being implemented because someone else had already changed the row, while leaving the row unlocked. Help!
    Edited by: user451308 on May 15, 2009 11:56 AM

    Hi,
    exception handling should work the same. Can you give this a try in a test case you set up for using Facelets only? Note that JSF 2.0 has a changed exception handling which however should not lead to exceptions not getting throws at all. However, please verify on a clean Facelets project.
    Frank

Maybe you are looking for

  • ORA-12500 error while refreshing webi report

    Hi All, The problem looks simple, but i am struck with this. I am trying to refresh a webi report in BO XI R3.1, it throws the error "DBD: ORA-12500: TNS:listener failed to start a dedicated server process". It looks like there is no issue with the t

  • Employee photo is not updated in ESS Who's who service

    hi colleagues, i am facing an error when i am trying to update the employee photos in the who's who service of ESS. when new photos are added against an employee number via tcode OAAD in the ECC system, they are updated against the record and can be

  • Oracle golden gate mapping table

    Hi, I am trying to map only few selected columns from a table on the source; to the target machine. How can it be done in oracle golden gate? Is there any specific GGSCI command for it? Regards

  • Getting error when importing "SASCHEMAS.dmp "

    Hi all, I am reading guide "SAMPLE APPLICATION 10722 – DEPLOYMENT GUIDE" Not getting the below steps which are bold format -From you SampleApp installation files, copy \DataSources\ORCL\SASCHEMAS.dmp file to the machine where Oracle database 11gR2 is

  • Yosemite and unable to open Illustrator CS6

    Hi Since changing to Yosemite I am unable to open Illustrator CS6 and I get the following message: "To open "Adobe Illustrator CS6" you need to install the legacy Java SE 6 runtime." I have followed the link and downloaded "Java for OS X 2014-001" as