This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243861 - Slowness. High CPU usage processing tomcat log data
Summary: Slowness. High CPU usage processing tomcat log data
Status: RESOLVED DUPLICATE of bug 206281
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.0
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-16 10:30 UTC by ebergasa
Modified: 2014-07-18 15:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Messages log (555.15 KB, application/octet-stream)
2014-04-16 10:34 UTC, ebergasa
Details
.npss file attached from NetBeans (65.89 KB, application/x-npss)
2014-04-16 10:37 UTC, ebergasa
Details
Snapshot when occurring problem (860.30 KB, application/octet-stream)
2014-04-16 10:47 UTC, ebergasa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ebergasa 2014-04-16 10:30:55 UTC

    
Comment 1 ebergasa 2014-04-16 10:34:43 UTC
Created attachment 146777 [details]
Messages log
Comment 2 ebergasa 2014-04-16 10:37:30 UTC
Created attachment 146778 [details]
.npss file attached from NetBeans

.npss file
Comment 3 ebergasa 2014-04-16 10:40:09 UTC
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Comment 4 ebergasa 2014-04-16 10:42:56 UTC
It is really annoying, it's impossible to use it in a regular developing process.

It also happened with Netbeans 7.4. I upgraded to see if it was a  corrected bug, but same behaviour. The problem starts when starting first debugging session with tomcat.
Comment 5 ebergasa 2014-04-16 10:47:28 UTC
Created attachment 146780 [details]
Snapshot when occurring problem
Comment 6 Tomas Hurka 2014-04-18 13:00:40 UTC
According to last npss file, there is an excessive amount of logs from tomcat. They are processed by netbeans and displayed in output window. Reassigning to tomcat, to investigate if there is  way to optimise processing of tomcat output.  org.netbeans.modules.tomcat5.util.ServerLog$AnalyzingLineProcessor.processLine() in thread "pool-1-thread-1" and org.netbeans.modules.tomcat5.util.LogViewer$ContextLogSupport.analyzeLine() in thread "LogViewer - Thread" are taking considerable amount of CPU time.
Comment 7 Petr Hejl 2014-07-18 15:12:33 UTC

*** This bug has been marked as a duplicate of bug 206281 ***