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

Maximum active stream limit exceeded when trying to create stream #128

Closed
lucianocallero opened this issue Oct 8, 2024 · 3 comments
Closed

Comments

@lucianocallero
Copy link

I'm having this warning frequently. Maximum active stream limit exceeded when trying to create stream

I tried to increase limits but it does not take effect on this error
limits_config:
max_streams_per_user: 250000
max_global_streams_per_user: 25000
max_query_series: 100000
max_label_value_length: 4096

Is there any way to troubleshoot this error? To increase logs or something else?

@tkowalcz
Copy link
Owner

Hi @lucianocallero. This is an error on Loki side, correct? AFAIK it's related to reporting labels with high cardinality. You probably need to look at your labels and check what are their values. What are you sending? What is the Tjahzi configuration?

@lucianocallero
Copy link
Author

Hi @tkowalcz. Yes its a Loki side error, but i tried to change almost all parameters and it does not change.
i guess that is not that "big", this is an example

{environment="qa_qa", log_level="INFO", message_reported="parameters stored", server="fk-api-tomcat-7999df66f9-7k7qm", service_name="API"}

Is there anyway to know from from Tjahzi to add more info on this error?

@tkowalcz
Copy link
Owner

I don't think that there is any option that would help you. Tjahzi by design does not log stuff (it's a design decision that I might have to revisit someday). In the end Tjahzi knows only about stuff that is happening in the jvm/process/pod it runs in. If you have many services that overwhelm Loki it's best to look at the label values it gets.

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

No branches or pull requests

2 participants