Skip to content

[JENKINS-16244] View.hasPeople too slow to use in sidepanel.jelly #13188

Closed

Description

@jenkins-infra-bot

On large Jenkins installations, rendering view pages can be extremely slow. Thread dumps point to the use of View.hasPeople, which is an arbitrarily expensive call that must not be made from HTTP service.


Originally reported by jglick, imported from: View.hasPeople too slow to use in sidepanel.jelly
  • assignee: jglick
  • status: Resolved
  • priority: Critical
  • component(s): core
  • label(s): 1.480.3-fixed, performance
  • resolution: Fixed
  • resolved: 2013-03-15T15:25:36+00:00
  • votes: 0
  • watchers: 4
  • imported: 2025-11-24
Raw content of original issue

On large Jenkins installations, rendering view pages can be extremely slow. Thread dumps point to the use of View.hasPeople, which is an arbitrarily expensive call that must not be made from HTTP service.

Activity

  1. jenkins-infra-bot commented on Jan 2, 2013

    @jenkins-infra-bot
    Author
    jglick:
    • Original comment link
    • Raw content of original comment:

      Fixing by just unconditionally linking to asynchPeople.

      Unclear if hyperlink construction in this sidepanel is correct in all cases; 5c7184d has discussion.

    Fixing by just unconditionally linking to asynchPeople.

    Unclear if hyperlink construction in this sidepanel is correct in all cases; 5c7184d has discussion.

  2. jenkins-infra-bot commented on Jan 2, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Jesse Glick
    Path:
    changelog.html
    core/src/main/java/hudson/model/View.java
    core/src/main/java/jenkins/model/Jenkins.java
    core/src/main/resources/hudson/model/View/sidepanel.jelly
    http://jenkins-ci.org/commit/jenkins/73aac1073983e1f667d801387571d31857253ffc
    Log:
    [FIXED JENKINS-16244] View.hasPeople too slow to use in sidepanel.jelly.

    Compare: 5eede6e...73aac10

  3. jenkins-infra-bot commented on Jan 3, 2013

    @jenkins-infra-bot
    Author
    dogfood:

    Integrated in jenkins_main_trunk #2169

    Result = SUCCESS

  4. jenkins-infra-bot commented on Jan 25, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original comment:

      Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/View.java core/src/main/java/jenkins/model/Jenkins.java core/src/main/resources/hudson/model/View/sidepanel.jelly http://jenkins-ci.org/commit/jenkins/4998a373c831665814233b2b330392299bdc101b Log: [FIXED JENKINS-16244] View.hasPeople too slow to use in sidepanel.jelly.(cherry picked from commit 73aac1073983e1f667d801387571d31857253ffc)

      Conflicts: changelog.html

    Code changed in jenkins
    User: Jesse Glick
    Path:
    changelog.html
    core/src/main/java/hudson/model/View.java
    core/src/main/java/jenkins/model/Jenkins.java
    core/src/main/resources/hudson/model/View/sidepanel.jelly
    http://jenkins-ci.org/commit/jenkins/4998a373c831665814233b2b330392299bdc101b
    Log:
    [FIXED JENKINS-16244] View.hasPeople too slow to use in sidepanel.jelly.(cherry picked from commit 73aac10)

    Conflicts:
    changelog.html

  5. jenkins-infra-bot commented on Mar 15, 2013

    @jenkins-infra-bot
    Author
    eguess74:
    • Original comment link
    • Raw content of original comment:

      We are running 1.504 and we still have problem with very long load of the main page view at times. If I specify the URL for particular job - it works fine. It also works fine for few days after restart, but then suddenly gets stuck. But the at some point releases and works fast again. We have about 800+ jobs and about 100 users

    We are running 1.504 and we still have problem with very long load of the main page view at times. If I specify the URL for particular job - it works fine. It also works fine for few days after restart, but then suddenly gets stuck. But the at some point releases and works fast again.
    We have about 800+ jobs and about 100 users

  6. jenkins-infra-bot commented on Mar 15, 2013

    @jenkins-infra-bot
    Author
    jglick:
    • Original comment link
    • Raw content of original comment:

      @eguess74 the bug reported here has been fixed. Whatever problem you are encountering is probably unrelated. File it separately and include a thread dump, without which it is impossible to guess at what is going on in your instance.

    @​eguess74 the bug reported here has been fixed. Whatever problem you are encountering is probably unrelated. File it separately and include a thread dump, without which it is impossible to guess at what is going on in your instance.

  7. jenkins-infra-bot commented on Nov 24, 2025

    @jenkins-infra-bot
    Author

    [Original relates_to from Jira: JENKINS-15206]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions