Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task
kdaviscellect opened this issue Oct 29, 2024 · 2 comments
Closed
1 task

Comments

@kdaviscellect
Copy link

Describe the bug

In an IPC, we are seeing that the CPU usage of the SDK script is causing 100% usage of a particular core. This appears to be a similar issue to what was seen in the device client here: awslabs/aws-iot-device-client#147

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

@kdaviscellect kdaviscellect added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Oct 29, 2024
@bretambrose
Copy link
Contributor

Your repro doesn't use Greengrass IPC. In fact it doesn't use the v2 SDK which is the repo this issue is created on.

It does however include:

while True:
    continue

@bretambrose bretambrose added closing-soon This issue will automatically close in 5 days unless further comments are made. and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Oct 29, 2024
@github-actions github-actions bot added closed-for-staleness and removed closing-soon This issue will automatically close in 5 days unless further comments are made. labels Nov 2, 2024
@github-actions github-actions bot closed this as completed Nov 2, 2024
@JosepTeruel
Copy link

We are currently using the v2 SDK and have chosen not to utilize Greengrass IPC as we don’t require offline communication between IPCs. We are using AWS IoT Core Things

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

Also, we removed the infinite loop.

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

No branches or pull requests

3 participants