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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016025
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajorsometimes2011-02-22 16:562011-02-28 18:14
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revisionb6c443c2b20d
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

0016025: Slow login

DescriptionWhen the number of sessions increases, login becomes very slow.

The problem is in the query executed to check failed logins which is only needed in case Log in security option is enabled.
Steps To ReproduceThis has been reported in butler instance where there is ~100000 sessions.

It also depends on the user that is doing login.
Proposed Solution-Don't execute this query if not needed.
-Add an index to ad_session for username column which will improve performance when query is needed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0016024 closedalostale Slow login 

-  Notes
(0034317)
hgbot (developer)
2011-02-22 17:01

Repository: erp/stable/2.50
Changeset: b6c443c2b20d86899cf40efda1fc879f31e1ea48
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Feb 22 17:00:38 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/b6c443c2b20d86899cf40efda1fc879f31e1ea48 [^]

fixed bug 16025: Slow login

---
M src-db/database/model/tables/AD_SESSION.xml
M src/org/openbravo/base/secureApp/UserLock.java
---
(0034437)
marvintm (developer)
2011-02-28 18:14

Tested that with 10000 entries in the ad_session table the login works fine.

- Issue History
Date Modified Username Field Change
2011-02-22 16:59 alostale Type defect => backport
2011-02-22 16:59 alostale fix_in_branch => 2.50
2011-02-22 17:01 hgbot Checkin
2011-02-22 17:01 hgbot Note Added: 0034317
2011-02-22 17:01 hgbot Status scheduled => resolved
2011-02-22 17:01 hgbot Resolution open => fixed
2011-02-22 17:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/b6c443c2b20d86899cf40efda1fc879f31e1ea48 [^]
2011-02-28 18:14 marvintm Note Added: 0034437
2011-02-28 18:14 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker