Title: Lots of unexpected logging in Python library · Issue #540 · googleapis/python-pubsub · GitHub
Open Graph Title: Lots of unexpected logging in Python library · Issue #540 · googleapis/python-pubsub
X Title: Lots of unexpected logging in Python library · Issue #540 · googleapis/python-pubsub
Description: Summarized from a customer issue: Somehow, something with this google PubSub service is printing out Mutex.cc logs at an enormous scale of 3.5M / 5 minutes. The logs look as follows: Error 2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW:...
Open Graph Description: Summarized from a customer issue: Somehow, something with this google PubSub service is printing out Mutex.cc logs at an enormous scale of 3.5M / 5 minutes. The logs look as follows: Error 2021-11-...
X Description: Summarized from a customer issue: Somehow, something with this google PubSub service is printing out Mutex.cc logs at an enormous scale of 3.5M / 5 minutes. The logs look as follows: Error 2021-11-...
Opengraph URL: https://github.com/googleapis/python-pubsub/issues/540
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lots of unexpected logging in Python library","articleBody":"Summarized from a customer issue:\r\n\r\nSomehow, something with this google PubSub service is printing out Mutex.cc logs at an enormous scale of 3.5M / 5 minutes. The logs look as follows:\r\n\r\n```\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock blocking 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock returning 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Unlock 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock blocking 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock returning 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Unlock 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock blocking 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock returning 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Unlock 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock blocking 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock returning 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Unlock 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock blocking 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock returning 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Unlock 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock blocking 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock returning 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Unlock 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock blocking 0x7f0c66b9cb78 @\r\nError\r\n2021-11-03 15:08:55.861 EDT[mutex.cc : 435] RAW: Lock returning 0x7f0c66b9cb78 @\r\n```\r\n\r\nThe information provided about version:\r\n\r\n1. We are using version 2.3.0 of google-cloud-pubsub\r\n2. The spike in logs was not tied to an upgrade of pubsub or another library, we actually haven't touched the code in months\r\n\r\nThe customer suggested \"I believe the core of the issue is that pubsub is sending messages without a delay and no exponential backoff, thus causing massive spikes in utilization and an over-use of the logging module.\"","author":{"url":"https://github.com/kamalaboulhosn","@type":"Person","name":"kamalaboulhosn"},"datePublished":"2021-11-17T18:47:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":28},"url":"https://github.com/540/python-pubsub/issues/540"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9a01b5b0-0c55-e6cd-3ad7-9db30eb1e846 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB90:391CED:22F885:3083A8:6A4D17BD |
| html-safe-nonce | f9277ec82598227f046fba9135e8c50da9d2a3dbb874bf8cec1ea139db0e3ef9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjkwOjM5MUNFRDoyMkY4ODU6MzA4M0E4OjZBNEQxN0JEIiwidmlzaXRvcl9pZCI6IjY0NjU1MzQ3NTAwMjY5NjI4NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d6edc62b6302ef1c7d41a34e735c0ef01b0eee2359daac4bfe62eb2c2d7b2edf |
| hovercard-subject-tag | issue:1056482453 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-pubsub/540/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9aadb5e0c41b62d3a6e469ce41602a6b17a18536e21fc97309a5de760b548997/googleapis/python-pubsub/issues/540 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9aadb5e0c41b62d3a6e469ce41602a6b17a18536e21fc97309a5de760b548997/googleapis/python-pubsub/issues/540 |
| og:image:alt | Summarized from a customer issue: Somehow, something with this google PubSub service is printing out Mutex.cc logs at an enormous scale of 3.5M / 5 minutes. The logs look as follows: Error 2021-11-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kamalaboulhosn |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992581 |
| octolytics-dimension-repository_nwo | googleapis/python-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992581 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-pubsub |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width