Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023428
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformmajorhave not tried2013-03-28 01:402013-05-29 11:48
ReporteregoitzView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023428: When login the application the cpu consumes a lot of resources for few seconds and the memory also increases a lot

DescriptionWhen login the application the cpu consumes a lot of resources for few seconds and the memory also increases a lot.

Steps To Reproduce-Login the application while you are monitoring the system with visualvm.
*You will see that the cpu goes near to 100% for few seconds and that tomcat uses a lot of memory also for few seconds.

TagsPerformance
Attached Fileshtml file icon opener.html [^] (522 bytes) 2013-04-15 12:22
html file icon launcher.html [^] (759 bytes) 2013-04-15 12:24

- Relationships Relation Graph ] Dependency Graph ]
depends on design defect 0023550 closedalostale MenuManager resources consumption 
depends on defect 0023934 closedalostale Sequential scan on AD_Session when logging in 

-  Notes
(0057890)
alostale (manager)
2013-04-15 12:31

To test this issue.

* Open your /etc/hosts and add aliases to 127.0.0.1 with names lh1, lh2, ..., lhn where n is the number of simultaneous sessions to open
* Copy attached opener.html file to the web directory in your serving Tomcat
* Open your java profiler (such as VisualVM) and start profiling your OB instance
* Open with a browser attached launcher.html file, set number of sessions to open and interval in seconds. This will open a new popup for each session.
* Check times and memory consumption.

Executing this test for 20 sessions with 1 second interval, in a standard Openbravo instance removing all widgets in workspace, here you can find times splitted in different methods: https://docs.google.com/spreadsheet/ccc?key=0AmPGxKaZaJn-dGVOMXhGYzRGRlUzNWlmTHFJcGhtUmc&usp=sharing [^]

Also in this test case, analyzing a memory dump got after execution, it can be seen each of the 20 sessions is retaining ~7MB
(0057902)
alostale (manager)
2013-04-15 13:51

Updating to design defect to collect different issues related with resources consumed during log in/session change

- Issue History
Date Modified Username Field Change
2013-03-28 01:40 egoitz New Issue
2013-03-28 01:40 egoitz Assigned To => AugustoMauch
2013-03-28 01:40 egoitz Modules => Core
2013-03-28 01:40 egoitz Triggers an Emergency Pack => No
2013-04-02 08:41 alostale Tag Attached: Performance
2013-04-02 11:54 jonalegriaesarte Target Version => 3.0MP23
2013-04-15 12:22 alostale File Added: opener.html
2013-04-15 12:24 alostale File Added: launcher.html
2013-04-15 12:31 alostale Note Added: 0057890
2013-04-15 13:28 alostale Relationship added depends on 0023550
2013-04-15 13:51 alostale Note Added: 0057902
2013-04-15 13:51 alostale Type defect => design defect
2013-04-15 13:51 alostale Target Version 3.0MP23 =>
2013-05-29 11:48 alostale Relationship added depends on 0023934


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker