[Geoserver-devel] [JIRA] (GEOS-10611) Uploading application/zip to styles endpoint does not clean up temporary files

Jody Garnett created an issue

GeoServer / BugGEOS-10611

Uploading application/zip to styles endpoint does not clean up temporary files

Issue Type:

BugBug

Affects Versions:

2.21.1

Assignee:

Unassigned

Created:

04/Aug/22 1:52 AM

Environment:

Linux

Priority:

MediumMedium

Reporter:

Jody Garnett

The environmental variable java.io.tmpdir is mapped to a temporary filesystem; which gradually fills up over time with temporary files.

On closer examination the files are of the form:

  • 1658326181341-0/rain.sld
  • 1658326181324-0/detail.sld
  • 1658326181324-0/detail8.png
  • 1658326181324-0/detail44.png

I expect that the {{ /workspaces/

{workspace}

/styles }} endpoint is being used to upload application/zip, extracting the results to the java.io.tmpdir and not marking the individual files for deletion with File.deleteOnExit().

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100204-sha1:2d71352)

Atlassian logo