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

Add max_server_memory_usage to clickhouse config #404

Conversation

sue445
Copy link
Contributor

@sue445 sue445 commented Jun 8, 2021

I want to use max_server_memory_usage, but it wasn't in the helm setting.

So I added.

!224 のデプロイ後30分くらいは問題なかったのだがそれ以降またOFFSET_OUT_OF_RANGEが発生するようになったので

ref. sentry-kubernetes#1
@@ -40,6 +40,7 @@ data:
<max_session_timeout>{{ .Values.clickhouse.configmap.max_session_timeout | default "3600" }}</max_session_timeout>
<default_session_timeout>{{ .Values.clickhouse.configmap.default_session_timeout | default "60" }}</default_session_timeout>
<disable_internal_dns_cache>{{ .Values.clickhouse.configmap.disable_internal_dns_cache | default "1" }}</disable_internal_dns_cache>
<max_server_memory_usage>{{ .Values.clickhouse.configmap.max_server_memory_usage | default "0" }}</max_server_memory_usage>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make it completely optional by not setting this value at all ?

The default values seems to be 10GB ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mokto I fixed at 04aa903

@sue445 sue445 force-pushed the clickhouse_config_max_server_memory_usage branch from 05fd34f to 04aa903 Compare June 11, 2021 09:21
@Mokto
Copy link
Contributor

Mokto commented Jun 11, 2021

Thanks!

@Mokto Mokto merged commit c50c3e2 into sentry-kubernetes:develop Jun 11, 2021
@sue445 sue445 deleted the clickhouse_config_max_server_memory_usage branch June 11, 2021 09:45
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

Successfully merging this pull request may close these issues.

2 participants