Title: Message Title
|
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.6.2
|
|
Assignee:
|
Andrea Aime
|
|
Attachments:
|
file_leak.xml, fnmoc-wps-file-desc-leak-0.48.0.jar, test_image.tif.gz
|
|
Components:
|
WCS
|
|
Created:
|
27/Feb/15 7:00 PM
|
|
Priority:
|
Minor
|
|
Reporter:
|
Travis Brundage
|
|
|
There is a file descriptor leak which occurs in a failed WCS parameter call through WPS. This is confirmed to affect versions 2.6.2 and below.
Steps to reproduce: 1) Setup geoserver WAR in tomcat (or other container) 2) Install WPS (add WPS jars to WEB-INF/lib) 3) Additionally add the fnmoc-wps-file-desc-leak-0.48.0.jar 4) Launch tomcat 5) Create a workspace called "test" in geoserver 6) Create a new GeoTiff store called "test_image" 7) Upload test_image.tif and make sure it is called "test_image" 8) Use file_leak.xml and run the following command: curl -XPOST -H 'Content-Type:text/xml' -d @file_leak.xml "http://localhost:8080/geoserver/wps" Use whatever is appropriate for your setup. You should get a NullPointerException error. 9) Get the pid of the running tomcat (or other container) process 10) lsof -p [pid of tomcat process] | grep tif
You should see the test_image.tif file still open after the command's failure. This leads to many leaked processes over time. Note that you may need to adjust the permissions of these files in order to upload/use them correctly.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel