Skip to content

100% CPU Usage On Puma Workers at "idle" in Development. #361

Open
@joshuapinter

Description

@joshuapinter

Hey There,

Enabling skylight in development causes a strange situation where Puma workers remain at about 100% CPU utilization even after the request has been complete.

Without skylight enabled in development and 5 seconds after the web request is complete:

# config.skylight.environments += [ "development" ]

Screenshot 2021-07-06 at 10 46 05

With skylight enabled in development and 5 seconds after the web request is complete:

config.skylight.environments += [ "development" ]

Screenshot 2021-07-06 at 10 48 21

And it stays like this in perpetuity.

The only thing that is being changed is that one line.

We checked in production/staging and are not seeing this CPU issue.

Happy to help diagnose but not sure what the next steps may be. For now, we have to disable it in development as it makes our development machines unusable.

Thanks.

Versions

ruby 2.7.2p137
Rails 5.2.6
skylight 5.1.1
puma 5.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions