Bound Solr's Jetty request.log retention

Aperta
#288 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
kubernetes

Direzione di ricerca

Read the Solr chart configuration in translator-devops and find the request log retention setting, solr.log.requestlog.retaindays. The issue describes the knob and the reason to consider changing it, but leaves the desired change open: determine whether to lower retention to one day or disable request logging, then confirm the resulting Solr pod configuration.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Size: XS

Solr's log files live in /var/solr/logs, which is not on the Solr PVC (only /var/solr/data is mounted), so they consume pod ephemeral storage.

Most of it is bounded by size:

File Cap
solr.log 32 MB x 10
solr_slow_requests.log 32 MB x 10
solr_gc.log 20 MB x 9 (now routed to stdout instead)

The exception is Jetty's NCSA YYYY_MM_DD.request.log, which is bounded by time, not size — solr.log.requestlog.retaindays defaults to 3 — so it grows with query volume.

The name-lookup chart in translator-devops now sets ephemeral-storage requests/limits for the Solr pod (2Gi/8Gi), sized generously precisely because an ephemeral-storage limit evicts the pod when exceeded. If request logs ever grow enough to pinch, set -Dsolr.log.requestlog.retaindays=1 (or disable the request log) rather than trimming the limit.

Low priority — this is a "know the knob exists" issue, not a current problem.

Lingua principale
Python
Stelle
5
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NCATSTranslator/NameResolution

Tutte le issue di NCATSTranslator/NameResolution

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.