question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to flush; exceeding quota

See original GitHub issue

Environment details

  • OS: Linux
  • Node.js version: 10.16
  • npm version: 6.9.0
  • @google-cloud/logging version:^5.1.0

Steps to reproduce

  1. Do async logging
  2. Observe no async callback messages untill app is closed

So if you’re writing a lot of logs, and want to space them out in time to avoid exceeding the quota, it is not clear how to do this. A search for ‘flush’ in the repo returns empty.

ERROR: { Error: Bandwidth exhausted
    at Http2CallStream.call.on (/x/node_modules/@grpc/grpc-js/build/src/client.js:101:45)
    at Http2CallStream.emit (events.js:203:15)
    at process.nextTick (/x/node_modules/@grpc/grpc-js/build/src/call-stream.js:71:22)
    at process._tickCallback (internal/process/next_tick.js:61:11)
  code: 8,
  details: 'Bandwidth exhausted',
  metadata: Metadata { options: undefined, internalRepr: Map {} },
  note:
   'Exception occurred in retry method that was not classified as transient' }

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
alexander-fenstercommented, Apr 3, 2020

@stephenplusplus This gist https://gist.github.com/alexander-fenster/883347a958d529c5b8a5289132b92e45 shows how to override default batching settings.

0reactions
stephenpluspluscommented, Apr 2, 2020

Yeah, that would be great, just to help anyone who stops by. Sorry I missed the other sample.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"[LGS_10024] Log request failed due to the following error ...
This issue occurs, when the server runs out of disk space or the user running the Informatica Services has exceeded the allotted disc...
Read more >
Disk quota exceeded problem - Unix & Linux Stack Exchange
I am using Debian Squeeze. Suddenly I have started facing a problem that my user is not able to make directories ...
Read more >
[Solved] Disk Quota Exceeded |
Disk Quota Exceeded is a very scary and common Linux error in web hosting servers. When this happens you as a website owner...
Read more >
Oracle Database java.io.IOException: Disc quota exceeded | Jira
Based on this article, Oracle - Disc quota exceeded, it seems that you can try to delete files to bring disk usage under...
Read more >
"Disk quota exceeded" when writing to /tmp, but plenty of ...
Try running quota and quota -g (alternatively, you can run repquota -u and repqouta -g ) to see if your user is restricted...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found