lsst-camera-visualization / visualization-server

Demo visualization restful server
0 stars 0 forks source link

Too many empty FITS files created in /tmp directory #2

Open weiren2 opened 8 years ago

weiren2 commented 8 years ago

Running visualization-server at Illinois LSST server in background for over an week eventually caused it not able to write any new file.

It turns out that this restful server will continuously create empty files (like empty2057097946663960801.fits) until the file system runs out of inodes. Seems like FakeImageProvider.java is responsible for creating image or throwing out IOException. I suppose it wouldn't be an issue if in the future version it returns some real FITS files.

tony-johnson commented 7 years ago

This is fixed in the ingestBranch code, where the space available in the imageRepo is actively maintained by deleting old files.