Project

General

Profile

Actions

Bug #4307

closed

Upgrade Geoserver to prevent Metacat crashes

Added by Shaun Walbridge over 15 years ago. Updated almost 14 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
08/12/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4307

Description

The shapefile building routine isn't releasing file handles it uses when building new shapefiles. This is causing processes which rely on multiple simultaneous files (e.g. Kepler workflows) to fail, and causes intermittent failures within Metacat (e.g. the Google results at [1]). Currently, there are 918 open filehandles on KNB, with 891 of them caused by the unclosed shapfiles.

It looks like this issue was resolved in a newer release of Geotools, which Geoserver relies on for generating shapefiles. Assuming this is our problem (as seen in [2] and [3]), then just upgrading to a newer release of Geoserver should solve the issue. It's possible we could even just upgrade the Jars used to Geotools 2.3 or later, but doing a proper upgrade makes sense since many performance improvements with both geotools and geoserver have been made in the past three years.

1. http://www.google.com/search?q=metacat+%22too+many+open+files%22
2. http://jira.codehaus.org/browse/GEOT-1014
3. http://thread.gmane.org/gmane.comp.gis.geoserver.user/8145


Files

tomcat-open-filehandles.txt (137 KB) tomcat-open-filehandles.txt Shaun Walbridge, 08/12/2009 06:49 PM
Actions

Also available in: Atom PDF