Lix Li

Results 19 comments of Lix Li

同上,类linux下无法使用,🤣

when series cardinality is too high, compaction will result in out-of-memory and terminate `influxd` progress.

> I don't believe this is safe, nothing stops something else with that pid coming along while this is running. In addition there's nothing stopping this being run concurrently. 1....

#443 this issue has the same problem with me. I used multi process mode a few days and I found the endpoint for scrape latency was becoming more and more...

> We can't make any assumptions about how this code is used, and given it's in a multi-process environment it must avoid any race conditions. > > How would this...

We should point out that this code should only be used in the multiprocess mode

I have added process lock code which is from django.core.files.locks

> What happens if a process exists, sets a gauge, exits, and a new process comes along with the same pid? ```python for s in metric.samples: name, labels, value, timestamp,...

> > Process exit and get the same pid is a low probability event. > > It's a certainty though at scale. Yes,Gauge is really a problem in multi process...