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

Unable to load previous metrics #51

Open
akash-rp opened this issue Mar 19, 2022 · 2 comments
Open

Unable to load previous metrics #51

akash-rp opened this issue Mar 19, 2022 · 2 comments

Comments

@akash-rp
Copy link

Hi,
I am getting follwing error while loading data from disk.
failed to open disk partition for /usr/Hosting/metrics/p-1646741592161-1646741652162: failed to perform mmap: cannot allocate memory
Metrics pointer is nil.
my code

metrics, err = tstorage.NewStorage(
			tstorage.WithTimestampPrecision(tstorage.Milliseconds),
			tstorage.WithDataPath("/usr/Hosting/metrics"),
			tstorage.WithWALBufferedSize(0),
		)
		if err != nil {
			log.Print(err.Error())
		}
@nakabonne
Copy link
Owner

@akash-rp Hi, thanks for your report. Sorry but I'm a little bit busy now so I will be back as soon as possible.

@akash-rp
Copy link
Author

Any updates?

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