openziti / zrok

Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
https://zrok.io
Apache License 2.0
2.64k stars 103 forks source link

MallocStackLogging: can't turn off malloc stack logging because it was not enabled. #709

Open ludgerey opened 3 months ago

ludgerey commented 3 months ago

CLI gets spammed with MallocStackLogging: can't turn off malloc stack logging because it was not enabled. messages, when using proxy zrok share public http://localhost:8888 on MacOS on longer sharing periods.

Bildschirmfoto 2024-07-25 um 11 53 43

Unfortunately I cannot share I clear path how to reproduce. Sharing still works, but CLI prints this messages. Not sure what they mean. Maybe it's caused by stand by or hibernate state of MacOS.

$ zrok version 
               _
 _____ __ ___ | | __
|_  / '__/ _ \| |/ /
 / /| | | (_) |   <
/___|_|  \___/|_|\_\

0.4.34 [Homebrew]
michaelquigley commented 3 months ago

We'll keep an eye on this. On a quick search, it looks like there are quite a few projects in the wild that are having this issue, and it doesn't really seem like there is a clear-cut answer as to why:

https://github.com/derailed/k9s/issues/2760

Does zrok stop working when those messages start appearing?

ludgerey commented 3 months ago

Sharing still works, but the terminal UI is broken.

michaelquigley commented 3 months ago

Might try running it in --headless mode? Probably won't stop those messages from happening, but might leave you with a better overall experience until we figure it out.