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

On Consumer - Error: Too much pending tasks #14704

Closed
1 task
RazYahkovnia opened this issue Apr 4, 2021 · 3 comments
Closed
1 task

On Consumer - Error: Too much pending tasks #14704

RazYahkovnia opened this issue Apr 4, 2021 · 3 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Event Hubs needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@RazYahkovnia
Copy link

  • Package Name: @azure/event-hubs
  • Package Version: 5.3.1
  • Operating system: ubuntu docker
  • nodejs
    • version: 14.15

Describe the bug
Getting "Error: Too much pending tasks" on consumer service.
There seems to be no impact on the consumption of events but still we are getting a lot of this error.

Stack
Error: Too much pending tasks at AsyncLock.acquire (/src/node_modules/async-lock/lib/index.js:160:15) at ManagementClient.<anonymous> (/src/node_modules/@azure/event-hubs/dist/index.js:618:56) at Generator.next (<anonymous>) at /src/node_modules/tslib/tslib.js:114:75 at new Promise (<anonymous>) at Object.__awaiter (/src/node_modules/tslib/tslib.js:110:16)

azure:event-hubs:warning [3783cb9e-658e-424d-8584-4dc094e43863] An error occured within the EventProcessor loop: Error: Too much pending tasks

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 4, 2021
@ramya-rao-a ramya-rao-a added Client This issue points to a problem in the data-plane of the library. Event Hubs labels Apr 5, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 5, 2021
@ghost ghost added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Apr 5, 2021
@chradek
Copy link
Contributor

chradek commented Apr 5, 2021

@RazYahkovnia
So you're still seeing events come in even while encountering this error?

This looks the same as #14606 except in that case I believe we're not seeing any events come in while this is happening.

@RazYahkovnia
Copy link
Author

As I can see we are not losing data, but we are getting a lot of this errors. is there an update on that?

@chradek
Copy link
Contributor

chradek commented Apr 30, 2021

#14844 implements a fix for this issue and has been released as part of @azure/event-hubs version 5.5.1. Please feel free to reach out if you encounter any other issue!

@chradek chradek closed this as completed Apr 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Event Hubs needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants