Ciao Klaus,
please read below...
On Mon, Oct 13, 2008 at 2:32 PM, 2StepForward <kwegezeder@anonymised.com> wrote:
Hello,
I have read this thread (ImageMosaicReader and FileNotFoundException (Too
many open files))in the geotools forum and I also get this error with
GeoServer 1.6.3 and a using of ImageMosaic.
I have a shape-file which references up to 3000 files. If I take a client
request over a scale which includes more than 1024 files, than GeoServer
crashes with the exception "too many open files".
The path table of the process in /proc/ID/fd shows all the 1024 open pathes
to the image files.
I have read in another thread, that Simone had wrote:
Ciao Stefan,
your analysis is correct, this is indeed an issue that we have to
solve within geotools.
Would you mind opening up a JIRA bug for this problem so that next
week I can work on it?
but I could't find any bug report which discribe the bug fix.
Has anyone a solution for this problem?
You could not find it because you did not open it :-).
The error you are getting is related to the fact that actually the
ImageMosaic plugin right now works only in load-deferred mode, which
means it opens up all the files it need and then it start streaming
one of theam at the time. The quick fix could be allowing the reader
to work in immediate mode.
However, I think you should consider either using a pyramid or using
the MinScale MaxScale param of the SLD to make this layer
appear/disappear at correct scale, since, regardless of whether or not
we change the execution model for the MosaicReader, you would be
opening too many files at the same time and performances will suffer.
Anyway, please, do open a BUG report for this issue.
Cheers,
Simone.
Cheers,
Klaus
--
View this message in context: http://www.nabble.com/ImageMosaicReader-and-FileNotFoundException-(Too-many-open-files)-tp19954017p19954017.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
-------------------------------------------------------
Eng. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.it
http://www.geo-solutions.it/simone.giannecchini
http://www.linkedin.com/in/simonegiannecchini
-------------------------------------------------------