Re: [ACFUG Discuss] Out of Memory?!?

2013-08-15 Thread Frank Moorman

All,

Again, thanks for the help. I found the real jrun logs (which is 
something I speculated about initially.) With CentOS/CF9 the jrun logs 
are not under */opt/jrun4/ *but they are actually located at 
*/opt/coldfusion9/runtime/logs/*. Needless to say, the jrun logs were 
helpful. It appears as if nearly all of the 503 responses are due to 
incomplete file uploads.


I am a little surprised that these errors are now being kicked out by 
jrun when in the past they made it to coldfusion. But because it seems 
that Java is not handling the error condition, I believe the reason why 
they no longer make it to coldfusion might correspond to when I changed 
from the JVM installed with coldfusion to a newer JVM installed 
separately. (I changed JVM's to get the latest security patches.)


Because the number of problems is less than 1% of the files that are 
uploaded, and it appears that our resources are not maxed out when it 
happens, I am assuming most of the blame for the problems is due to a 
network error on the sender side. (Many of our end-users are spread out 
across the country and use home internet connections of varying 
reliability.) I made the suggestion to the site owner that I rewrite our 
old upload dialog (a plain form allowing up to 6 files to be uploaded at 
once) with an ajax based solution that will single thread the files one 
at a time. I am hopeful that by limiting to a single file at a time, 
there will be fewer network errors.


Of course there is still the few 503 errors that happen without 
uploading data... There are not many and at the moment none are in the 
Jrun logs. I am hopeful that some of the changes I made in the last few 
days (including incoporating some of Charlie's suggest request changes.) 
might have helped. But my pragmatism trumps optimism when it comes to 
computers, so I convinced the owner to get a Fusion Reactor 
subscription. If/when the situation happens again, I'll have a few more 
tools to use to help figure out what happened.



FYI, here is the log entry that led me to the upload determination...

   08/13 12:41:48 error unexpected end of part
   java.io.IOException: unexpected end of part
at
   com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:96)
at
   com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:179)
at
   com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:152)
at com.oreilly.servlet.multipart.FilePart.write(FilePart.java:257)
at
   com.oreilly.servlet.multipart.FilePart.writeTo(FilePart.java:215)
at coldfusion.filter.FormScope.fillForm(FormScope.java:253)
at
   coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:408)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
at
   coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at
   
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at coldfusion.CfmServlet.service(CfmServlet.java:201)
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
   jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
   jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at
   jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at
   jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at
   
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at
   jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at
   
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

   08/13 12:41:48 error (JRun Service: ProxyService
   [jrun.servlet.jrpp.JRunProxyService@6988843a])
   JRunPRoxyServer.invokeRunnable:
   java.lang.IllegalStateException
at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
at
   jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
at
   jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at
   jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at
   

Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-15 Thread Chris
My ColdFusion Builder 2 has decided to be finicky again. From the heap monitor 
the memory used is 250M of 358M. 

In the progress view( windowshow viewothergeneralprogress), I see a message 
like Building Workspace(Sleeping), then another line which is Refresh 
Content(Sleeping) 

What could it mean?

Below is the error message, I get, when I try to close it using Task Manager


Description:
  A problem caused this program to stop interacting with Windows.

Problem signature:
  Problem Event Name:    AppHangB1
  Application Name:    CFBuilder.exe
  Application Version:    0.0.0.0
  Application Timestamp:    4d87abff
  Hang Signature:    f9d8
  Hang Type:    0
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Hang Signature 1:    f9d82b147b6ad3097a0d9c822ca02a2a
  Additional Hang Signature 2:    de0a
  Additional Hang Signature 3:    de0a40479120ea8170f842d4122846d6
  Additional Hang Signature 4:    f9d8
  Additional Hang Signature 5:    f9d82b147b6ad3097a0d9c822ca02a2a
  Additional Hang Signature 6:    de0a
  Additional Hang Signature 7:    de0a40479120ea8170f842d4122846d6




Am I missing any hotfixes for CFB2 or something else? I am running Coldfusion 9.

Thanks





 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Friday, August 9, 2013 3:25 PM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


Thanks for your kind regards, Chris. And isn’t it funny how troubling software 
can sometimes be like a petulant child: just when you starting watch it, it 
tends not to act up. :-) 

But patience, grasshopper. Yep, let’s see how it goes over time. Also, turn on 
the progress view (windowpreferencesgeneralprogress), to view background 
communications between CFB and CF (if you have connected any projects to a 
server). That too can be insightful, and perhaps your issues are only under 
certain forms of communications between the two.

As for other plugins, I would not immediately suspect that myself, no. I mean, 
aren’t those the ones that are built-into CFB? Everyone would be using them, 
and I promise not everybody has problems with CFB being resource hungry. As 
always, there is some explanation. You just need to find it. Hope the above 
(and below) will help.
 
/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Friday, August 09, 2013 12:51 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
Charlie,

Thanks for your advice.

I turned on the heap monitor and it has not crashed since then. Heap size is 
139M of total: 248M max: 495M mark:none . On doing garbage collection it 
drops to 64M of 248M 
If CF builder freezes again due to excess memory usage, I will increase the 
heap size.

But, under Window-preferences-general-Startup and shutdown I see all plugins 
in that window are activated at start-up

Coldfusion SQL Plugin
Appcode generation plug-in
...
...

Aptana scripting
Automatic updates scheduler

Could the fact that so many plug-ins are activated be causing CF builder to 
freeze? Also, I use Flash Builder 4.5(but that does not freeze often) lot of 
times along with CF builder. I understand some people have commented that 
Eclipse based IDEs are resource hungry even though my system was 8GB RAM

I appreciate your prompt response and time. 
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-