Skip to content

Bound Solr's Jetty request.log retention #288

Description

@gaurav

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 sizesolr.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions