-
Bug
-
Resolution: Fixed
-
Major
https://groups.google.com/d/msg/jenkinsci-dev/uAxP7zMc1bc/UGdgzJveqWoJ discusses a performance problem with the essential issue
[…I/O, XML…] at hudson.model.User.save(User.java:428) at hudson.model.User.addProperty(User.java:222) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:251) at hudson.model.View$People.getUserInfo(View.java:625) at hudson.model.View$People.<init>(View.java:602) at jenkins.model.Jenkins.getPeople(Jenkins.java:907) […HTTP servicing…]
This was suggested to be a problem in the Git plugin, but recently a similar problem has arisen servicing /view/Main/people/ (loading e.g. http://ci.jenkins-ci.org/people/ can be used as a live example):
[…XML, probably I/O…] at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:113) at hudson.plugins.perforce.PerforceChangeLogParser.parse(PerforceChangeLogParser.java:18) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:820) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:794) at hudson.model.View$People.getUserInfo(View.java:629) at hudson.model.View$People.<init>(View.java:619) at hudson.model.View.getPeople(View.java:594) […Stapler/Jelly processing…]
The common issue is that People.getUserInfo is traversing every build of every job in the system, which on its own can be a heavyweight operation in a large installation, and then triggering changelog.xml parses for each such job (the result is held weakly so will often be missing).
While it can certainly be useful to display build-derived information about people in the system, this should be considered optional information, and must be provided asynchronously if at all so that page load does not block on it and it can be easily canceled (e.g. by moving to another page).
- depends on
-
JENKINS-16342 asynchPeople very slow when using Gravatar & Subversion plugins
- Resolved
-
JENKINS-16397 Loading asynchPeople calls (synch) People constructor
- Resolved
- is duplicated by
-
JENKINS-14997 People page takes forever and times out because of subversion plugin scanning all projects
- Resolved
-
JENKINS-15451 When viewing a user, navigating back to the user list via the left hand menu gets a 404 error
- Resolved
-
JENKINS-13013 User Info runs into a performance problem
- Closed
- is related to
-
JENKINS-16244 View.hasPeople too slow to use in sidepanel.jelly
- Resolved