[cfaussie] Re: jmap heap dump not working
Just to close off this thread, I got around the issue by using the entire JDK, it would appear that just using jmap on its own doesn't work with the standard JVM libraries (no doubt jmap needs specific libraries that only come with the JDK). I just put the JDK (downloaded and extracted straight from the downloads website) in it's own directory on the server, and called jmap directly from there, which worked a treat. Regards Barry On Sep 18, 6:24 pm, Simon Haddon simon.had...@gmail.com wrote: Have you tried export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/jrun4/jre/lib/amd64/jli/ then run jmap Cheers, Simon On 16 September 2011 14:46, Gavin Baumanis beauecli...@gmail.com wrote: Hi Barry, Yeah sorry, slight omission on my part. I did download the current JDK. I have no idea about library versions / mismatches - as I simply used the wholeJDK. The process that is killed... That might be specific to Mac - I don't exactly remember. But it came about after some Googling - as I was having some real issues with getting the dump to work. and that seemed to solve it for me. So now I just keep those lines in my clipboard manager for whenever I need them. I suppose the real questions is; Does it matter if you use the whole JDK for getting jmap to work or not? Does using the JDK libraries simply allow the jmap application to use appropriate libraries for it to run - or does it effect the way it binds itself to the running process too - so that it does matter that it does not match the JVM. Could you not upgrade the JVM / JDK to be the same version? Initially - I say - do whatever it takes to get it working... but I am far from a java / library dependencies guru - so take it with a grain of salt! Gavin. On Sep 16, 2:15 pm, Barry Chesterman barrychester...@gmail.com wrote: Those commands are similar to what I'm running (except I don't run the kill command on anything first) did you have the JDK on your mac? The jmap I'm running is a jmap I've put onto the Linux box specifically (the libjli.so was already there). Jmap wasn't on the box from the standard install, it is from a JDK I downloaded (which is supposed to be the same version of java which matches what's on the Linux box) I just copy the jmap file from the JDK stuff I downloaded. Is it possible that the libjli.so file that is already on the linux box is not the one the jmap from the JDK I downloaded expects perhaps? On Fri, Sep 16, 2011 at 1:31 PM, Gavin Baumanis beauecli...@gmail.com wrote: Hi Barry, I have these notes for running jmap on my mac. // Check for this ps -ef | grep hsdbd // if it is running - kill it; sudo kill -9 pid // Get the PID of JRUN sudo ps-ef | grep jrun // Map the heap. sudo jmap -dump:format=b,file=heap.bin pid Hope this helps. Gavin. On Sep 16, 7:53 am, BarryC barrychester...@gmail.com wrote: Hi, I'm trying to do a heap dump on Linux, it's running Coldfusion 9 with JRun4, the JRE is 1.6.0_17 and it's all 64 bit. When I run the command ./jmap -dump:format=b,file=./memdump.bin 4001 it says error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory I'm running jmap from; /opt/jrun4/jre/bin/ but the libjli.so lives in /opt/jrun4/jre/lib/amd64/jli/ Should be fine but isn't, any ideas? Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- Cheers Simon Haddon Woman loves feeling danger and speed. That is why woman wants man. They get a speed rush that is the most dangerous of all. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] jmap heap dump not working
Hi, I'm trying to do a heap dump on Linux, it's running Coldfusion 9 with JRun4, the JRE is 1.6.0_17 and it's all 64 bit. When I run the command ./jmap -dump:format=b,file=./memdump.bin 4001 it says error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory I'm running jmap from; /opt/jrun4/jre/bin/ but the libjli.so lives in /opt/jrun4/jre/lib/amd64/jli/ Should be fine but isn't, any ideas? Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion Builder 2 aptana scripting console window appears on save
Hello, I've just started using Coldfusion Builder 2 and every time I save a cfc or cfm file the Aptana scripting console window pops up. Is there a way to make the console not pop up on save? Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] empty HTML emails in Gmail sent from coldfusion
Hi, I have a problem where my HTML e-mails are empty when sent to Gmail, but fine when sent to my standard e-mail viewed through outlook. The coldfusion code i'm using to send my e-mail is: cfmail from=#arguments.sFrom# to=#arguments.sRecipients# subject=#arguments.sSubject# failto=testf...@lmassey.ac.nz cfmailpart type=html cfoutput #arguments.sContent# /cfoutput /cfmailpart /cfmail the from, to, and subject values work fine, it seems to be the contents of the e-mail that has the problem. I've validated the HTML inside the cfoutput tags which validates fine. I'm a bit stumped, has anyone else had this issue? Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] web services and application.cfc
Hi, We have an application.cfc at the root of our website, it contains a function OnRequestEnd() that does some stuff at the end of page generation, but this seems to get called for our web service files. I have a web service in a cfc file in a sub-folder within the site, but in our logs we get error messages when web services are called, the error is an empty string, but it gives the file and line number the error is coming from which shows it is our OnRequestEnd() function when web services are called. So our structure looks kind of like this; /webroot/ Application.cfc /subfolder/ /service/ webservice.cfc Is there a way to get the web services to ignore or somehow override the OnRequestEnd() function? I put an Application.cfc file into the service/ folder and created an empty OnRequestEnd() function but it seems that the other functions we have in our root Application.cfc no longer get called either such as OnRequestStart(). We're on Coldfusion 9. Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: web services and application.cfc
excellent I never thought of doing that, thanks, I'll have a go and see if it works out. :) On May 6, 9:27 am, Phil Haeusler philhaeus...@gmail.com wrote: Hi Barry Have your empty Application.cfc extends your base on and then override OnRequestEnd() with an empty method. That will give you all the other methods you want. Or make use of the IsSOAPRequest() function and use it to ignore the code you are not wanting to run for your web services. Phil On 6/05/11 7:02 AM, BarryC wrote: Hi, We have an application.cfc at the root of our website, it contains a function OnRequestEnd() that does some stuff at the end of page generation, but this seems to get called for our web service files. I have a web service in a cfc file in a sub-folder within the site, but in our logs we get error messages when web services are called, the error is an empty string, but it gives the file and line number the error is coming from which shows it is our OnRequestEnd() function when web services are called. So our structure looks kind of like this; /webroot/ Application.cfc /subfolder/ /service/ webservice.cfc Is there a way to get the web services to ignore or somehow override the OnRequestEnd() function? I put an Application.cfc file into the service/ folder and created an empty OnRequestEnd() function but it seems that the other functions we have in our root Application.cfc no longer get called either such as OnRequestStart(). We're on Coldfusion 9. Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: web services and application.cfc
hmmm, It would be ideal to check within our Application.cfc if the request is a SOAP request, but using IsSOAPRequest() inside application.cfc doesn't work, it always returns false. Is there a way to check if the request is a web service request within Application.cfc? Ben Nadel posted that the FORM scope doesn't exist when a web service is called, but checking against that seems a bit of an odd way to go about it - there must be a better way? On May 6, 10:46 am, BarryC barrychester...@gmail.com wrote: excellent I never thought of doing that, thanks, I'll have a go and see if it works out. :) On May 6, 9:27 am, Phil Haeusler philhaeus...@gmail.com wrote: Hi Barry Have your empty Application.cfc extends your base on and then override OnRequestEnd() with an empty method. That will give you all the other methods you want. Or make use of the IsSOAPRequest() function and use it to ignore the code you are not wanting to run for your web services. Phil On 6/05/11 7:02 AM, BarryC wrote: Hi, We have an application.cfc at the root of our website, it contains a function OnRequestEnd() that does some stuff at the end of page generation, but this seems to get called for our web service files. I have a web service in a cfc file in a sub-folder within the site, but in our logs we get error messages when web services are called, the error is an empty string, but it gives the file and line number the error is coming from which shows it is our OnRequestEnd() function when web services are called. So our structure looks kind of like this; /webroot/ Application.cfc /subfolder/ /service/ webservice.cfc Is there a way to get the web services to ignore or somehow override the OnRequestEnd() function? I put an Application.cfc file into the service/ folder and created an empty OnRequestEnd() function but it seems that the other functions we have in our root Application.cfc no longer get called either such as OnRequestStart(). We're on Coldfusion 9. Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: web services and application.cfc
It's a real web service, I use this script to call it using the cfinvoke web service way; cfinvoke webservice=http://address-to-file/lib_util.cfc?WSDL; method=mymethod timeout=10 returnVariable=returnVar The headers show it's a web service. I've seen references around the net that you can only use isSOAPRequest() in the actual cfc that the remote method is contained in, so checking for it anywhere outside of that such as the application.cfc doesn't work.' I have ended up getting round the issue by just checking for 'application/soap' in the cgi.HTTP_ACCEPT variable (not thoroughly tested yet though, but should be fine) Barry. On May 6, 2:18 pm, Phil Haeusler philhaeus...@gmail.com wrote: That's a little odd. Are you doing real webservices or is it actually an Ajax/rest call to your cfc? On 06/05/2011, at 11:35, BarryC barrychester...@gmail.com wrote: hmmm, It would be ideal to check within our Application.cfc if the request is a SOAP request, but using IsSOAPRequest() inside application.cfc doesn't work, it always returns false. Is there a way to check if the request is a web service request within Application.cfc? Ben Nadel posted that the FORM scope doesn't exist when a web service is called, but checking against that seems a bit of an odd way to go about it - there must be a better way? On May 6, 10:46 am, BarryC barrychester...@gmail.com wrote: excellent I never thought of doing that, thanks, I'll have a go and see if it works out. :) On May 6, 9:27 am, Phil Haeusler philhaeus...@gmail.com wrote: Hi Barry Have your empty Application.cfc extends your base on and then override OnRequestEnd() with an empty method. That will give you all the other methods you want. Or make use of the IsSOAPRequest() function and use it to ignore the code you are not wanting to run for your web services. Phil On 6/05/11 7:02 AM, BarryC wrote: Hi, We have an application.cfc at the root of our website, it contains a function OnRequestEnd() that does some stuff at the end of page generation, but this seems to get called for our web service files. I have a web service in a cfc file in a sub-folder within the site, but in our logs we get error messages when web services are called, the error is an empty string, but it gives the file and line number the error is coming from which shows it is our OnRequestEnd() function when web services are called. So our structure looks kind of like this; /webroot/ Application.cfc /subfolder/ /service/ webservice.cfc Is there a way to get the web services to ignore or somehow override the OnRequestEnd() function? I put an Application.cfc file into the service/ folder and created an empty OnRequestEnd() function but it seems that the other functions we have in our root Application.cfc no longer get called either such as OnRequestStart(). We're on Coldfusion 9. Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] using Solr in a multi instance configuration
Hi, Has anyone used, or does anyone know how to get Solr going properly in a multi instance configuration? We have two instances on a single server installed; cfusion uat the solr directory sits buried inside the cfusion instance directory, but the uat instance does not have a solr directory. It seems by default that the idea is to have the new instance point at the solr server running out of the original instance 'cfusion' We want the uat instance to have seperate solr search collections but using the same collection names as the ones in cfusion, which means we need to have a seperate solr store somehow. I've had a look at running 'multiple solr webapps' from a single solr server, but the documentation on this is very poor and I have not been able to successfully get this working. Do we need to duplicate the solr directory into the new instance, and run a seperate solr server start script with solr running on a different port or something? Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: How big is your jrun.exe?
Have you compared the JRun parameters (in jvm.config in the JRun bin folder) to see what the differences are between CF8 and CF6? CF8 may start JRun with 350MB allocated already (but may not have actually filled that 350MB allocated). I would say 350 - 400MB on idle is normal for JRun on CF8. I can't say much about CF 6 because I've never used it. 60MB on full throttle? sounds a bit odd, are you sure you don't mean 600MB? Barry. On Mar 24, 9:39 pm, Ayudh Nagara | http://www.xilo.com; ayudh.nag...@gmail.com wrote: We're setting up a brand new (virtual) server with Windows Server 2008 and ColdFusion 8 (+ 8.0.1 updater). Even when idling, Windows Task Manager shows the jrun.exe task hogging 350-400MB of memory. The same task in our old server running CFMX 6.1 only used about 60MB at full throttle. Is this normal? -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Windows 7 CFEclipse / CFBuilder maxed out TCP connections
It would appear this issue is due to Symantec Endpoint Protection's firewall, which is blocking some outgoing TCP traffic. :) On Mar 16, 5:43 pm, BarryC barrychester...@gmail.com wrote: My issue only happens on Windows 7, it used to work fine on Windows XP (same coldfusionbuilder / eclipse version and the file store is exactly the same), which is why I was thinking it might be something to do with Windows 7 :) On Mar 16, 4:53 pm, Kym Kovan dev-li...@mbcomms.net.au wrote: Hi Barry, Win7 on its own has a partial limit of 16K connections but is normally limited by memory rather than limit. There is this limit we bumped into trying to get some 2008 R2 servers talking to a NAS with NFS: http://support.microsoft.com/kb/977517 Just 16 connections per IP! Not quite the same thing but it makes me think that the limit might be on the NFS side of things, not Win7 per se or Eclipse... HTH Kym On 16/03/2011 14:18, BarryC wrote: Hi, I have my files on a mapped network drive (NFS in my case), I'm running windows 7 enterprise and am having problems with CFEclipse hanging (CFBuilder does exactly the same thing) when opening lots of files ( 10) or refreshing folders. If I look at the resource monitor, I can see the TCP connections have maxed out to 200, and I see stuck cfeclipse threads which are waiting for TCP recponses. I'm only assuming it's 200 max TCP connections because I haven't seen it go higher (and that's the number where eclipse hangs). ... Are there any known issues with Windows 7 / eclipse to do with network connections? I've had a decent look around and I can't find anything that has worked or been helpful. Regards Barry -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Windows 7 CFEclipse / CFBuilder maxed out TCP connections
Hi, I have my files on a mapped network drive (NFS in my case), I'm running windows 7 enterprise and am having problems with CFEclipse hanging (CFBuilder does exactly the same thing) when opening lots of files ( 10) or refreshing folders. If I look at the resource monitor, I can see the TCP connections have maxed out to 200, and I see stuck cfeclipse threads which are waiting for TCP recponses. I'm only assuming it's 200 max TCP connections because I haven't seen it go higher (and that's the number where eclipse hangs). When using eclipse to access files / folders on my network drive, I see rather a lot of TCP requests with the local port numbers ranging between around 931 and 999 (remote port is always 4046). Are there any known issues with Windows 7 / eclipse to do with network connections? I've had a decent look around and I can't find anything that has worked or been helpful. Regards Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Windows 7 CFEclipse / CFBuilder maxed out TCP connections
My issue only happens on Windows 7, it used to work fine on Windows XP (same coldfusionbuilder / eclipse version and the file store is exactly the same), which is why I was thinking it might be something to do with Windows 7 :) On Mar 16, 4:53 pm, Kym Kovan dev-li...@mbcomms.net.au wrote: Hi Barry, Win7 on its own has a partial limit of 16K connections but is normally limited by memory rather than limit. There is this limit we bumped into trying to get some 2008 R2 servers talking to a NAS with NFS: http://support.microsoft.com/kb/977517 Just 16 connections per IP! Not quite the same thing but it makes me think that the limit might be on the NFS side of things, not Win7 per se or Eclipse... HTH Kym On 16/03/2011 14:18, BarryC wrote: Hi, I have my files on a mapped network drive (NFS in my case), I'm running windows 7 enterprise and am having problems with CFEclipse hanging (CFBuilder does exactly the same thing) when opening lots of files ( 10) or refreshing folders. If I look at the resource monitor, I can see the TCP connections have maxed out to 200, and I see stuck cfeclipse threads which are waiting for TCP recponses. I'm only assuming it's 200 max TCP connections because I haven't seen it go higher (and that's the number where eclipse hangs). ... Are there any known issues with Windows 7 / eclipse to do with network connections? I've had a decent look around and I can't find anything that has worked or been helpful. Regards Barry -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: IIS7 CF9 CFLOCATION problems?
I came across this last week, and according to Ben Nadel functionality has changed in coldfusion 9 (9.0.1 at least anyway) where onRequestEnd is now called at the end of every request, even a cflocation one. http://www.bennadel.com/blog/2050-Changes-In-CFLocation-OnRequestEnd-Behavior-In-ColdFusion-9-s-Application-cfc.htm You'd either have to override the onRequestEnd function somewhere, or add functionality into the onRequestEnd in your main Application.cfc file. On Feb 21, 4:57 pm, Taco Fleur taco.fl...@clickfind.com.au wrote: All I know at this stage is; - IIS6 never had a problem with the setup - IIS7 / CF9 / 64bit getting weird problems I would think that a onRequestEnd should not execute on a redirect, it looks like this might have changed in CF9? cf_tongue_in_cheek I know what you mean, haven't had to use this list for years, so I must be really good :-) /cf_tongue_in_cheek On Mon, Feb 21, 2011 at 12:24 PM, Kym Kovan dev-li...@mbcomms.net.auwrote: On 21/02/2011 11:46,www.clickfind.com.auwrote: Does anyone have CF9 running on IIS7 Windows 2008 64bit? yes. I'm having major weird problems. I have to admit a bit of I've never tried this but does OnRequestEnd fire when you do a cflocation type redirect? It looks as though it's got to do with cflocation/redirecting. After a redirect it seems to just execute the application.cfc and not the calling template The error occurred in C:\inetpub\wwwroot\production\au_com_clickfind \Application.cfc: line 760 Called from C:\inetpub\wwwroot\production\au_com_clickfind \Application.cfc: line 758 Called from C:\inetpub\wwwroot\production\au_com_clickfind \Application.cfc: line 721 Called from C:\inetpub\wwwroot\production\au_com_clickfind \Application.cfc: line 711 The above lines are where the onRequestEnd method is located. My templates set a header file which is then included in the onRequestend of application.cfc, but that's not set as the calling template does not seem to be executed. However. If I dump the CGI variables I see the CF_TEMPLATE_PATH C:\inetpub\wwwroot\production\au_com_clickfind\sign- in.cfm Any help, insight, ideas appreciated... PS. is there a new list now that is used as this one seems to have died down a bit! tongue in cheek We are all still here, we are just so good that we don't need to chat much :-) /tongue in cheek -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- Kind regards, Taco Fleur clickfind™ - The new Australian Online Marketing Platform (OMP)http://www.onlinemarketingplatform.com.auhttp://www.clickfind.com.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: IIS7 Verify if file exists | Don't want to log files in CF application.log
If you are running Coldfusion 9.0.1 then they added 404 logging to a seperate file in the coldfusion logs folder, I hadn't seen 404's being logged into the application.log before though, so maybe there is a setting in the CFIDE for that? in 9.0.1 you can also disable the logging in the 404 log file by disabling it in the logs area of CFIDE. On Feb 21, 3:58 pm, Taco Fleur taco.fl...@clickfind.com.au wrote: PS. this same setting does not seem to be present for the ColdFusion wildcard On Mon, Feb 21, 2011 at 12:47 PM, Kym Kovan dev-li...@mbcomms.net.auwrote: On 20/02/2011 21:43,www.clickfind.com.auwrote: I am using a custom CF 404 handler to do some stuff to make the URL look nice. I know there are better ways to do it, for now that is not an option. The problem is that CF logs a 404 in the application.log which it has never done before. I'm guessing it has something to do with the option Verify if file exists that used to be present in IIS6, I can't find it anymore. it changed its name. its still in the mappings bit but is now Request Permissions or some such. You can select File Only and then it does much the same as before. -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- Kind regards, Taco Fleur clickfind™ - The new Australian Online Marketing Platform (OMP)http://www.onlinemarketingplatform.com.auhttp://www.clickfind.com.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion Solr search using query filter
Hi, Has anyone used Solr's query filter with success here? I'm finding it impossible to get the results I need, and the query filter parameter doesn't seem to be behaving as the docs state: http://wiki.apache.org/solr/CommonQueryParameters#fq The filter query I'm using is: title:information* but I get results where title is 'Information request' and 'Enrolment closure' which makes no sense :( Even if I set the filter to just 'title:information request' it still manages to pull the record with title 'Enrolment closure' in. Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Microsoft SQL server CPU very high, close to 100% a lot of the time
Hello, We have resolved our SQL server CPU issue and I thought i'd post the resolution here in case anyone is interested. We switched from Windows server 2008 to Windows server 2008 R2 (although this didn't make any difference to performance, it was simply that our database server got upgraded so the latest OS went on) The RAM was increased from 4GB to 8GB which initially didn't show any improvement until AWE (Address Windowing Extensions) was forced on, that resulted in a much higher cache usage by SQL. We added a second CPU which made a big difference, and it was also found that with VMWare (and I'm trying to regurgitate what our DBA told me :)), a single CPU with two cores apparently doesn't do multi- threading as you would expect, the VM only sends one thread at a time to it. It wasn't until a second CPU was added that it would do proper multi-threading (at least this is how it was in our overall VM configuration). So now our CPU activity on the server is fine, so it seems it was a combination of things server wise that fixed it, we also had a good look into all our queries and didn't find any problems there. Barry. On Nov 24, 10:13 am, BarryC barrychester...@gmail.com wrote: Hi, We have an issue currently where our Microsoft SQL server runs close to 100% CPU for a lot of the time. There also seems to be a lack of memory cache hits (we would expect a reasonable amount given the traffic for our site). Our website generates a lot of small queries (approximately 200odd queries a second on average, which includes all our cluster servers), most of these queries complete in under 2 or 3 milliseconds. Has anyone had anything similar to this, or may know of any related issues to do with the servers / software versions we are running? this is our configuration; Microsoft SQL server 2008, single CPU on VMWare. Coldfusion 9 (no updaters) - runs on Linux Red Hat servers with JRun 4. Our Coldfusion datasource driver is the Microsoft SQL server drvier that ships with CF 9. Our datasource configuration parameters are: Driver: MSSQLServer JDBC URL: jdbc: macromedia:sqlserver://ourservername: 1433;databaseName=dbprod;SelectMethod=direct;sendStringParametersAsUnicode=true;querytimeout=0;MaxPooledStatements=1000 Login timeout: 30 seconds Long text buffer size: 256000 Timeout: 1200 seconds Maintain connections: Yes Interval: 420 seconds Restricted SQL operations: Disable connections: No CLOB is enabled (as well as High ASCII characters) I know this isn't an SQL group, but someone might have run into this before :) It is possible we just need to add another CPU to our DB server, but we are trying to eliminate other possible issues first. Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Microsoft SQL server CPU very high, close to 100% a lot of the time
Hi, We have an issue currently where our Microsoft SQL server runs close to 100% CPU for a lot of the time. There also seems to be a lack of memory cache hits (we would expect a reasonable amount given the traffic for our site). Our website generates a lot of small queries (approximately 200odd queries a second on average, which includes all our cluster servers), most of these queries complete in under 2 or 3 milliseconds. Has anyone had anything similar to this, or may know of any related issues to do with the servers / software versions we are running? this is our configuration; Microsoft SQL server 2008, single CPU on VMWare. Coldfusion 9 (no updaters) - runs on Linux Red Hat servers with JRun 4. Our Coldfusion datasource driver is the Microsoft SQL server drvier that ships with CF 9. Our datasource configuration parameters are: Driver: MSSQLServer JDBC URL: jdbc: macromedia:sqlserver://ourservername: 1433;databaseName=dbprod;SelectMethod=direct;sendStringParametersAsUnicode=true;querytimeout=0;MaxPooledStatements=1000 Login timeout: 30 seconds Long text buffer size: 256000 Timeout: 1200 seconds Maintain connections: Yes Interval: 420 seconds Restricted SQL operations: Disable connections: No CLOB is enabled (as well as High ASCII characters) I know this isn't an SQL group, but someone might have run into this before :) It is possible we just need to add another CPU to our DB server, but we are trying to eliminate other possible issues first. Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Serving of large files over the web - performance impact, issues?
Hi Charlie, I'm only talking about non CF file serving, the file download would just be a direct link to the file e.g. http://www.mysite.com/files/somelargefile.avi So it won't get as far as coldfusion processing, it'll just be the web server itself (apache in this case). Regards Barry On Oct 30, 4:54 am, charlie arehart charlie_li...@carehart.org wrote: Barry, do you mean using CFCONTENT from within CFML? If so, then besides what the others have said, I'll clarify that you need to be concerned not only with a limited number of http connections that can be made to a server, if by that you meant the web server, but also tying up CF threads (the simultaneous request threads setting in the CF Admin). Each request that starts a CFCONTENT will tie up one of these threads while the request is serving content. Given that the default number of threads (which varies in Multiserver deployments and Server/Standard deployments) or whatever you may have changed them to be, it may or may not be an issue tying up threads this way. The best way to tell is to use a tool like FusionReactor or SeeFusion, which can show what requests are running at any time (and for how long) on CF 6, 7, 8, or 9. You can also see it with the CF Server Monitor, if you have CF 8 or 9 Enterprise, and as long as you use its start monitoring button. Tying up one or a few threads this way for even minutes may not be the end of the world, but if something happens where you get a bump in activity (or some other cause of slowdowns), then every request thread can become precious. Note as well that the speed with which these downloads will finish is dependent on your clients doing the downloading, which adds more challenge to how best to accommodate this situation. /charlie arehart char...@carehart.org Providing CF and CFBuilder troubleshooting services athttp://www.carehart.org/consulting -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Thursday, October 28, 2010 5:49 PM To: cfaussie Subject: [cfaussie] Serving of large files over the web - performance impact, issues? Hi all, This isn't really a coldfusion specific question, but I thought some people here might have dealt with this sort of thing. We are looking at serving of large files (e.g. 4GB) from our web servers. We run Apache web servers, but I haven't been able to find any useful general information about the impact of serving out large files and what performance problems there might be when serving out large files in terms of server performance, does one need to be running a separate service all together to be dishing out large files from a web server? I know there are a limited number of http connections that can be made to a server, and these can be tied up if someone is spending several hours downloading one file. Obviously bandwidth of the server and client is a factor, but I'm not so worried about that at the moment. If anyone has experience serving large files any info would be very handy :) Thanks Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Serving of large files over the web - performance impact, issues?
Hi all, This isn't really a coldfusion specific question, but I thought some people here might have dealt with this sort of thing. We are looking at serving of large files (e.g. 4GB) from our web servers. We run Apache web servers, but I haven't been able to find any useful general information about the impact of serving out large files and what performance problems there might be when serving out large files in terms of server performance, does one need to be running a separate service all together to be dishing out large files from a web server? I know there are a limited number of http connections that can be made to a server, and these can be tied up if someone is spending several hours downloading one file. Obviously bandwidth of the server and client is a factor, but I'm not so worried about that at the moment. If anyone has experience serving large files any info would be very handy :) Thanks Barry Chesterman. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion Administrator CFIDE error; Java and JVM section in settings summary
Hi, I'm not sure when it started happening, but on one of our servers in the CFIDE we have an odd error coming up in settings summary; --- Variable VMARGS is undefined. The error occurred in E:\cf9_final\cfusion\wwwroot\CFIDE\adminapi \runtime.cfc: line 1849 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\adminapi\runtime.cfc: line 1343 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\reports \_report.cfm: line 1198 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\reports \_report.cfm: line 1179 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\reports \_report.cfm: line 68 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\reports \_report.cfm: line 1 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\reports \index.cfm: line 37 -1 : Unable to display error's location in a CFML template. This occurs under a section called Java and JVM in the settings summary page, which is odd because none of our other servers list the Java and JVM section in the settings summary. Does anyone have any idea on where I might start looking? Thanks :) Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: XML Parser and xml parsing problems in Coldfusion
I have worked out what the issue is (YAY), It appears that it is a case of un-vared variables, the variable that the parsed XML is being read into is not scoped in a cfc function, causing any reads for from that variable to fail if another process is writing to it - seeings it becomes a global variable having not been vared. Trying a lock around the variables before I properly scoped them also worked showing that multiple processes would have been trying to read/ write those values at the same time. I was able to re-produce the errors by load testing our dev box with 25 odd simultaneous users requesting the same page. I will now go and annoy the vendors :) Thanks for the help and suggestions. Barry. On Aug 17, 7:47 pm, Mark Mandel mark.man...@gmail.com wrote: Actually, to be clear, around the XMLParse more than the file read. Mark On Tue, Aug 17, 2010 at 5:47 PM, Mark Mandel mark.man...@gmail.com wrote: Yup, exactly what I mean :) On Tue, Aug 17, 2010 at 5:37 PM, Barry Chesterman barrychester...@gmail.com wrote: When you say lock it down, do you mean put an lock around the file read using the cflock? -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia http://www.cfobjective.com.au Hands-on ColdFusion ORM Training www.ColdFusionOrmTraining.com -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australiahttp://www.cfobjective.com.au Hands-on ColdFusion ORM Trainingwww.ColdFusionOrmTraining.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] XML Parser and xml parsing problems in Coldfusion
Hi, Does anyone here have experience in the field of XML Parsers, and more specifically, the one that Coldfusion uses. We have XML parsing problems frequently occuring on our site, the XML Parser that is being used is the xerces one (org.apache.xerces) - at least that's what shows up in the stack trace, but I've seen references to alternative parsers like Crimson (which in an older post I saw was Coldfusion's only 'supported' parser, but that was an old post so I'm not sure if that's still the case). Any ideas? Thanks Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: XML Parser and xml parsing problems in Coldfusion
Frequent Illegal Argument Exceptions where coldfusion will try and access a value from the parsed result but that value will not exist (and this isn't from dynamic XML stuff, it's from static XML files that never change, so the values should always be there) which makes me think that the parser is returning an invalid result without returning a failed parse error. Yeah I've since found that Coldfusion 9 (without any updaters) uses Xerces 2.9.1, and that on the Xerces site there is now version 2.10.0 with a slew of bug fixes listed. Coldfusion updater doesn't list anything to do with XML parsing fixes so I though I might just have a crack at updating the Xerces jar used by coldfusion. This is normally what returns in the stack trace when the parsing or XML dom access issue occurs: java.lang.IllegalArgumentException: type: -1 at org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source) at org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown Source) at org.apache.xerces.dom.ElementImpl.getNodeName(Unknown Source) at coldfusion.xml.XmlNodeMap.resolveElementName(XmlNodeMap.java:592) at coldfusion.xml.XmlNodeMap.resolveName(XmlNodeMap.java:662) at coldfusion.xml.XmlNodeMap.containsName(XmlNodeMap.java:674) at coldfusion.runtime.Scope.containsKey(Scope.java:105) at coldfusion.runtime.DotResolver.containsKey(DotResolver.java:362) at coldfusion.runtime.DotResolver.containsKey(DotResolver.java:376) at coldfusion.runtime.DotResolver.containsKey(DotResolver.java:376) at coldfusion.runtime.DotResolver.containsKey(DotResolver.java:387) at coldfusion.runtime.DotResolver.containsKey(DotResolver.java:407) at coldfusion.runtime.NeoPageContext.SymTab_symbolPartiallyExists(NeoPageContext.java: 1259) at coldfusion.runtime.NeoPageContext.SymTab_findReadScope(NeoPageContext.java: 1173) at coldfusion.runtime.NeoPageContext.SymTab_resolveSplitName(NeoPageContext.java: 1012) at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java: 1734) at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1677) at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java: 1812) at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java: 1805) at cfsite2ecfc1225365976$funcINITREQUEST.runFunction(/path/to/the/ file/parsing/the/xml/file.cfc:190) . On Aug 17, 3:56 pm, Kai Koenig k...@koeni.de wrote: What's specifically the issue? Parsing problems is very general... In general: Xerces is the current XML parser implementation in CF. I think CFMX 6 and maybe 6.1 were using Crimson internally. Cheers Kai Hi, Does anyone here have experience in the field of XML Parsers, and more specifically, the one that Coldfusion uses. We have XML parsing problems frequently occuring on our site, the XML Parser that is being used is the xerces one (org.apache.xerces) - at least that's what shows up in the stack trace, but I've seen references to alternative parsers like Crimson (which in an older post I saw was Coldfusion's only 'supported' parser, but that was an old post so I'm not sure if that's still the case). Any ideas? Thanks Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web:http://www.ventego-creative.co.nz blog:http://www.bloginblack.de twitter:http://www.twitter.com/agentK -- -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] getting server name of server
Hi, We have several servers in a cluster, but I am wondering how to get the name of the server that a script happens to be running on, there is nothing in the cgi variable, are there any system level functions coldfusion has (I couldn't find any), or is there a way to call native functions to get system information? Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: getting server name of server
No matter! I have found the answer; Createobject('java','java.net.InetAddress').getLocalHost().getHostName() I knew I'd find it as soon as I posted on here :) On Aug 13, 3:21 pm, BarryC barrychester...@gmail.com wrote: Hi, We have several servers in a cluster, but I am wondering how to get the name of the server that a script happens to be running on, there is nothing in the cgi variable, are there any system level functions coldfusion has (I couldn't find any), or is there a way to call native functions to get system information? Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Recursive function giving me 500 null error
It sounds like your recursive function is either not ending or collecting so many query results it can't handle the amount. Try passing a counter along with your downTree() function e.g. downTree(result,counter), then put a cfabort in downTree() when that counter reaches say 10 (increment the counter each time in the loop of course :)), each time through the loop dump out what your query returns and what your result variable holds and see if the values from your query and the values you stick in your result struct are what you expect. I notice you are always using the first result of the query each time, is it possible the first row of the query is always the same item and you get an infinite loop out of it? Barry On Aug 12, 4:34 pm, Seona Bellamy seon...@gmail.com wrote: Hi guys, Trying to make a little helper tool for an online game that I play. The game has a very complex crafting system, and I'm trying to put together something to allow me to select an item I can craft and find out: a) all the things I need to make that item, all the way back to the raw materials, and b) all the things I can then make from that item. I've accomplished (b) no problem. Works beautifully. I can accomplish (a) back one step. Then I try to make that recursive to step all the way back to the beginning of the sequence and it throws a 500 null error. So I did some reading and found out that this is an error that means something has gone wrong so fundamentally early in the code that it doesn't even know how to display the error. I found a suggestion of putting a cfflush just after the application setting, but that hasn't helped. Here are the two functions at play here. If someone can give me any suggestions about what I may have done wrong, I'd be very grateful. cffunction name=downTree hint=Returns the details of everything needed to make an item access=public returntype=array output=no cfargument name=aItems type=array required=no default= cfscript var result = arrayNew(1); var i = 1; var qItem = ; qItem = getItemMadeBy(aItems[1].id); if (qItem.recordcount) { result[1] = structNew(); result[1].id = qItem.id; result[1].item = qItem.item; result[1].skill = qItem.skillname; result[1].makes = arguments.aItems; downTree(result); } /cfscript cfreturn result /cffunction cffunction name=getItemMadeBy hint=Gets the items needed to make a given item access=public returntype=query output=no cfargument name=item type=string required=no default= cfquery datasource=#application.dsn# name=qResults debug=yes result=qItemResult SELECT i.id, i.item, s.skillname FROM di_item i INNER JOIN di_itemItem ii ON i.id = ii.madeWithID INNER JOIN di_skill s ON i.skill = s.id WHERE ii.itemID = cfqueryparam cfsqltype=cf_sql_integer value=#arguments.item# /cfquery cfreturn qResults /cffunction I've removed the recursive call at the end of the first function so that you can see the thing in (sort of) action athttp://frontandback.com.au/DarkIsles/index.cfm?do=main.craftTree- select an item such as a wooden spool of thick thread (the last item in the list). It will dump out all of the things that you can make from this item, and the things you can make from those items and so on.It will also show the item that the thread is made from. What I need is for it to go multiple steps back, however. Hope this all makes sense... Cheers, Seona. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion 9, MSSQL and random java.lang.nullpointerexception errors
Hello, We have some nul null (java.lang.nullpointerexception) errors randomly occuring on our servers, I've googled a bit and most of the posts refer to CF 8 and MySQL, but they all seem to point to database connection related things as being the issue. You can request the same page multiple times and maybe once out of 30 odd requests will you see the error. Has anyone else had these null type errors, and what databases do you guys run and what connection properties or database drivers do you use? What different things could I try, another database driver perhaps? Our database connection settings are: Driver: MSSQLServer Select Method: Direct Maintain connections is on. Max pooled statements: 1000 Timeout: 20mins , Interval 7seconds Query Timeout: 0 Login Timeout: 30 seconds CLOB enabled Long text buffer (chr) 256000 Blob buffer (bytes) 64000 Database is MS SQL server 2008 Thanks Barry Chesterman. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9, MSSQL and random java.lang.nullpointerexception errors
Thanks Charlie, Some good ideas there, I will have a look at those things and let you know how I get on. Regards Barry On Jul 19, 2:57 pm, charlie arehart charlie_li...@carehart.org wrote: Right, Barry, I've not heard of it happening much on CF9. As for solving this... In 8 I would have recommended making sure you had any suitable CF hotfixes. In CF9, there has of course been at least one CHF (http://kb2.adobe.com/cps/825/cpsid_82536.html), but while it mentions NullPointerExceptions, it's only in the context of CAR file deployment. I would also suggest you confirm that any hotfix files in the [cf]\lib\updates directory is in fact for CF9 (they have the version number in the jar file name). I've helped more than a few shops where they had inadvertently put uploaded to the CF Admin (or placed there in that directory, which it does for you) jars for the wrong CF version. In past releases I might also have recommend to check if Adobe had come out with an updated jdbc driver, since those always had to be applied separate from cumulative hotfixes. But there've been none for CF9 yet (there have been updates by DataDirect, but not packaged by Adobe for us). I will point out that there is a Microsoft JDBC driver which you could try. Still, it's reasonable that the built-in one should work. Will be curious to hear how it turns out for you. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Sunday, July 18, 2010 9:56 PM To: cfaussie Subject: [cfaussie] Coldfusion 9, MSSQL and random java.lang.nullpointerexception errors Hello, We have some nul null (java.lang.nullpointerexception) errors randomly occuring on our servers, I've googled a bit and most of the posts refer to CF 8 and MySQL, but they all seem to point to database connection related things as being the issue. You can request the same page multiple times and maybe once out of 30 odd requests will you see the error. Has anyone else had these null type errors, and what databases do you guys run and what connection properties or database drivers do you use? What different things could I try, another database driver perhaps? Our database connection settings are: Driver: MSSQLServer Select Method: Direct Maintain connections is on. Max pooled statements: 1000 Timeout: 20mins , Interval 7seconds Query Timeout: 0 Login Timeout: 30 seconds CLOB enabled Long text buffer (chr) 256000 Blob buffer (bytes) 64000 Database is MS SQL server 2008 Thanks Barry Chesterman. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Apache, JRun and cfNTauthenticate domain issue
Hi all, We have an issue where our cfNTauthenticate tag is not working, it simply returns an empty string when trying to use it, it worked on our old windows server but not on our Linux server (running Apache). the cfNTauthenticate docs show that the 'Coldfusion J2EE server' needs to be running under the domain that you are trying to use cfNTauthenticate to authenticate against. How do I find out what domain the server is running as (or JRun / Apache whaterver)? How does one set the domain as far as JRun or Apache configuration is concerned? I can't find much JRun /Coldfusion domain related documentation. Thanks Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion 8 or 9 getting configuration from one server to another
Hi, We have a server cluster which is being set up at the moment, but we need to get the coldfusion configuration settings (which one sets via CFIDE administrator) on to the other servers. What is the best way to do this? Idealy it would be nice to just copy configuration files at a system level over (which will also work better for our configuration backup and versioning system, otherwise - I see there is a configuration packaging and delployment tool - are we stuck with having to use that? Thanks Barry Chesterman. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion 8/9 Verity index issue on Linux
Hi, We have an issue at the moment where our collections are not indexing when we try to index them. The indexing of the collection hangs, and in the thread dump it looks like the K2 service is trying to read/write to the collection. Does anyone have any ideas about what the issue might be, or has anyone that is running Linux had verity issues before? Here is the thread that is trying to do write to the collection (this one is actually creating a collection, but it still has the same issue): jrpp-130 prio=10 tid=0x1b2a9800 nid=0x6577 runnable [0x47413000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) - locked 0x2b295aab66b8 (a com.verity.xmit.XmitInputStream) at com.verity.xmit.XmitInputStream.buildString(Unknown Source) - locked 0x2b295aab66b8 (a com.verity.xmit.XmitInputStream) at com.verity.xmit.XmitInputStream.readString(Unknown Source) at com.verity.xmit.k2.UridiumInvoker.sendParameter(Unknown Source) at com.verity.xmit.k2.UridiumInvoker.invokeXmitMethod(Unknown Source) at com.verity.net.uridium.Connection.ping(Unknown Source) at com.verity.net.Connection.checkResource(Unknown Source) at com.verity.resource.ResourcePool.testAndLockResource(Unknown Source) - locked 0x2b295aab6428 (a com.verity.net.k2.Connection) at com.verity.resource.ResourcePool.newResource(Unknown Source) - locked 0x2b295a61df48 (a java.util.Vector) at com.verity.net.Connection.getConnection(Unknown Source) at com.verity.net.Connection.getConnection(Unknown Source) at com.verity.rpc.transport.k2.XmitTransport.getConnection(Unknown Source) at com.verity.rpc.transport.k2.XmitTransport.executeMethod(Unknown Source) at com.verity.rpc.transport.k2.AbstractSkel.xmit(Unknown Source) at com.verity.services.UridODKAdminService_Impl_Skel.openWorkspace(Unknown Source) at com.verity.organize.K2IndexerContext.openWorkSpace(Unknown Source) at coldfusion.tagext.search.Utils.getWorkspace(Utils.java:137) at coldfusion.tagext.search.Utils.collectionCreate_actual(Utils.java: 1469) at coldfusion.tagext.search.Utils.collectionCreate(Utils.java:1386) at coldfusion.tagext.search.CollectionTag.doActionCreateOrMap(CollectionTag.java: 380) at coldfusion.tagext.search.CollectionTag.doActionCreateOrMap(CollectionTag.java: 265) at coldfusion.tagext.search.CollectionTag.doStartTag(CollectionTag.java: 194) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfindex2ecfm283217441._factor2(E:\cf9_final\cfusion\wwwroot\CFIDE \administrator\verity\index.cfm:126) at cfindex2ecfm283217441._factor24(E:\cf9_final\cfusion\wwwroot\CFIDE \administrator\verity\index.cfm:94) at cfindex2ecfm283217441.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE \administrator\verity\index.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java: 363) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java: 48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java: 40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:87) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java: 28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java: 22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java: 126) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java: 89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java: 42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java: 46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
Did those references you found say anything about the specific version of windows server 2008, or just in general? There is 2008 R2 for example, but we are on the standard 2008 - not sure if there would be any difference there? Barry On May 28, 1:11 pm, Kym Kovan dev-li...@mbcomms.net.au wrote: On 28/05/2010 06:59, BarryC wrote: Yes, that's correct Charlie. Kym, the NFS is a proper NFS. and I've been googling and it seems in a lot of contexts NFS on 2008 is faster than most linux versions. It used to run like a dog and MS brought a new stack in 2008 that goes like a train. So NFS per se should not be an issue. If you could run a simple test, it would be handy I'll see what I can do. -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
Yes I was going to mention that, I'm not sure what the story is with that (I'm still wondering that myself) It's possible there were some references still pointing to the shared drive or that the slowness was masked by other things we have since fixed. I'll might see if I can dig up the logs I had for that test. Barry. On May 27, 3:49 pm, charlie arehart charlie_li...@carehart.org wrote: Will be interesting to hear the resolution. I'll note that this was indeed one of the contentions I made in my first reply on the thread, when I said that if you had files on another server or SAN/NAS, that i/o can be costly in some configurations (not inherently so, but worth considering). But your reply was I've done a test already to eliminate the Network File Store by setting up a local copy on the server of the files and testing against that, and the results were the same. So as a matter of understanding what happened, do you know why at the time you got misled by that conclusion, which took us off the scent of that trail? Will just be interesting, forensically. Thanks. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Wednesday, May 26, 2010 11:23 PM To: cfaussie Subject: [cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit Hi, After some more testing, thread dumps and operating system process monitoring, we have found that there seems to be a performance issue with files when accessed via NFS. The slow part is when file attributes are being requested for a file on the NFS (this was also shown in the thread dumps with the getBooleanAttributes() function coming up a lot). We have done a couple of tests with rather interesting results (we set up a specific test that loops over some directories and looks at the files in those directories, it does a fileExists(..) on each file in those directories); 1. test local file access time. 2. test file access time via share mounted via NFS path e.g. \\server \path\sharedfiles\ 3. test file access time via an iSCSI mounted drive (still over the network, but the operating system sees it as a lettered drive e.g. d: \sharedfiles\ The local file access time was very fast, for the 20 folders it did it in between 16ms and 50ms The FMS access time was very slow, about 3 seconds for the same 20 folders (I'd expect some delay over the network, but this seems rather a lot). The iSCSI mount was surprisingly fast at about 130ms (indicating that network latency time isn't really the issue?) We're a bit stumped, and the systems guys have had a look at options at the NFS end and there doesn't really seem to be much configuration they can do there. Kai, you mentioned that you run some of your servers with an NFS share, but have no problems, how is your share implemented, do you run it on Linux with the windows servers connecting to that? Regards Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
I've done some debugging on this now, and each request is checking for roughly 21 files to see if they exist (which they don't). The path exists, but the file doesn't. I did a test and found 21 fileexists(expandpath(..)) checks to different files that don't exist takes around 150ms, quite a bit for each page request, but not something I would have thought that would show up so frequently in the thread dumps. are there operating system file I/O limits? I've got no idea when it comes to operating system I/O level performance, if two requests check to see if a file exists at the same time, does one have to wait for the other to finish? Barry. On May 19, 3:38 pm, charlie arehart charlie_li...@carehart.org wrote: Hmmso, given that you've now told us that the line 424 that's always showing up is doing a filexists(expandpath()), doesn't it seem that this is at the root of the problem? Have you done some debugging to see what the path is that it's expanding? Maybe it's on some drive that's not giving a quick response? Maybe it's even on a network/UNC path or mapped drive, that involves some network I/O? /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Tuesday, May 18, 2010 10:25 PM To: cfaussie Subject: [cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit I measure the performance with a load test using 'Paessler web stress tool 7' and note the average time of requests over a certain period against a set of URL's. The pages i'm running at the moment all do a similar thing and are built pretty much the same way but with different content come from the database, so it's mostly repetitive work for the system. I have enabled the trusted cache and done some tests and there is certainly an improvement - mostly as the testing goes on and re-uses snip -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
Hi Charlie, It's not a development box, it's a production box , our soon-to-be production site (well one of them), so everything on it is essentially enterprise. I did increase the IIS threads limit (as pointed out by someone earlier on in this thread) so I don't know if it would be IIS or not. The only things remaining now in the thread dumps aside from queries are reading and writing of files to disk and not much else - I would have expected to see more code level stuff but there is still a decent portion of file I/O. I'll get our systems chaps to have a look at the system I/O performance and see if they can find anything. the 150ms I mentioned was from the sum of those 21 file exists , expand path checks. And yes it certainly must have been an issue because the performance has increased a lot - around 40 odd %. On May 20, 11:33 am, charlie arehart charlie_li...@carehart.org wrote: Thanks for the update. I don't know the answer to your question, but I'll share a thought: you mention that you're load testing stuff. Is that perchance on a local development box? If so, is it perhaps some trial or lower-end version of Win2k8? I just ask because I know that in past Windows OS's, the lower-end versions did often have limits built-in, especially (as many will have noticed) the number of simultaneous IIS requests that are processed (others are queued). It may well be that there could in fact be some I/O-level restrictions on too many requests at once, which could be queued. That's a total guess and could be way off base. Also, you may well be running an Enterprise or other high-end version of Windows 2008. Just thought I'd ask, since you're raising the concern. Now, all that said, is this 150ms the sum of the delay that you've been concerned about? If so, then it would seem at least that you've found your root cause problem, right? That's at least a step in the right direction and allows you to focus solely on this one last mile. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Wednesday, May 19, 2010 6:45 PM To: cfaussie Subject: [cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit I've done some debugging on this now, and each request is checking for roughly 21 files to see if they exist (which they don't). The path exists, but the file doesn't. I did a test and found 21 fileexists(expandpath(..)) checks to different files that don't exist takes around 150ms, quite a bit for each page request, but not something I would have thought that would show up so frequently in the thread dumps. are there operating system file I/O limits? I've got no idea when it comes to operating system I/O level performance, if two requests check to see if a file exists at the same time, does one have to wait for the other to finish? Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
Thanks for the info, though it doesn't really put me much further ahead than I already was :) Yes fusion reactor is running, and I must have indeed had the coldfusion monitoring on, because when I went in to monitoring to check (after was mentioned by someone yesterday), it was turned on. I have since however turned off coldfusion monitoring, and at the end of yesterday uninstalled fusion reactor (as the license ran out, - i do have other servers with it on that I can use though). I have run subsequent thread dumps and the results are still the same (just without the calls to logging obviously) the performance of pages is still the same. As I mentioned previously Charlie, I had tried running my tests with a local copy of files on the server (to compare the difference between using the NFS and not using one), and the results were still the same - the thread dumps looked very similar. Sorry about the entire thread dump, I wasn't sure if the non running jrpp threads (or other threads) would give you any info or not :). I have indeed tried taking multiple thread dumps and comparing them, a few threads can be seen running in both, but I have not found any threads that ran stupidly long or any locking etc. What I have noticed though in most of the thread dumps (even when the same thread has been captured in two consecutive dumps) is that the thread is normally at a WinNTFileSystem call e.g. at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.exists(File.java:733) I'll try that trusted cache option you suggested Charlie. Thanks for the help. Regards Barry. On May 19, 5:49 am, charlie arehart charlie_li...@carehart.org wrote: MrB, to your last question, I'll just add that I have often had (and worked with people who had) both running (even all three, adding SeeFusion), and I've never seen there to be any problem related to that (their all being enabled at once). I offer this as much for other readers as for this particular concern of Barry's. It helps to consider that both FR and SF are just servlet wrappers, which track requests coming into and going out of CF. They really don't add much overhead at all. They also each offer the JDBC wrapper feature, which again just tracks the requests going to and coming from the DB server, again low overheard. Admittedly, they both do some logging (FR to logs using log4j, and SF to a DB), but I've never seen those features to cause any major overhead-accept for the feature in FR which can provide the line number for every SQL statement. That feature can be disabled in the FR interface for really high volume JDBC activity, like hundreds per second. But to be clear, there's also nothing in FR or SF I can think of that would impact the issue that Barry's seeing, though I can certainly appreciate why one would think well, let's at least rule things out, so I'm not arguing against that. And as for the CF Server Monitor, I'd say the same (can't see how it would relate to his particular problem), but I'll add as well that that the CF Server monitor has aspects that are always on and can't be disabled. But it does have the 3 main features that can be enabled (and therefore disabled), in start monitoring, start profiling, and start memory tracking. Just to satisfy MrB's curiosity, Barry, can you tell us if you have any of them on? :-) /charlie From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of MrBuzzy Sent: Tuesday, May 18, 2010 9:42 AM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit Hi BarryC, I note from your thread dump that you are running BOTH FusionReactor and Adobe ColdFusion Server Monitoring. As you have the luxury of both, I would advise disabling the CF Monitoring. It just seems to cause problems. (Does any one else agree?) -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
further: you say the performance of pages is still the same and the thread dumps looked very similar. So how are you measuring the performance? Is it just anecdotal (feels slow) or are you using some real measure, whether some of the stats shown in the CF Server Monitor, or (when you had FusionReactor) as what could be seen in its resource logs or System Overview page? I just ask because it may be interesting to confirm both that there's been no improvement and (possibly as useful) whether there are any particular pages or apps that are more troubled than others. I realize that may not seem likely, but this is a dilemma of looking only at thread dumps: you're only seeing what's *running at that moment*, as opposed to how things have gone in aggregate across all pages that did run (between the thread dumps). I'm just saying it could prove interesting, not that it would in your case. Moving on, rather than the NAS, I've asserted that the more interesting thing may be to see if you enabled trusted cache (since we see the stack traces showing the request doing the file system check--I pointed to some doing one method, you pointed to some doing another.) So I'm glad to hear that you will be checking that out. About that, I'll repeat, though: just turning it on may not still entirely solve the problem, if you have a problem where perhaps the template cache is not large enough for the files that are loaded, you could still have thrashing that could exhibit the same problem. Here's where the CF Server Monitor can help you. If you do enable trusted cache, and you do still see this problem occurring, then at that time, look in the CF Server Monitor at the Template Cache Status page (under StatisticsRequest Statistics) to see what the template cache hit ratio is at that time. As for FR's license running out, I assume you mean the trial period ended, right? I'll tell you, since it does such a great job to allow you to do stack traces interactively (and tell clearly when the request ends), it may be useful for you to move a license over for this testing (since you say that you have other licenses). Your call, of course. Finally, as for the CF Server Monitor, not that it's critical, but you don't clarify which of the 3 forms of CF monitoring you turned off, but I'll assume perhaps it was start monitoring (it's just that you use the term went into monitoring to check..[and]...it was turned on.) I'm just trying to get people to be more specific when they refer to the CF Server Monitor. Hope these or thoughts of others as they get going in their day there may help get you further. (I'm still not inclined to believe that this is somehow related to Windows itself, though I realize that was the first assertion made.) Looking forward to hearing what the resolution ultimately is. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Tuesday, May 18, 2010 5:10 PM To: cfaussie Subject: [cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit Thanks for the info, though it doesn't really put me much further ahead than I already was :) Yes fusion reactor is running, and I must have indeed had the coldfusion monitoring on, because when I went in to monitoring to check (after was mentioned by someone yesterday), it was turned on. I have since however turned off coldfusion monitoring, and at the end of yesterday uninstalled fusion reactor (as the license ran out, - i do have other servers with it on that I can use though). I have run subsequent thread dumps and the results are still the same (just without the calls to logging obviously) the performance of pages is still the same. As I mentioned previously Charlie, I had tried running my tests with a local copy of files on the server (to compare the difference between using the NFS and not using one), and the results were still the same - the thread dumps looked very similar. Sorry about the entire thread dump, I wasn't sure if the non running jrpp threads (or other threads) would give you any info or not :). I have indeed tried taking multiple thread dumps and comparing them, a few threads can be seen running in both, but I have not found any threads that ran stupidly long or any locking etc. What I have noticed though in most of the thread dumps (even when the same thread has been captured in two consecutive dumps) is that the thread is normally at a WinNTFileSystem call e.g. at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.exists(File.java:733) I'll try that trusted cache option you suggested Charlie. Thanks for the help. Regards Barry. On May 19, 5:49 am, charlie arehart charlie_li...@carehart.org wrote: MrB, to your last question, I'll just add that I have often had (and worked
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
Hi Kym or Kai, or anyone with a successfully working CF9 64bit install... What is the JRE version that is actually on the server? the one we are using is 1.6.0_14 Also, some info, the kind of things showing in the thread dumps a lot are native methods like these: java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.exists(File.java:733) at coldfusion.runtime.RuntimeServiceImpl $1.run(RuntimeServiceImpl.java:904) at java.security.AccessController.doPrivileged(Native Method) at coldfusion.runtime.RuntimeServiceImpl.checkFileExists(RuntimeServiceImpl.java: 900) at coldfusion.runtime.RuntimeServiceImpl.getRealPath(RuntimeServiceImpl.java: 952) at coldfusion.filter.FusionContext.getRealPath(FusionContext.java: 758) at coldfusion.util.Utils.expandPath(Utils.java:434) at coldfusion.runtime.CFPage.ExpandPath(CFPage.java:3028) java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.isDirectory(File.java:754) at coldfusion.runtime.CFPage.DirectoryExists(CFPage.java:2959) java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getLastModifiedTime(Native Method) at java.io.File.lastModified(File.java:826) at coldfusion.compiler.NeoTranslator.getLastModifiedTime(NeoTranslator.java: 940) at coldfusion.runtime.TemplateClassLoader.getLastModifiedTime(TemplateClassLoader.java: 297) at coldfusion.runtime.TemplateProxy.getRuntimeComponentMetadata(TemplateProxy.java: 1751) at coldfusion.runtime.TemplateProxy.getRuntimeMetadata(TemplateProxy.java: 1616) Barry. On May 17, 9:28 pm, Kai Koenig k...@koeni.de wrote: It depends. Sorry. On applications, load etc. Load testing is the ONLY way to find that out. large heap - more fragmentation, potentially longer but less often garbage collection, but more available memory for the CF box. small heap - less fragmentation, potentially shorter but more often garbage collection, but less available memory for the CF box. As a rule of thumb - the larger your heap is, the more thought you need to put into how to configure the JVM imho, i.e. how to split up the heap into generations etc. I've seen machines with 8 GB RAM and a 6 GB JVM heap and they behaved completely different with the same applications but different inner-generational memory settings. Kai So with that sort of thingis more better? like is a parger heap better than a smaller heap? From: Kai Koenig [mailto:k...@koeni.de] Sent: Monday, 17 May 2010 7:11 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit Among others that you might all of a sudden deal with a larger heap, different ratios between generations etc. Cheers Kai Hmm what are these 'requirements' you speak of? On 17 May 2010 15:57, Kai Koenig k...@koeni.de wrote: I would not in general blame 64bit CF - seriously. There are huge installations out there just running fine on it and I know a few of them really well. What you will find though with 64bit CF is that is has quite different requirements for setting up the JVM, assigning memory to it etc. Cheers Kai -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web:http://www.ventego-creative.co.nz blog:http://www.bloginblack.de twitter:http://www.twitter.com/agentK Hands-on Regular Expression training @ webDU 2010 http://bloginblack.de/agentk/workshop-befriending-regular-expressions/ Hands-on Flash Catalyst and Flex 4 training @ Webinale 2010 http://bloginblack.de/agentk/workshop-rias-with-flash-catalyst-and-fl... -- -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web:http://www.ventego-creative.co.nz blog:http://www.bloginblack.de
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
I have ensured logging is not on, I'm not 100% sure if it was on or off, but my subsequent tests are all the same response times. What do you mean by a file with a funny opr two in the middle? Barry On May 18, 12:11 pm, Kym Kovan dev-li...@mbcomms.net.au wrote: On 18/05/2010 09:40, BarryC wrote: Hi Kym or Kai, or anyone with a successfully working CF9 64bit install... What is the JRE version that is actually on the server? the one we are using is 1.6.0_14 Same here. Also, some info, the kind of things showing in the thread dumps a lot are native methods like these: At a quick glance that looks like a failed search for a file with a funny opr two in the middle, do you have server monitoring turned on? java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.exists(File.java:733) at coldfusion.runtime.RuntimeServiceImpl $1.run(RuntimeServiceImpl.java:904) at java.security.AccessController.doPrivileged(Native Method) at coldfusion.runtime.RuntimeServiceImpl.checkFileExists(RuntimeServiceImpl.java: 900) at coldfusion.runtime.RuntimeServiceImpl.getRealPath(RuntimeServiceImpl.java: 952) at coldfusion.filter.FusionContext.getRealPath(FusionContext.java: 758) at coldfusion.util.Utils.expandPath(Utils.java:434) at coldfusion.runtime.CFPage.ExpandPath(CFPage.java:3028) java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.isDirectory(File.java:754) at coldfusion.runtime.CFPage.DirectoryExists(CFPage.java:2959) java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getLastModifiedTime(Native Method) at java.io.File.lastModified(File.java:826) at coldfusion.compiler.NeoTranslator.getLastModifiedTime(NeoTranslator.java: 940) at coldfusion.runtime.TemplateClassLoader.getLastModifiedTime(TemplateClassLoader.java: 297) at coldfusion.runtime.TemplateProxy.getRuntimeComponentMetadata(TemplateProxy.java: 1751) at coldfusion.runtime.TemplateProxy.getRuntimeMetadata(TemplateProxy.java: 1616) Barry. -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
It is unix based as the files are all on a network file share. Access for that is based on machine name and so the server essentially gets full access to it, but that's not to say it isn't a file permission problem. It's definitely reading and writing files from it though. On May 18, 12:23 pm, Andrew Myers am2...@gmail.com wrote: It's not a file permission issue is it? They have tripped me up a number of times on unix/linux servers. I am not sure about Windows but I would be checking it has read permissions. On Tue, 18 May 2010 10:11:07 +1000, Kym Kovan dev-li...@mbcomms.net.au wrote: On 18/05/2010 09:40, BarryC wrote: Hi Kym or Kai, or anyone with a successfully working CF9 64bit install... What is the JRE version that is actually on the server? the one we are using is 1.6.0_14 Same here. Also, some info, the kind of things showing in the thread dumps a lot are native methods like these: At a quick glance that looks like a failed search for a file with a funny opr two in the middle, do you have server monitoring turned on? java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.exists(File.java:733) at coldfusion.runtime.RuntimeServiceImpl $1.run(RuntimeServiceImpl.java:904) at java.security.AccessController.doPrivileged(Native Method) at coldfusion.runtime.RuntimeServiceImpl.checkFileExists(RuntimeServiceImpl.java: 900) at coldfusion.runtime.RuntimeServiceImpl.getRealPath(RuntimeServiceImpl.java: 952) at coldfusion.filter.FusionContext.getRealPath(FusionContext.java: 758) at coldfusion.util.Utils.expandPath(Utils.java:434) at coldfusion.runtime.CFPage.ExpandPath(CFPage.java:3028) java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getBooleanAttributes(Native Method) at java.io.File.isDirectory(File.java:754) at coldfusion.runtime.CFPage.DirectoryExists(CFPage.java:2959) java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.getLastModifiedTime(Native Method) at java.io.File.lastModified(File.java:826) at coldfusion.compiler.NeoTranslator.getLastModifiedTime(NeoTranslator.java: 940) at coldfusion.runtime.TemplateClassLoader.getLastModifiedTime(TemplateClassLoader.java: 297) at coldfusion.runtime.TemplateProxy.getRuntimeComponentMetadata(TemplateProxy.java: 1751) at coldfusion.runtime.TemplateProxy.getRuntimeMetadata(TemplateProxy.java: 1616) Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion 9 and Windows server 2008 64bit
Hi, Does anyone on here run coldfusion 9 on windows server 2008, 64 bit? We are running in to some performance issues which seem to be at an OS level and I'm wondering if anyone else has used this configuration with success. Thanks Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and Windows server 2008 64bit
Hi Kym, your setup sounds rather similar to ours, What is your version (including updater if any) of CF if you don't mind me asking? Thanks Barry On May 17, 2:26 pm, Kym Kovan dev-li...@mbcomms.net.au wrote: On 17/05/2010 11:00, BarryC wrote: Hi, Does anyone on here run coldfusion 9 on windows server 2008, 64 bit? Yes, heavily. We are running in to some performance issues which seem to be at an OS level and I'm wondering if anyone else has used this configuration with success. No issues whatsoever once we got used to the style of Win2008 R2, it's a very nailed-down OS. A cluster of servers running at 5 - 8 concurrent continuously with SQL2008 backend, also 64bit. The servers run at minimal CPU usage, the restrictions are memory ones rather than grunt. We also have a couple of web-only asset servers spitting out all of the graphics, etc., with a NAS behind them and they do put in the occasional pause waiting for things so your running of a NAS might be the issue. We run full CF code on every server with a sync tool to keep everything in order. and the speed of response. (All of the above is VMware Virtual Machines running off a SAN so there is network latency for the disks, just a different sort) -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Garbage Collection viewers
Hi, Does anyone have any recommendations for garbage collection viewers? GCViewer doesn't work well with JVM 1.6 GC logs, and I've had trouble getting visualgc under jvmstat working. I have an existing gc log file I need to view visually :) Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: CF IDE
I was using CFEclipse, but now use CFBuilder, If you don't have the money to spare to get CFBuilder, then CFEclipse is still pretty good, it has pretty much all you need to get by developing in ColdFusion. ColdFusion Builder as mentioned already has more features, is more streamlined and allows you to integrate the IDE into the server end more, better for debugging coldfusion etc (you can find what it does on Adobe's site). I'd recommend it, though it's only just come out of Beta and there will no doubt be more updates for it in the near future to further improve it. I'd recommend it if you can stump up the cash for it, or unless you work at an educational institution and can get a free license for it, like me :) Barry. On May 4, 8:38 pm, Dale Fraser d...@fraser.id.au wrote: Yeah Flash Builder, they changed the name, so there is only one product. Not to be confused however with Flash Professional. Flash Builder is for building Flex Applications mostly Flash Professional is for building timeline based flash movies mostly. Although the edges are blurred. Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.comhttp://cfmldocs.com/ http://learncf.com http://flexcf.com From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Mark Mandel Sent: Tuesday, 4 May 2010 6:24 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] CF IDE Yup, you can either a) Purchase CF Builder, and get a free copy of Flash Builder Standard b) Purchase a copy of Flash Builder Premium, and get a copy of CF Builder along with it for free. Works out either way. Mark On Tue, May 4, 2010 at 6:22 PM, Steve Onnis st...@cfcentral.com.au wrote: It does? Flex builder (Flash Builder) is a separate product isnt it? -Original Message- From: Dale Fraser [mailto:d...@fraser.id.au] Sent: Tuesday, 4 May 2010 6:22 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] CF IDE CFBuilder is the way to go, sure its not free, but it includes Flex Builder also. Its worth the spend. Regards Dale Fraser http://dale.fraser.id.auhttp://cfmldocs.comhttp://learncf.comhttp://flexcf.com -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Scott Thornton Sent: Tuesday, 4 May 2010 3:40 PM To: cfaussie@googlegroups.com Subject: [cfaussie] CF IDE Hi, A co-workers Macromedia Dreamweaver MX has recently stopped working which has started me looking into getting our IDE's updated. Now I know CFECLIPSE on top of ECLIPSE worked okay, so I am surprised to learn that the new Coldfusion Builder is priced at $299 US dollars. Is CFECLIPSE now no longer available? Does CF Builder have functionality that does not exist in CFECLISPE ? Is CFEclipse now no longer developed\in use\recommended? Dreamweaver CS4 is priced at $330 US I think, but as we don't do real web development, and we don't use any of the fancy features of DW MX, Coldfusion Builder seemed a good fit. What do you use? Scott Thornton, Acting System Administrator Centralised Billing Unit Hunter-New England Area Health Service ext: 53361 p: +61 02 498 53361 m: 0413 800 242 -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com mailto:cfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com mailto:cfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com mailto:cfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com Hands-on ColdFusion ORM Trainingwww.ColdFusionOrmTraining.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to
[cfaussie] Re: Performance Tuning Again
To eliminate the possibility of any network related issues, you could simply remote in to the server itself and request a page off it (if your setup allows) and see how it goes? Also, have you set up a basic page that only outputs a hello world type message to make sure there is not something else on the page causing slowness at the client end? (If you try this, don't forget to put it in its own folder with an empty Application cfm file so you are not having any other application cfm or cfc files including stuff into your page automatically), or even just a basic .html file, does that take a long time if you request it and bypass coldfusion all together? Barry. On Apr 25, 12:29 pm, MrBuzzy mrbu...@gmail.com wrote: One other gotcha to consider; If when you installed the jrun connector you ticked 'turn on verbose debugging'* the connector spends a significant time writing its log file, which gets big very quickly. CF appears to be working fine, but the page takes a long time to return to the browser. *may not be the exact wording. On 4/25/10, Andrew Myers am2...@gmail.com wrote: Fantasic Charlie, this sounds like it could make sense. I will check this out. Sent from my iPod On 25/04/2010, at 2:47 AM, charlie arehart charlie_li...@carehart.org wrote: Here's still another thought, though I do agree Mr.B and Kai that this could reflect time spent pulling down and rendering the debugging info. I'll point out as well that it could instead be a problem with the page not executing immediately in CF. The debugging output shows the actual time spent executing once it gets to CF, not the time getting to and from it. While some may realize that would not include network time to and from the server, perhaps as important is that it also does NOT reflect the time spent *waiting* to execute in CF (queued) on the server. If ever there's a situation where all the simultaneous request threads are full or nearly full, then new requests may queue waiting to get a chance to run. Again, it's easy to miss that this time is NOT reflected in the debugging output (nor is it tracked in the CF Server Monitor, FusionReactor, SeeFusion, etc.) Among the easiest ways to determine if that's happening (queuing) is to watch the CFSTAT command line output (available in [cf]\bin) or getmetricdata(perf_monitor) or Windows PerfMon. Note that you do need to enable these (cfstat, perfmon) in the CF Admin, and also important: NEITHER is available for Multiserver deployments. For multiserver deployments (and indeed any CF deployment from CF 6 on) you can also see queuing if you enable JRun metrics. Finally, a little known tip is that the CF 8/9 Enterprise Multiserver monitor shows queuing in its detail view, if you mouse over the active requests column, or double-click on a monitored server to see it in the details shown at the bottom of the screen. To be clear, each of these can at least report how much queuing (if any) is happening. (Beware the avgQ time metric in CFSTAT and getmetricdata/perfmon report the average of the last two completed requests, so not always useful.) HTH /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Andrew Sent: Saturday, April 24, 2010 8:17 AM To: cfaussie Subject: [cfaussie] Performance Tuning Again Hi Folks, A quick question. If when I enabled debugging it is showing that a page is taking say 200ms but it's more like 4-5 seconds before the browser gets a response, does that point to a network issue? Or could there be something else CF related going on that the debugging view isn't showing? Many thanks, Andrew. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en . -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- Sent from my mobile device -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email
[cfaussie] Total server ram for high load websites
Hi, Does anyone run coldfusion with high load websites? If so, how much total ram does your server have, and what version of coldfusion do you run, and is it 64bit or not? :) Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion 9 and verity in multiserver configuration
Hi, Has anyone tried to use Coldfusion 9 and verity set up in multiserver configuration with success? We have a couple of front end servers, with a backend server, but we want those two front end servers to connect to the verity server on the backend server. Apparently this is just a simple case of specifying the 'Verity host name' in the 'Data Services Verity K2 Server' section in the Coldfusion administrator. This however is not working, when we try to use the cfsearch tag from the front end servers, we just get 'collection does not exist' errors, the collection does exist, and we can use the cfsearch tag just fine on the backend server. we are on 64bit windows server 2008 by the way. I'm stumped :) Regards Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion 9 and verity in multiserver configuration
After much banging of head against the wall, I managed to find a solution. I had to add the IP addresses of the front end servers to each TrustedClients tag in the admin xml file in \verity\Data\hosts\admin \ We will be moving to lucene in the near future anyhow, but we're stuck on verity for now. Which is good mind you because I'd have to say, Verity is the most poorly documented thing i've ever come across :) Barry. On Apr 14, 2:27 pm, Andrew Myers am2...@gmail.com wrote: Interesting. I am possibly going to investigate migrating from Verity = Solr in the near future also. has anyone on the list been through this before and can comment on how easy or difficult it was? Are there any useful guides on doing this? Regards, Andrew. On 14 April 2010 12:17, MrBuzzy mrbu...@gmail.com wrote: Hi Barry, I looked in to doing this circa 2007. I'd suggest trying to wrap it in a web service. Not sure if the Solr Service would be a better alternative. Instead of trying to explain it, here's Jason Delmore's response to me verbatim; The license we have for CF only allows one CF server to connect to one verity server. Verity (now Autonomy), sells an add-on that allows you to connect multiple servers to one Verity server. You can however install verity on a separate server (still only connecting from one CF server). Maybe an uber search server with just one CF front end that all of the other CF servers hand search services off to (on the CF side… not the verity side..) is something you would want to do. If you are interested in the add-on, I can forward your info onto my contact at Autonomy to have someone contact you. Cheers. On 14 April 2010 06:51, BarryC barrychester...@gmail.com wrote: Hi, Has anyone tried to use Coldfusion 9 and verity set up in multiserver configuration with success? We have a couple of front end servers, with a backend server, but we want those two front end servers to connect to the verity server on the backend server. Apparently this is just a simple case of specifying the 'Verity host name' in the 'Data Services Verity K2 Server' section in the Coldfusion administrator. This however is not working, when we try to use the cfsearch tag from the front end servers, we just get 'collection does not exist' errors, the collection does exist, and we can use the cfsearch tag just fine on the backend server. we are on 64bit windows server 2008 by the way. I'm stumped :) Regards Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion JRun Max handler threads setting
Thanks Charlie, Your point about other things such as datasources creating threads is a good one, and yes our environment does generate a lot of database connections. I don't believe it's limited, and I'll find out what the timeouts etc are. We are on Coldfusion version 7.03 with JRun 4 updater 6, using JVM 1.4 (but this is all soon to be updated). I'll see if I can monitor threads, do you have any suggestions on how best to monitor threads with either FusionReactor or JRun logging? Thanks Barry. On Apr 13, 4:02 am, charlie arehart charlie_li...@carehart.org wrote: Barry, for what it's worth, I'll offer some more thoughts. You're on the right track. First, I'll concur with Kai and your observation that this is about the possibility of the heap being high, thus constraining the space left for creating stacks. As Kai noted, it's counterintuitive because we all assume outofmemory means out of heap, but it doesn't. Yours is due to running out of stack space, not heap. As such, yes, lowering the stack size can help, but as you note, if your config's default is 256k (which others should note as Kai said is dependent on jvm, os, and architecture) so you're leery of lowering it more. You can, but just watch out for errors due to stackoverflow. It's a delicate balance. You're right to focus first on just lowering the heap. Especially if you have some means to have monitored and confirmed that you're not having outofmemory errors due to running out of heap. (And you can't use as a gauge whether you've hit the heap max, as shown in some monitoring tool, because you usually will. The question is whether when the system did a GC, did it recover a lot. If so, and consistently, then you can afford to lower the heap. Just watch out for possible new oom: heap space errors.) But then there is also the matter, as you brought up originally, of lowering your thread use. As much as the max threads may seem to be the issue, it may not be. Rather, there are MANY things that create threads in a CF/JRun environment. It could be datasource connections. Do you have them limited at all? Timing out? Even then, there have been bugs where they've not timed out when they should. What CF version are you running? And what hotfixes? And are you sure you have the right ones? (It's easy to have mis-implemented 8.0 hot fixes on an 8.0.1 server, and vice versa, for instance.) You can also enabled JRun metrics to track the various thread pools, which can help identify if something is getting out of whack. You can also monitor thread use from the jrun.exe process, from the OS perspective, which can help. The good news is that this problem can be solved, generally, once you have a clearer idea of what the problem is (and is not). /charlie From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Barry Chesterman Sent: Monday, April 12, 2010 12:03 AM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] RE: Coldfusion JRun Max handler threads setting Thanks for the replies. I will do some load tests with adjusting the queued threads setting, from what I've read, the 'unable to create new native thread' errors are related to having a large heap size (which we do) and the operating system not being able to spawn new threads (as an OS thread is spawned to keep track of each JVM thread). We previously had standard 'out of memory' errors which were in fact related to a heap size that was too small. Kai, we use JVM 1.4 at the moment, and thread stack size is by default 256KB, so I don't think i'll look at adjusting that as 256KB is supposed to be pretty low, Apparently JVM 1.5 upwards use 1MB :O! We have our max handler threads (wait queue) at 500, and our active threads at 25, I'll have a go at decreasing the heap size and max handler threads and do some load testing. Thanks for your help all. Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion JRun Max handler threads setting
Hi all, Can anyone provide any advice on settings for the Max handler threads? As far as I know this is just the queue that threads sit in before being moved to the 'active handler threads' pool where they are actually executed. So new requests to the web server will sit in this queue until the server is free to process it. Our server processes threads pretty fast, but we have an issue at the moment where we get java.lang.OutOfMemoryError: unable to create new native thread on the odd occasion, normally when something hammers the server for a long period of time, I am going to possibly scale back the memory allocated to JRun so the operating system has more to play with, but I'm wondering if reducing the max handler threads pool will help this as well as there will be less total threads using up operating system memory? We don't actually need a large wait pool and it'd be better if requests got a server busy message rather than bloating out the available threads and thus operating system memory. Cheers Barry Chesterman. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Slow Server Startup Time
Is there anything else running on the server, what is the CPU grunt like on the server? The best bet would be to monitor the server and see what resource usage is like on it when you start Coldfusion and then your script. Also, you could set a custom timeout value in your script with the cfsetting tag so it at least starts without timing out. What is your timeout set to? Barry. On Mar 27, 1:24 pm, Andrew Myers am2...@gmail.com wrote: Hi Guys, I'm in the process of configuring a new server from scratch and I'm running into some issues with ColdFusion taking a long time to start up. After a start or restart I get the following error when I try and access my site for a few minutes: Server ErrorThe server encountered an internal error and was unable to complete your request. *Application server is busy. Either there are too many concurrent requests or the server still is starting up.* Then when that finally completes, I am getting a cffile timeout when my app is loading it's ColdSpring config. I have previously installed this on another server without seeing these problems. The server I am seeing the problem on is 64bit with 32Gb RAM (the other one was 32bit with 4Gb RAM) so I am concerned it is slower Both are ubuntu, running CF9 and I did the install of CF myself on both of them. Has anyone seen this before and if so do you have any advice on how to improve (or even debug) this? Regards, Andrew. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion XML, adding an XML node from another XML document object
Thanks, yes I had stumbled across that in my hunting. Seems odd how there are not some proper Coldfusion commands for that sort of stuff, it's like they decided to make half the XML functions and then gave up. On Mar 4, 11:49 am, Kym Kovan dev-li...@mbcomms.net.au wrote: On 4/03/2010 07:17, BarryC wrote: Hi, I've hunted around for a solution to this but haven't found a simple or clean one (maybe there isn't one) but maybe someone here has some suggestions. I have two XML objects and I want to take an XML node from one and insert it into the other Ben Nadel has some nice tools: http://www.bennadel.com/blog/1532-Copy-Import-XML-Nodes-Into-A-ColdFu... we grabbed a bunch of his XML tools and other stuff we found and put them in a XML utility CFC, it gets used lots :-) -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: CFBuilder
You can easily import projects into CF Builder (there is an import option somewhere through the right mouse menu in the project/navigator panel). I've tried the CFBuilder plugin in Eclipse and in Flash Builder (Eclipse also) In normal eclipse it didn't work at all (but I think that was to do with my eclipse version). In the Flash Builder eclilpse install it seemed slow and frequently hung for about 5 mins or so. I ended up installing a standalone CFBuilder to see how that goes instead but I've found I have to turn off all the auto building, project refreshing and on the fly error checking. I'm pretty sure you can add other eclipse plugins into CFBuilder tho :) Barry On Feb 20, 12:33 pm, Andrew Myers am2...@gmail.com wrote: Hi, I finally downloaded the Beta of CF Builder yesterday. A couple of quick questions. Currently I have everything in CFEclipse. Are these projects able to be easily imported? Also, I installed the standalone edition. Can I add other Eclipse plugins to this? In particular I need subclipse for svn support, and I'll probably want mxunit as well. Perhaps I should have installed CF Builder as an eclipse plugin itself instead? Andrew. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion7 to Coldfusion8, JVM config
Hi, We are migrating from Coldfusion7 to Coldfusion8 and I wondered if anyone was up to date on the config parameters for the JVM for Coldfusion 8 (JRE 1.6.X) and has some recommendations. What by the way (if somebody knows) is Dsun.io.useCanonCaches or DJINTEGRA_NATIVE_MODE or DJINTEGRA_PREFETCH_ENUMS and are any of those three required for CF8? The following is the config line we use for our Coldfusion7 environment (seperated for easy reading): java.args=-server -XX:+UseParallelGC -Xmx1450m -Xms1450m -XX:PermSize=110m -XX:MaxPermSize=110m -XX:NewSize=256m -XX:MaxNewSize=256m -Dsun.io.useCanonCaches=false -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS - Dcoldfusion.rootDir={application.home}/ The following is what we have for our Coldfusion8 environment: java.args= -Xmx1450m (heap size to be tested, not implemented yet) -Xms1450m -XX:PermSize=110m -XX:MaxPermSize=110m -XX:NewSize=256m -XX:MaxNewSize=256m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/ Thanks Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion7 to Coldfusion8, JVM config
Thanks. We are in the process of running it in a test environment :) On Feb 19, 3:01 pm, Kai Koenig k...@koeni.de wrote: Barry, I wouldn't get religious when it comes to JVM config for such a move. As the only thing you seem to have changed in the CF 7 JVM args are memory sizes, I would for a start just go with those settings on CF 8 and see how you go. Monitor the machine and it's memory, stats, CPU, logs, GC etc and make changes as necessary. You have simulated the migration in the dev and staging environments, right? Cheers Kai Hi, We are migrating from Coldfusion7 to Coldfusion8 and I wondered if anyone was up to date on the config parameters for the JVM for Coldfusion 8 (JRE 1.6.X) and has some recommendations. What by the way (if somebody knows) is Dsun.io.useCanonCaches or DJINTEGRA_NATIVE_MODE or DJINTEGRA_PREFETCH_ENUMS and are any of those three required for CF8? The following is the config line we use for our Coldfusion7 environment (seperated for easy reading): java.args=-server -XX:+UseParallelGC -Xmx1450m -Xms1450m -XX:PermSize=110m -XX:MaxPermSize=110m -XX:NewSize=256m -XX:MaxNewSize=256m -Dsun.io.useCanonCaches=false -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS - Dcoldfusion.rootDir={application.home}/ The following is what we have for our Coldfusion8 environment: java.args= -Xmx1450m (heap size to be tested, not implemented yet) -Xms1450m -XX:PermSize=110m -XX:MaxPermSize=110m -XX:NewSize=256m -XX:MaxNewSize=256m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/ _ Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web:http://www.ventego-creative.co.nz blog:http://www.bloginblack.de twitter:http://www.twitter.com/agentK -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] FusionReactor vs built in Coldfusion 8 monitor
Hi All we are looking at getting FusionReactor, but will be upgrading from Coldfusion 7 to Coldfusion 8 in several months. How does FusionReactor compare to the Coldfusion 8 monitor tool built in to the CF Administrator, does it provide much on top of the Coldfusion 8 monitor, or is it worth just waiting till we upgrade to Coldfusion 8? Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: FusionReactor vs built in Coldfusion 8 monitor
Thanks Carlie, useful info. On Feb 9, 11:54 am, charlie arehart charlie_li...@carehart.org wrote: Barry, to be clear, just upgrading to CF8 won't get you the CF Server Monitor--you do need to be using the Enterprise (or Developer) edition. As for how they compare, no one has done a close analysis (that I know of). I will say that I use both, every day, often on the same server (both my own and those of others): yes, that means that I and others run FusionReactor on CF 8/9 Enterprise/Developer servers. It may seem redundant, but it's not. For instance, FR does tremendous logging. The CF Server Monitor does none. Sometimes, you need to see details of what was happening in the past (such as before a crash, or just hours/days/months ago), and having those FR logs can be vital. They track each request, each query (if such tracking is enabled for a DSN), as well as overall stats every 5 seconds (by default) which high-level counters like number of running/completed requests, number of running/completed queries, memory use, CPU (CF and system), and more. I am also surprised to find that both the memory graph in both the CF Monitor and SeeFusion show the top of the y axis as the amount of *allocated* memory, rather than the max memory (xmx). Of course, if mxs=xmx, then it's not an issue, but for those who do run xmsxmx, the graphs in those other monitors can lead one to think memory is running out, when it's not. All that said, I'm a fan of all three monitoring tools. Each adds something that the other doesn't. My focus here was more on your specific point, about whether a CF 8/9 Enterprise server would benefit from having FR as well. And again, for sure, if you're not going to be running Enterprise, then you will want to consider either FR or SF (or both). I actually run all three (on multiple servers) and have found there to be no negative impact from them, though I realize our inclination would be that any monitoring must cause some overhead. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Monday, February 08, 2010 5:25 PM To: cfaussie Subject: [cfaussie] FusionReactor vs built in Coldfusion 8 monitor Hi All we are looking at getting FusionReactor, but will be upgrading from Coldfusion 7 to Coldfusion 8 in several months. How does FusionReactor compare to the Coldfusion 8 monitor tool built in to the CF Administrator, does it provide much on top of the Coldfusion 8 monitor, or is it worth just waiting till we upgrade to Coldfusion 8? Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: CF7 (and 8) High CPU usage on production box
GCViewer as Kai mentioned is a good one, I have used that and it gives you a good graphical view of when collections are happening. http://www.tagtraum.com/gcviewer.html Makes it really easy to see when major GC's are happening :) It does have a real time view where you can watch it as it logs (but i've found that a bit buggy) alternatively you can just load a log file from several hours and just view that. Barry On Feb 4, 11:21 am, Kai Koenig k...@koeni.de wrote: You have to log it on the JVM level or run a JVM monitoring tool. The memory usage graph in FR is a good first indicator but depending on your JVM settings GC might be so minimal that you won't be able to really tell what's going on. Without proper logging you also won't be able to tell if it's been a Full GC or which Generation had triggered it. Add something like this to your JVM args: -verbose:gc -Xloggc:mylogfile.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps Note, there are a lot more attributes that control the logging, just depends on what you want and need. Or look for tools like: VisualGC, GCViewer and a lot of others. They all basically help you with one or the other aspect, gain depends on what you want. Cheers Kai On 4/02/2010, at 11:10 AM, Andrew Myers wrote: Thanks Mark. Is anyone able to please tell me how I can identify when garbage collection is happening? On 4 February 2010 07:59, Mark Mandel mark.man...@gmail.com wrote: Those are the threads in the thread pool waiting to be used. They aren't doing anything. Mark On Thu, Feb 4, 2010 at 12:05 AM, Andrew Myers am2...@gmail.com wrote: Ummmme again :-) I'm seeing about 20 of these in my thread dump. Is anyone able to tell me if they anything to be concerned about? Thread Stack Trace Trace Time: 23:35:12.743 03-Feb-2010 Thread ID: obj-skimmer Priority: 5 Hashcode: 22419531 obj-skimmer daemon prio=5 tid=0x00a5a0a0 nid=0x99 in Object.wait() [0x9cb01000..0x9cb019c0] at java.lang.Object.wait(Native Method) - waiting on 0xbedddb30 (a coldfusion.server.j2ee.pool.PoolSkimmerThread) at coldfusion.server.j2ee.pool.PoolSkimmerThread.run(PoolSkimmerThread.java:47) - locked 0xbedddb30 (a coldfusion.server.j2ee.pool.PoolSkimmerThread) at java.lang.Thread.run(Thread.java:534) -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.com/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en. _ Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web:http://www.ventego-creative.co.nz blog:http://www.bloginblack.de twitter:http://www.twitter.com/agentK -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion, Taking a thread dump when response times increase?
Hi, Does anyone know if there is a way to generate a thread dump automatically when server response times increase? I know how to do one manually, but that's no good if I'm not around when the response times increase. Does FusionReactor do this by any chance? Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Coldfusion, Taking a thread dump when response times increase?
Awesome, thanks Charlie, I did not remember reading that (or I read it in a rush) :). Barry. On Feb 2, 4:36 pm, charlie arehart charlie_li...@carehart.org wrote: Yes, Barry. That's what I was referring to late last week: On the matter of FR's CP, let's clarify that there are two uses of the CP feature. The first is just to notify you when conditions exceed the limits you mention (like a request taking more than x seconds, more than x requests running at once, less than x% memory available). If you just have it notifying you by email, that can be very helpful. Indeed, I often recommend it. ... What I really like about the notifications (any of these create) is that they include additional detail like what requests are running at the time, how long, etc. and they include a thread dump: a list of all running requests and a stack trace of each, which helps you see down to the line of code what the request is doing. Again, once you've been shown how to understand those, it can be so valuable to solving problems. I'll be talking about how to get and analyze stack traces for CF requests (with both built-in and third-party tools) as my talk at cf.Objective() in April. Until then, a google search will turn up many discussions of how to get and use stack traces in CF. So yes, you can get thread dumps from FR on an automated basis. As you note, it's really vital for being able to solve problems when you're not there. And as I noted in that same message, what FR call's Crash Protection, the CF 8/9 Monitor calls Alerts, and it too can send you an email with the thread dump (in what it calls a snapshot). /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Monday, February 01, 2010 7:16 PM To: cfaussie Subject: [cfaussie] Coldfusion, Taking a thread dump when response times increase? Hi, Does anyone know if there is a way to generate a thread dump automatically when server response times increase? I know how to do one manually, but that's no good if I'm not around when the response times increase. Does FusionReactor do this by any chance? Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: CF7 (and 8) High CPU usage on production box
If you're stumped for optimisation of a long running task, then having a scheduled task is a great idea, but even when the scheduled task runs, unless it's optimised it could still cause a performance hit. An idea might be to put a 'thread wait ()' in your loop to allow other things to run otherwise it will try and run the loop as quickly as possible. Coldfusion 8 has a built in tag for that, for Coldfusion 7 or earlier you need to call the a java thread function which is straight forward but you need to google to see how to do it. Depending on your environment, any heavy tasks are always worth shifting off your production environment onto a separate one (and push the result to production). Not always feasible tho :) Barry On Feb 2, 4:26 pm, charlie arehart charlie_li...@carehart.org wrote: Andrew, does that fair bit of nested cflooping show a CFQUERY buried within that loop? Where it's taking data from the one query and using it to do another? If so, that's a classic case where perhaps a join would solve the problem. CFML developers often fall into a trap of having CF do work that the DB should be doing. If the code you're wrangling with is doing the above, it may be good value to evaluate the prospects of doing a join (whether a traditional inner one, or the less well known outer-which is another reason some drop to doing nested CFQUERYs if they don't understand it). Also, as for your comments on caching and batch execution, those are all worthy of consideration, sure, as long as you can manage it to be accurately based on potential underlying data, as you say you are considering. There are still other forms of caching, both built into CF and available programmatically based on external libraries, that may be worth considering if you don't solve the problem though optimization. /charlie From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Andrew Myers Sent: Monday, February 01, 2010 8:45 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Re: CF7 (and 8) High CPU usage on production box Update: This page generates a report from a query that itself takes about 29 seconds (and I am not sure I can do a lot to improve that without getting some cooperation from the guys who write the product I query out of, and that isn't likely to happen quickly). I've been caching the page with a roll your own custom tag. The tag checks a timestamp on the database and forces a regeneration whenever it is necessary (it will change no more frequently than every 15 mins). What appears to be burning up the CPU is a fair bit of nested cfloop'ing that's happening in the page. FR reports a heavy ColdFusion hit on the CPU of my laptop when I run this page and nothing else at all is happening. Some thoughts: I can try and generate these reports via a batch job and only make them available to the user once they're finalised. This might stop requests queuing while the page generates? The fact that it seems to chew CPU even when it's running in isolation seems to tell me it could be a waste of time though. Which leads me to the next thought - does CF loop just really suck? I have replaced it with a cfoutput in one part that I can easily do so and it seems to have improved it slightly. I may well end up having to do a complete rework I think. And that's assuming this is the only problem, and I doubt it is... -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: CF7 (and 8) High CPU usage on production box
There are many ways to go about finding what's going on in Coldfusion. Elaborating on what Kai was mentioning about metrics/garbage collection/memory.. Have you had a look in the logs from the JVM and ColdFusion to see if there are any error messages that might be related? The first thing you could do is turn on logging of long running requests (somewhere in coldfusion administrator) That might give you some clues as to what pages could be causing more load / cpu usage. Enable logging of metrics to see if you may have too many active handler threads (concurrent running processes of requests), you may need to configure some settings to optimise these values. The second thing you could do is do some thread dumps (you can do this either with a utility - there is one called StackTrace' or you can do it manually from a command prompt after you manually start coldfusion) Do several heap dumps every 10 seconds and see if there are common functions or pages coming up in the thread dump (the things that need more processing should come up more frequently in those logs). Thread dumps are generally used if you find you are getting bottlenecks in your application and you need to find what parts of your app could be doing the bottlenecking. So if you aren't getting long running pages then you may not need to do this. If you think it's memory related (and if you are getting tight on memory for your application, that will cause more 'Major' garbage collection events using more CPU) then you can enable garbage collection logging, a free analyzer tool called GCViewer http://www.tagtraum.com/gcviewer.html lets you get a graphical view of what's going on as a memory overview. If it looks like you have a memory problem, then you can generate heap dumps and use something like the Eclipse memory analyzer plugin (MAT) to view the heap dump log. Google will tell you how to generate heap dumps. An awesome profiling tool that I found very useful was Oracle's Jrockit Mission Control (used to be owned by BEA or something arather). It's free for development and you can do profiling with that and see pretty much everything that's going on in coldfusion. You do have to update your config file to point to that though, and it could be slightly dodgy running it in a production environment, it's more something you use in a development environment. There's a lot to learn when it comes to the under the hood performance and memory stuff but it's quite interesting and very good to know as a developer how all that stuff works. Barry On Jan 25, 4:20 pm, Andrew am2...@gmail.com wrote: Hi Folks, My hosting company has just informed me that the CF7 instance for a site I maintain is using about 65% CPU at the moment (on a Solaris machine). The site uses quite a few frameworks - ModelGlue, ColdSpring, Transfer and Javaloader. We have recently attempted to move this to CF8 but aborted the attempt because it basically just ground the server to a halt. So I think there is something more sinister going on here that I need to sort out before we attempt that again. However I'm a bit stuck with where to go from here. The site has been going along quite nicely until recently. Traffic has grown quite a lot in the last 1-2 years which I'm sure is not unrelated. Just to throw a few extra spanners into the works I *believe* this is a shared server but I have no information on what else is running on it and whether that could possibly be causing us problems. I know this is very very vague but I don't get a lot of info from our hosting provider except that we are using up too many resources. Perhaps we have just outgrown our current hardware, but I am not sure how to confirm this. Any suggestions on what I could start looking at to track down the source of the issues would be hugely appreciated. Andrew. P.S. I do have a development server which is identical except that it only has 2GB RAM as opposed to the 4GB in production. Load testing on this is definitely an option - I have used JMeter in the past but not sure I have used it optimally. Anyone got any suggestions on load/ stress testing tools? -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Coldfusion 7 with JVM 1.6 and Verity
Hi, I was wondering if anyone here has managed to get Verity search to run without error using JVM 1.6 (or anything over 1.5) on Coldfusion 7. It is not officially supported to work with JVM 1.6 but i'm wondering if there is a work around. For the most part verity is actually working, but you can't manage collections from within coldfusion administrator (throws up an error). Any help would be great, but I'm not actually expecting a solution for this as it's probably fairly uncommon. Regards Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Session timeout errors.
I'm not sure what web server software you are running on, but if it's IIS, could it be the session time in that? (not that I've had any issues with IIS session times) Also, just on the off chance, you haven't put the timeout numbers in the wrong boxes, or the wrong values in the session input boxes in the coldfusion administrator have you? (just in case you haven't already double checked) On Dec 9, 2:03 pm, Gavin Baumanis b...@palcare.com.au wrote: i Everyone, Just thought I would check if anyone had any ideas abut a problem we're having. We have a CF7 application that has a session timeout of 1 hour. CF Admin has a session timeout of 4 hours and an application timeout of 2 days. It is standard install / non clustered. We have a check at the beginning of every template for a known session variable - and if it is not there we throw a custom error message. The issue is, that a few of our customers have reported that they are getting the session timeout custom error well inside the 1 hour (expected) limit. (some have said that it happens within 15 minutes) So I just thought I would check if anyone has any ideas on things we might check? We have checked the CF logs and they seem unremarkable. Our clients do not use proxy servers or load balancers - so that would seem to rule out non-session aware network appliances. As always, please contact me if I can be of any further assistance. Gavin Beau Baumanis Senior Application Developer PalCare P/L 657 Nicholson Street Carlton North Victoria, Australia, 3054 E: b...@palcare.com.au P: +61 -3 9380 3513 M: +61 -438 545 586 W:http://www.palcare.com.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Weird Problem Element is Undefined problem
Make sure you specify the scope (not sure if it will help, but it might) e.g. request.myStruct On Nov 25, 8:00 pm, MrBuzzy mrbu...@gmail.com wrote: Hi Chong, I'd ckeck for null by using IsDefined and dot notation. While the key may exist, the value could be null. Something like; cfif IsDefined('myStruct') and IsDefined('myStruct.myKey') cfset myValue = myStruct[myKey] /cfif Or cfscript eqivalent ;) Seems like overkill, but it might help reveal what's missing. On 11/25/09, Blair McKenzie shi...@gmail.com wrote: Is it possible x in y is returning items that aren't technically struct keys? Blair On Wed, Nov 25, 2009 at 5:05 PM, KC Kuok kck...@gmail.com wrote: Before i forget STRUCTVARIABLE = structCopy(Bigstruct.byExportKey [ExportID]) was without the structCopy before... did not make a difference... On Nov 25, 5:04 pm, KC Kuok kck...@gmail.com wrote: The struct is copied from a struct of struct generated earlier in the process, which parses an xml file... Then it loops through the Struct of Structs to do the logic. I am amazed that I can do a dump of the variable and the temp Struct on the line right before, but yet it says it is undefined when it hits that line... Is it something to do with scoping in For loops in CFSCRIPT... this is done in CF8 btw... for (portalExportID in Bigstruct.byExportKey) { STRUCTVARIABLE = structCopy(Bigstruct.byExportKey[ExportID]) ... ... ThisValue = STRUCTVARIABLE.THISFOREIGNKEY; ... ) If its nothing obvious I will probably rewrite it bit by bit and see what makes the difference... On Nov 25, 4:45 pm, Mark Mandel mark.man...@gmail.com wrote: Where did the struct come from? Maybe it's a Java Map object? Mark On Wed, Nov 25, 2009 at 4:37 PM, KC Kuok kck...@gmail.com wrote: When I try to get key value from a structure I get an error however if I do a dump function, I can see the struct AND the variable which is referred to similarly. E.g. ... ThisValue = STRUCTVARIABLE.THISFOREIGNKEY; ... I get Element THISFOREIGNKEY is undefined in STRUCTVARIABLE However If I do a dump function, dodump(STRUCTVARIABLE) or even dodump (STRUCTVARIABLE.THISFOREIGNKEY ) just before that line I can see the entire structure or just the value respectively. I can't see what is wrong, could this be a cfscript related bug ? Or am I missing something real obvious ? One of the things I thought maybe wrong is the scope, but even then it does not seem that anything is wrong with it... Dodump() is just a regular cffunction which passes the args to cfdump inside. Any thoughts? Thanks in advance! Chong -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com cfaussie%2bunsubscr...@googlegroups.comcfaussie%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- Sent from my mobile device -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Calculate variable size in bytes
Hi, Does anybody know if there is a way in coldfusion (or the underlying java language) to calculate the size of a variable in bytes? I want to calculate the size of a struct in bytes, but I cannot find a way to calculate it and there doesn't look to be any function that does it? Thanks :) Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
[cfaussie] Re: Persistent Scopes and Memory
Just in case anyone is interested, Today I did a test to answer my original question; Does data in the application and server scopes get stored in the tenured generation memory, or the permanent generation memory? I found that Application, Session and Server scopes all stored their 'data' in the Tenured generation space. The permanent generation is in fact used just for information about the data, 'classes' etc. Our site is in fact very large (university website) with lots of different classes, and our permanent generation was only using about 50 meg of the 250 meg allocated for it. Note that we run JRun4 with the Sun 1.4.2 JVM and Coldfusion 7. Barry On Nov 11, 5:14 pm, Pat Branley pbran...@gmail.com wrote: Hi Guys I was having a JVM problem with an app that was partially (MG/Reactor/ ColdSpring) and paritally old-school CF this last week and did 3 things 1. update to the latest JVM - JVM 1.6 update 16http://corfield.org/blog/index.cfm/do/blog.entry/entry/Java_6_and_Col... 2. set the garbage collection to run every 10 minuteshttp://www.cfwhisperer.com/post.cfm/sun-jvm-1-6-heap-memory-behavior-...http://www.webapper.com/blog/index.php/2006/06/08/20060606021131/ 3. Update to CF 8.0.1 updater 3http://fusiongrokker.com/archives/category/coldfusion-8 The first 2 seemed to stop the 'out of memory' errors every night, but no. 3 made the server actually run at a lower memory usage. Seems like there needs to be a special fullasagoog/mxna category for ColdFusion/JVM 'stuff'. Pat ps. while i could have used it last week, looking fwd to Cfobjective talk on JVM tuning this week! On Nov 8, 3:00 pm, Barry Beattie barry.beat...@gmail.com wrote: @Steve catch up with this guy http://cfobjective.com.au/index.cfm?objectID=27C7E0B3-1AA0-353A-5AF4E... he'll be in your neighborhood http://cfobjective.com.au/index.cfm?objectID=27CD659B-1AA0-353A-5ABF2... my 2c On Sun, Nov 8, 2009 at 12:44 PM, Steve Onnis st...@cfcentral.com.au wrote: yep. put them all in, restarted the server and it wouldnt start From: Mark Ireland [mailto:markinc...@hotmail.com] Sent: Sunday, 8 November 2009 12:43 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Persistent Scopes and Memory You tried everything he suggested, all at once? From: st...@cfcentral.com.au To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Persistent Scopes and Memory Date: Sun, 8 Nov 2009 05:17:12 +1100 I tried this on my CF8.01 64 Bit server and the server wouldn't restart..had to roll it back From: Kevin Pepperman [mailto:chorno...@gmail.com] Sent: Saturday, 7 November 2009 11:21 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Persistent Scopes and Memory I believe he is referring to: standard garbage collector can't collect in the permanent generation http://www.shadocms.com/shadozoom/company/blog/2009/jvm-perm-out-of-m... Adding the info in this post to our jvm config solved our perm gen memory issues. CF is doing 'small' garbage collection and 'large' garbage collection. /K BR Head to the Daily Blob on Windows Live For more of what happens online -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
[cfaussie] Re: Calculate variable size in bytes
oh, so that actually lets you see scopes like server, session, application to see what overall size they have, and sizes of things within them? I was under the impression that you could only see the low level data in memory. If that's the case, then I'll give it a go :) On Nov 18, 6:00 pm, Mark Mandel mark.man...@gmail.com wrote: I use Eclipse Memory Analyser for things like that:http://wiki.eclipse.org/index.php/MemoryAnalyzer You could also look at visualVM as well. Mark On Wed, Nov 18, 2009 at 3:57 PM, BarryC barrychester...@gmail.com wrote: for tracking down a memory issue. I have a suspicion that we are actually storing too much information in our application scope, so I want to be able to run a script to spit out the current size of the application scope, and possibly parts within the application scope. Barry On Nov 18, 3:17 pm, Mark Mandel mark.man...@gmail.com wrote: Do you need to be calculating at run time? Or is this for tracking down a memory issue? Mark On Wed, Nov 18, 2009 at 1:16 PM, Barry Chesterman barrychester...@gmail.com wrote: unfortunately it requires java 5 and we only have java 4 :( On Wed, Nov 18, 2009 at 1:57 PM, Barry Chesterman barrychester...@gmail.com wrote: Cool, thanks I'll give it a try On Wed, Nov 18, 2009 at 1:53 PM, Mark Mandel mark.man...@gmail.com wrote: The only way I know to reliably do this is through the sizeOf Project: http://sizeof.sourceforge.net/ But this does mean you have to include an agent with your JVM, and I don't know what the overhead of that agent will be. Mark On Wed, Nov 18, 2009 at 11:38 AM, BarryC barrychester...@gmail.com wrote: Hi, Does anybody know if there is a way in coldfusion (or the underlying java language) to calculate the size of a variable in bytes? I want to calculate the size of a struct in bytes, but I cannot find a way to calculate it and there doesn't look to be any function that does it? Thanks :) Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=. -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=. -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=. -- E: mark.man...@gmail.com T:http://www.twitter.com/neurotic W:www.compoundtheory.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
[cfaussie] Re: Trying to consume .Net Webservice
Is there any directory authentication going on such as .htaccess or IIS NTLM authentication? Can you paste a copy of the error you get when you request the web service? a .Net web service should be just like consuming any other web service, as web services are supposed to be a standard protocol. Barry On Nov 18, 6:18 pm, Dawesi daw...@gmail.com wrote: I'm looking for someone who can help me connect to a .Net webservice from Dept Of Education... I'm about to look at the CFX_HTTP5 com object from the component store... before that I was wondering if there was anyone with experience with common errors when consuming .Net webservices. I can see the wsdl descriptor page in both my browser and with coldfusion however I can't post to the service without getting a connection error. any hints would be appreciated... webservice is password protected so I can't give it out here, but is test environment, so can make an exception for anyone who has had experience. I also have a test page you could drop on your server. Cheers, Chris Dawes 043 three 99 44 two zero -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
[cfaussie] Re: Problems with webservice
Care to post the actual web service function you are actually calling? Normally that error means that the function you are calling does not have its 'access' set to remote (in the case of coldfusion anyway), or that function does not have those parameters available that you passed to it. Barry. On Nov 11, 5:28 am, João Paulo joaopaulo.bsi...@gmail.com wrote: hi, i´ve never used coldfusion to consume a webservice. Using the sintax that a I found on Adobe, I wrote this code. Now, I got thi error every time a run the code: Web service operation execute with parameters {password={100327},username={10032718713},} could not be found. Can anyone help me? -- JP My code: cfset ws_url = http://websga.dirad.fiocruz.br/rh/servlet/org.fiocruz.direh.arhws001? wsdl cfset my_method = execute cfset login = 10032718713 cfset pwd = 100327 cfset port_name = rhws001SoapPort cfset objWSDL = CreateObject(webservice, #ws_url#) / cfdump var=#objWSDL# !--- cfinvoke webservice = Web service name or WSDL URL method = operation name password = password proxyPassword = password for proxy server proxyPort = port on proxy server proxyServer = WSDL proxy server URL proxyUser = user ID for proxy server returnVariable = variable name refreshWSDL = yes|no servicePort = WSDL port name timeout = request timeout in seconds username = user name wsdl2javaArgs = argument string --- cfinvoke webservice = #ws_url# method = #my_method# username = #login# password = #pwd# returnVariable = my_result cfinvokeargument name=username value=#login# / cfinvokeargument name=password value=#pwd# / /cfinvoke cfdump var=#my_result# -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
[cfaussie] Re: OT : HTML page load tool
As Gavin mentioned, firebug should do what you need. Look in the 'Net' tab and it will give you a 'waterfall' view of all the elements loading in the page and will tell you what bits take the longest. http://getfirebug.com/ Barry On Nov 11, 5:32 pm, Brett Payne-Rhodes bret...@gmail.com wrote: For FireFox there is an extension called ySlow that might be be useful to you. https://addons.mozilla.org/en-US/firefox/addon/5369 Brett B) Steve Onnis wrote: I am wondering if anyone can recommend a tool that i can run in conjunction with either FireFox or IE that will tell me all of the elements on the page and if the element has loaded yet. I am having a bit of a bottleneck and i need to be able to see what is causing the page load to stall. Steve -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=. -- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 m: +61 (0)414 371 047 e: br...@ehc.net.au w:http://www.yoursite.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
[cfaussie] Re: cfthread - can I see if a thread is still running
You could just store a value in a persistent scope such as the application scope. When your ZIP thread completes, have it write a value to the application scope (such as a date/time stamp). The FTP thread can just check that value is set, if it is, then it knows the ZIP thread has completed. Barry. On Nov 2, 11:03 am, Mark King m...@ampersand.net.au wrote: Hi. I am writing a simple backup process using some set and forget style threads. One thread makes ZIPs and the other thread sends them elsewhere via FTP. I currently have these running as scheduled tasks, one on Sunday and the other on Monday. I am thinking of changing this so the FTP thread runs hourly, but checks the file sizes and last modified dates before sending the files, but I would also like the check if the thread that ZIPs the files up has completed, or is queued to be run. Is this possible? Can I check for the existence of a thread by name? I am using CF8 Standard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Coldfusion and JRun server loads
Hi, I'm not sure what most people have as a Coldfusion configuration, but we run Coldfusion on windows servers using JRun4, we use IIS as the web server and Jrun4 is set up as a connector. I'm currently load testing and trying different values for the maximum simultaneous threads, thread pool size, backlog size and timeouts. I'm wondering if anyone here has had experience configuring these values or knows enough about them to share some advice on them. Here are some values I have at the moment (these aren't the same as what we are using in our production environment). activeHandlerThreads 60 backlog 500 maxHandlerThreads 500 minHandlerThreads 1 timeout 60 threadwaittimeout 60 What I'm trying to do is get a good balance for normal server use, and also have the server not get bogged down and fall over if it gets flooded with too many requests at one time (we do have a proxy server in front preventing DOS attacks etc, but of course it doesn't prevent legitimate cases of high usage) I've seen around the net that Linux recommends about 200 to 400ish maxHandlerThreads but windows servers can have 1000 to 3000 (which seems odd, because I'm not convinced that windows could schedule that many threads) Any ideas / thoughts? Regards Barry Chesterman --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Coldfusion FORM scope randomly missing variables
Hi, I have a form scope issue that has me stumped. I have a non coldfusion script on a 'server A' which posts data to a coldfusion script on 'server B'. The form scope on server B sometimes does not pick up that something has been posted to it and is therefore empty. This seems totally random and I cannot see any reason why this would happen. I've tried this on three seperate coldfusion boxes with both coldfusion 7 and coldfusion 8. the script I am posting to is a simple cfdump var=#form# I've tried pointing the script on 'server A' to a php script on another server and it works fine, so it seems to only be a coldfusion thing. Any ideas? Thanks Barry Chesterman. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---