Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi There, Our. Self-Hosted Server Is Periodically Very Slow To React In The Web Ui. We'Ve Been Debugging For Quite Some Time, And It Would Seem That Elastisearch Might Be The Culprit. Looking At The Elastisearch Index, We Have An Index Of Around 80G Of Tr

Hi there,
Our. self-hosted server is periodically very slow to react in the web UI. We've been debugging for quite some time, and it would seem that elastisearch might be the culprit. Looking at the elastisearch index, we have an index of around 80G of training scalars. Now, I have no idea wether that is OK or not, but I guess that is a rather large index to move around in. We are using the cleanup script from the examples folder, but the large index suggest that we may not have actually deleted old scalars.

Any thoughts? Maybe @<1523701070390366208:profile|CostlyOstrich36> ?
image

  
  
Posted 4 days ago
Votes Newest

Answers 15


What you want is to have a service script that cleans up archived tasks, here is what we used: None

  
  
Posted 20 hours ago

has 8 cores, so nothing fancy even

  
  
Posted 20 hours ago

Hi @<1523701601770934272:profile|GiganticMole91> , As long as experiments are deleted then their associated scalars are deleted as well.

I'd check the ES container for logs. Additionally, you can always beef up the machine with more RAM to give elastic more to work with.

  
  
Posted 3 days ago

Hi @<1523701070390366208:profile|CostlyOstrich36>
Is 87G a lot for an index? Enough that you would consider adding more RAM?

And also, how can I check that we are not storing scalars for deleted tasks? ClearML used to write a lot of errors in the cleanup script, although that seems to have been fixed in recent updates

  
  
Posted 2 days ago

Hi @<1523701601770934272:profile|GiganticMole91> , each scalar document in ES has a "task" field that is a task ID. The below query will show you the first 10 documents for the task ID:

curl -XGET "localhost:9200/<the scalar index name>/_search?q=task:<task ID>&pretty"
  
  
Posted 22 hours ago

@<1722061389024989184:profile|ResponsiveKoala38> cool, thanks! I guess it will then be straightforward to script then.

What is your gut feeling regarding the size of the index? Is 87G a lot for an elastisearch index?

  
  
Posted 20 hours ago

@<1523701601770934272:profile|GiganticMole91> Thats rookie numbers. We are at 228 GB for elastic now

  
  
Posted 20 hours ago

@<1590514584836378624:profile|AmiableSeaturtle81> that’s the service we are using :-)

How much RAM have you assigned to your elastic service?

  
  
Posted 20 hours ago

7 out of 30 GB is currently used and is quite stable

  
  
Posted 20 hours ago

Any tips on how to check if we are storing data on deleted tasks? Maybe @<1722061389024989184:profile|ResponsiveKoala38> knows? Is there a field on each scalar that I can cross check with ClearML?

  
  
Posted 22 hours ago

@<1590514584836378624:profile|AmiableSeaturtle81> this was last time i tried: https://clearml.slack.com/archives/CTK20V944/p1725534932820309

  
  
Posted 19 hours ago

Yes, I tried updating recently, it costed me a full days work of rolling back versions until I found something that worked 😅

  
  
Posted 19 hours ago

WebApp: 1.16.0-494 • Server: 1.16.0-494 • API: 2.30
But be careful, upgrading is extremely dangerous

  
  
Posted 20 hours ago

Which version of the server are you running?

  
  
Posted 20 hours ago

Can confirm that for me usually increasing RAM solves the problem. ES is sometimes very aggressive.

  
  
Posted one day ago
27 Views
15 Answers
4 days ago
8 hours ago
Tags