Skip to content

AWS SDK Secure Tunneling causing an individual core to persistently stay at 100% #598

Closed
@JosepTeruel

Description

@JosepTeruel

Describe the bug

As referenced on this issue (#596). We have made some changes to our code to start using the v2 SDK and to eliminate the unnecessary infinite loop. However, we are still experiencing 100% CPU usage on one core.

You mentioned that we might consider using Greengrass, but since we don’t require offline communication between IPCs, we are currently using AWS IoT Core Things.

Are there specific scenarios where Greengrass could provide better advantages? Our primary focus is ensuring secure tunneling within our IPC setup.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

CPU usage is very low

Current Behavior

CPU usage is at 100%

Reproduction Steps

We run the attached script as a service within the IPC which is based on AWS documentation.

secure_tunneling.txt

Possible Solution

No response

Additional Information/Context

No response

SDK version used

1.5.4

Environment details (OS name and version, etc.)

Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.closed-for-stalenessp3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 2 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions