-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Memory leak when keybase status
times out
#55
Comments
Adding
|
@vladionescu thanks for the report, we have a ticket internally to investigate this |
@malware-unicorn fixed the OOM by adding a |
On another note, I suspect the reason https://cloud.google.com/run/docs/logging#container-logs They probably neglected to duplicate those file descriptors. @malware-unicorn doesn't see this https://github.com/malware-unicorn/go-keybase-chat-bot/blob/master/kbchat/kbchat.go#L65 If that's the case, then The fix for this is either
|
@vladionescu #57 should address the memory leak, let's open a new issue for running on google cloud |
Opened #58 for the Cloud Run shenanigans. |
In my GCP Cloud Run logs I have a string of the following
Which finally ends in a
All of them are
Listen: failed to auth: unable to run Keybase command
, which comes fromgo-keybase-chat-bot/kbchat/kbchat.go
Lines 63 to 65 in 1ce2a64
The reason why getUsername() is failing is unclear (and probably unrelated), but it doesn't seem that memory usage should increase as it keeps retrying.
The text was updated successfully, but these errors were encountered: