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

[Q]question about max-creates-per-second #626

Open
superfast1979 opened this issue Aug 29, 2024 · 1 comment
Open

[Q]question about max-creates-per-second #626

superfast1979 opened this issue Aug 29, 2024 · 1 comment
Labels

Comments

@superfast1979
Copy link

I have a question about the max-creates-per-second configuration in whisper section, allowed since release 0.13, as written in changelog:

version 0.13.0
Added whisper.max-creates-per-second option

Installed Packages
Name : go-carbon
Version : 0.17.3
Release : 1
Architecture : x86_64
Size : 26 M
Source : go-carbon-0.17.3-1.src.rpm
Repository : @System
Summary : Golang implementation of Graphite/Carbon server
URL : https://github.com/go-graphite/go-carbon
License : MIT
Description : Golang implementation of Graphite/Carbon server

This is my whisper conf:

[whisper]
data-dir = "/carbon/whisper/"
schemas-file = "/etc/go-carbon/storage-schemas.conf"
aggregation-file = "/etc/go-carbon/storage-aggregation.conf"
quotas-file = ""
workers = 8
max-updates-per-second = 200
max-creates-per-second = 20
sparse-create = false
physical-size-factor = 0.75
flock = false
compressed = false
enabled = true
hash-filenames = true
remove-empty-file = true

If i change the value to 20, or 5, i have no changes in file creation on disk, always 3000 files creation in one minute.
I see lower creation of files only if i change (lowering) the max-updates-per-second value.

Immagine 2024-08-29 163042

Can anyone help me to understand what i miss?

Thanks in advance

@deniszh
Copy link
Member

deniszh commented Oct 11, 2024

As far as I see in config.go "max-creates-per-second" should be in "[carbonserver]" section and not in "[whisper]"

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

No branches or pull requests

2 participants