On 29 Feb 18:13, Nur Kholis Majid wrote:
> Hi,
>
> On Sunday, March 1, 2020 at 7:55:30 AM UTC+7, Julien Pivotto wrote:
> >
> > On 29 Feb 16:40, Nur Kholis Majid wrote:
> > > Hi Julien,
> > >
> > > On Sunday, March 1, 2020 at 6:44:34 AM UTC+7, Julien Pivotto wrote:
> > > >
> > > > On 29 Feb 15:38, Nur Kholis Majid wrote:
> > > > > Hi,
> > > > >
> > > > > I've test prometheus to monitoring node_exporter on 400 instances.
> > With
> > > > > default configuration, in just two months tsdb size reach +- 450GB
> > and
> > > > > memory size +- 135GB. Query become slow and unuseable.
> > > > >
> > > > > [image: photo_2020-03-01_06-33-51.jpg]
> > > > >
> > > > > [image: photo_2020-03-01_06-34-00.jpg]
> >
> > Hi,
> >
> > Can you tell us what is in your data directory? Are compaction
> > happening, etc?
> >
> > e.g. the command
> > tree data
> >
> > or ls -Rl data
> >
> > too long to copy here. please see
https://paste.ee/p/ayBlq
>
> Thanks
You have a lot of failed compations in the past, and a lot of .tmp
directories.
What is strange is that at the end compaction happens.
I have the following next questions to help you:
- What is your prometheus version?
- Can you share the logs of prometheus?
- Are you using the node_exporter textfile_collector?
- Do you have metrics relabel configs?
We have a few bugs out there but none of them explain that the wal is
compacted correctly at the end.
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
prometheus-use...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/97240c8d-3a9d-4bf4-9a14-a91ae0a087d9%40googlegroups.com.