Skip to content

Deployment status (and build status, to a smaller degree) dominates in memory usage #5504

@smarterclayton

Description

@smarterclayton

The deployment status message update is showing up in profiles of running systems with a significant amount of in memory use.

profile

----------------------------------------------------------+-------------
                                             994MB   100% |   github.com/openshift/origin/pkg/deploy/controller/deployment.(*podClientImpl).createPod
         0     0% 81.49%   994.51MB 81.53%                | github.com/openshift/origin/pkg/deploy/controller/deploymentconfig.(*DeploymentConfigController).Handle
                                             710MB 71.43% |   strings.Join
                                             284MB 28.57% |   fmt.Sprintf
----------------------------------------------------------+-------------

The status message calculation is probably too aggressive - we look to be trying to update too much status, and not doing it efficiently (calculating a message and then throwing it away for a large percentage of the time).

We need to root cause how expensive this is.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions