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

Excessive stat() of /etc/localtime/ #1

Open
lkarsten opened this issue Dec 7, 2016 · 0 comments
Open

Excessive stat() of /etc/localtime/ #1

lkarsten opened this issue Dec 7, 2016 · 0 comments

Comments

@lkarsten
Copy link
Owner

lkarsten commented Dec 7, 2016

root@lima:~# /usr/share/bcc/tools/statsnoop  -p `pidof varnish-influxstat`
PID    COMM               FD ERR PATH

1027   varnish-influxs     0   0 /etc/localtime
1027   varnish-influxs     0   0 /etc/localtime
1027   varnish-influxs     0   0 /etc/localtime
1027   varnish-influxs     0   0 /etc/localtime

Since distributed clocks are per definition never in sync, it may be better to just let influxdb timestamp the samples. That way data from multiple hosts (with diverging clocks) can be compared.

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

1 participant