You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <de...@geronimo.apache.org> on 2005/11/02 19:52:55 UTC

[jira] Created: (GERONIMO-1128) Derby Log Viewer performance problem

Derby Log Viewer performance problem
------------------------------------

         Key: GERONIMO-1128
         URL: http://issues.apache.org/jira/browse/GERONIMO-1128
     Project: Geronimo
        Type: Bug
  Components: console  
    Versions: 1.0    
 Environment: Win32 w/ latest 1.4.2 JDK
    Reporter: Donald Woods


When the Derby Log Viewer is rendered on the Servers Log page, the DerbyLogHelper.java copying ALL lines from derby.log and sending it back as a request attribute.  As the Derby logfile grows, this will consume more server cycles and eventually impact other user apps and response time.

Also, the BufferedReader/FileReader is never closed, so this will leak a file handle everytime the page is rendered.

This portlet needs to be replaced with the logmanager/LogViewerPortet implementation, so users can choose how many lines to display....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1128) Derby Log Viewer performance problem

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1128?page=all ]

Matt Hogstrom updated GERONIMO-1128:
------------------------------------

    Fix Version: 1.1

> Derby Log Viewer performance problem
> ------------------------------------
>
>          Key: GERONIMO-1128
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1128
>      Project: Geronimo
>         Type: Bug
>   Components: console
>     Versions: 1.0
>  Environment: Win32 w/ latest 1.4.2 JDK
>     Reporter: Donald Woods
>      Fix For: 1.1

>
> When the Derby Log Viewer is rendered on the Servers Log page, the DerbyLogHelper.java copying ALL lines from derby.log and sending it back as a request attribute.  As the Derby logfile grows, this will consume more server cycles and eventually impact other user apps and response time.
> Also, the BufferedReader/FileReader is never closed, so this will leak a file handle everytime the page is rendered.
> This portlet needs to be replaced with the logmanager/LogViewerPortet implementation, so users can choose how many lines to display....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1128) Derby Log Viewer performance problem

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1128?page=all ]

Aaron Mulder updated GERONIMO-1128:
-----------------------------------

    Fix Version: 1.0
                     (was: 1.1)
        Version: 1.0-M5
                     (was: 1.0)
      Assign To: Aaron Mulder  (was: Donald Woods)

> Derby Log Viewer performance problem
> ------------------------------------
>
>          Key: GERONIMO-1128
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1128
>      Project: Geronimo
>         Type: Bug
>   Components: console
>     Versions: 1.0-M5
>  Environment: Win32 w/ latest 1.4.2 JDK
>     Reporter: Donald Woods
>     Assignee: Aaron Mulder
>      Fix For: 1.0

>
> When the Derby Log Viewer is rendered on the Servers Log page, the DerbyLogHelper.java copying ALL lines from derby.log and sending it back as a request attribute.  As the Derby logfile grows, this will consume more server cycles and eventually impact other user apps and response time.
> Also, the BufferedReader/FileReader is never closed, so this will leak a file handle everytime the page is rendered.
> This portlet needs to be replaced with the logmanager/LogViewerPortet implementation, so users can choose how many lines to display....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-1128) Derby Log Viewer performance problem

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1128?page=all ]
     
Aaron Mulder resolved GERONIMO-1128:
------------------------------------

    Resolution: Fixed

Fixed in revision 355267

> Derby Log Viewer performance problem
> ------------------------------------
>
>          Key: GERONIMO-1128
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1128
>      Project: Geronimo
>         Type: Bug
>   Components: console
>     Versions: 1.0-M5
>  Environment: Win32 w/ latest 1.4.2 JDK
>     Reporter: Donald Woods
>     Assignee: Aaron Mulder
>      Fix For: 1.0

>
> When the Derby Log Viewer is rendered on the Servers Log page, the DerbyLogHelper.java copying ALL lines from derby.log and sending it back as a request attribute.  As the Derby logfile grows, this will consume more server cycles and eventually impact other user apps and response time.
> Also, the BufferedReader/FileReader is never closed, so this will leak a file handle everytime the page is rendered.
> This portlet needs to be replaced with the logmanager/LogViewerPortet implementation, so users can choose how many lines to display....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-1128) Derby Log Viewer performance problem

Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1128?page=all ]

Donald Woods reassigned GERONIMO-1128:
--------------------------------------

    Assign To: Donald Woods

> Derby Log Viewer performance problem
> ------------------------------------
>
>          Key: GERONIMO-1128
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1128
>      Project: Geronimo
>         Type: Bug
>   Components: console
>     Versions: 1.0
>  Environment: Win32 w/ latest 1.4.2 JDK
>     Reporter: Donald Woods
>     Assignee: Donald Woods
>      Fix For: 1.1

>
> When the Derby Log Viewer is rendered on the Servers Log page, the DerbyLogHelper.java copying ALL lines from derby.log and sending it back as a request attribute.  As the Derby logfile grows, this will consume more server cycles and eventually impact other user apps and response time.
> Also, the BufferedReader/FileReader is never closed, so this will leak a file handle everytime the page is rendered.
> This portlet needs to be replaced with the logmanager/LogViewerPortet implementation, so users can choose how many lines to display....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira