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

Systemd improvements: start after network/fs online and allow more open files #405

Merged
merged 2 commits into from Mar 5, 2021

Conversation

dvanders
Copy link
Contributor

@dvanders dvanders commented Mar 4, 2021

This PR fixes an issue where go-carbon would start before the whisper data dir was mounted, leading to boot issues.
Also network-online.target is the correct thing to be After and Want.
Lastly, allow more open files to enable larger installations OOTB.

Without these go-carbon can start before the network is online
and also before all local fses have been mounted. If /var/lib/carbon
is on a separate disk, this can lead to a failed start because
the go-carbon will start, begin writing to the empty dir, then
the carbon FS will not mount due to it not being empty.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
By default we should allow more open files to allow for large
installations.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
@dvanders
Copy link
Contributor Author

dvanders commented Mar 4, 2021

Not sure those failures are related.

@deniszh
Copy link
Member

deniszh commented Mar 5, 2021

Indeed, looks like unrelated. I'll merge and fix tests later. Thank for your contribution!

@deniszh deniszh merged commit a4126c6 into go-graphite:master Mar 5, 2021
@dvanders dvanders deleted the systemd branch March 5, 2021 09:48
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.

None yet

2 participants