Skip to content
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

warn: Maximum active stream limit exceeded #432

Open
marcusboden opened this issue Jun 28, 2024 · 2 comments
Open

warn: Maximum active stream limit exceeded #432

marcusboden opened this issue Jun 28, 2024 · 2 comments

Comments

@marcusboden
Copy link

marcusboden commented Jun 28, 2024

Bug Description

Hi,

we're getting the warning that we exceeded the max active stream limit. This can be configured, but the charm doesn't offer any way of configuring that. Could we either make that configurable or raise it by default?

To Reproduce

Not 100% sure. Maybe we have a larger number of apps here than usual.

Environment

Running on microk8s on a customer environment:

loki                             2.9.5    active      1  loki-k8s                      latest/edge    105

Relevant log output

2024-06-28T07:11:30.436Z [loki] level=warn ts=2024-06-28T07:11:30.378520587Z caller=grpc_logging.go:57 method=/logproto.Pusher/Push duration=489.418µs err="rpc error: code = Code(429) desc = Maximum active stream limit exceeded, reduce the number of active streams (reduce labels or reduce label values), or contact your Loki administrator to see if the limit can be increased, user: 'fake'" msg=gRPC

Additional context

(the user fake was a bit confusing to me, but that's just the default user if no multi-tenancy is used)

@lucabello
Copy link
Contributor

We should add the possibility to configure max_global_streams_per_user (which defaults to 5000) via juju config.

@marcusboden
Copy link
Author

Yeah, that was my thought as well. Or scale it up depending on how many apps/units are sending data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants