-
Notifications
You must be signed in to change notification settings - Fork 107
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
Error: 8 RESOURCE_EXHAUSTED: Bandwidth exhausted #525
Comments
@kirillgroshkov It seems strange to me that this error would have started cropping up more frequently in a specific version of As an experiment, perhaps try the
|
So, I've conducted this experiment with Project we're running it on has a billing account and we're paying for it, so it's not a free quota limit. |
So, native gprc was running in production for 2 days and we see 0 errors from grpc. Neither from our cron jobs. Good for our production service, but it also proves that |
@kirillgroshkov thank you 👍 for the follow up. I've been having a discussion with @murgatroid99 and @alexander-fenster internally. I'm wondering, is there a chance that |
I have quickly checked our StackDriver and see no logs with Also, when I ran the 1M-rows cron job script that originally was crashing after 7 minutes, with native grpc it was not only not crashing, but it wasn't printing any errors or anything at all from grpc. I can try with more debugging enabled (if you tell me which env variables to set) |
This issue is interesting: googleapis/nodejs-firestore#765. Same error, traces back to grpc-js using Node.js HTTP/2, which has an open issue that could address this when fixed. The workaround of using |
@kirillgroshkov, @stephenplusplus, reading the thread on Node.js, @kirillgroshkov if you would be willing to run your workload one additional time with At which point we might be able to update both this thread and grpc/grpc-node#1158, noting that they're pending on an upstream fix in Node.js. |
Yes, running it now. |
So, with Node 12.13.0 it failed after ~10 minutes with the RESOURCE_EXHAUSTED error. With Node 10.16.2 it failed after 53 minutes with this error:
|
We have been getting a combination of these errors recently. I haven't tried rolling back to a previous version, but are currently using Might be useful to add we were using |
I'm getting the same errors trying to delete a million + rows...
also...
I ran into the problem with
I upgraded to
and I still have the issue... Anything else I can add? -- fwiw -- I think the issue is I'm doing a Promise.All(...delete 75 rows)... on all 1.5 million rows. After ~300-400k deletes, everything starts failing. I assume this should not be the case, but I'm not sure. Thanks, Chad |
Experiencing |
Just FYI, it's not related to any quotas by google APIS, it's an issue with node grpc client |
Am having the same issue ... 474 more items
],
code: 8,
details: 'Bandwidth exhausted',
metadata: Metadata { internalRepr: Map(0) {}, options: {} }
} |
@Ikxyz , @lokoArt What versions of this library are you using? There have been a number of (largish) changes to the grpc transport in our node clients since this issue was opened. |
@bcoe Looking back through this it seems the stack is in GAX. But this is also an older issue. I am leaning towards closing this and reopening if it comes up again? |
@bcoe do you think this is something we can improve with better logging out of GAX? As a user it seems the hard bit is this doesn't indicate where it exhausted resources. To unblock as a user, it is likely best to retry with exponential backoff when this happens. |
@kirillgroshkov are you continuing to see this issue on newer versions of the library, it looks like this thread has been quite for a while. I've created a tracking issue to provide better contextual information about what requests are triggering the exception. Also, there's been work to add more contextual information in the errors thrown by gRPC (for some varieties of errors). |
We actually stopped trying after my message in November 2019. Native Do you expect this issue to be solved, or is it just additional debugging information was added? |
Closing and marking as external, as it seems the issue here is around grpc-js and not @google-cloud/datastore. Feel free to reopen or start a new issue if I am mistaken. |
I had same problem for reading all data from firebase, after a while I figured out if we stop this process and run a new process we can pass the error and continue the job. then I used child-process and it helped me:
This is a solution works 100 percent, but it's a little advance and beginners-intermediates may could not able to implement it. |
@navidshad That sounds perfect. Do you have a code example by any chance? |
We get this error often:
Fully described in
grpc
repo: grpc/grpc-node#1158Cross-posting here for visibility.
The text was updated successfully, but these errors were encountered: