Hi Simone,

I am running Geoserver 2.7.2. The images are mainly old maps in jp2, here
is gdalinfo of one of them:

>>>
gdalinfo /storage/.../d01/00012_00010_300dpi.jp2
Driver: JP2KAK/JPEG-2000 (based on Kakadu v6.4)
Files: /storage/.../d01/00012_00010_300dpi.jp2
/storage/.../d01/00012_00010_300dpi.wld
Size is 2820, 16419
Coordinate System is `'
Origin = (13.273995359042500,51.310171640957499)
Pixel Size = (0.000343281915000,-0.000343281915000)
Metadata: Corder=RPCL
TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm)
TIFFTAG_XRESOLUTION=118.103
TIFFTAG_YRESOLUTION=118.103
Corner Coordinates:
Upper Left ( 13.2739954, 51.3101716)
Lower Left ( 13.2739954, 45.6738259)
Upper Right ( 14.2420504, 51.3101716)
Lower Right ( 14.2420504, 45.6738259)
Center ( 13.7580229, 48.4919988)
Band 1 Block=2048x128 Type=Byte, ColorInterp=Red
Overviews: 1410x8210, 705x4105, 353x2053, 177x1027, 89x514
Image Structure Metadata:
COMPRESSION=JP2000
Band 2 Block=2048x128 Type=Byte, ColorInterp=Green
Overviews: 1410x8210, 705x4105, 353x2053, 177x1027, 89x514
Image Structure Metadata:
COMPRESSION=JP2000
Band 3 Block=2048x128 Type=Byte, ColorInterp=Blue
Overviews: 1410x8210, 705x4105, 353x2053, 177x1027, 89x514
Image Structure Metadata:
COMPRESSION=JP2000
<<<

Ad. -XX:MaxPermSize: Thank you, I will reconfigure this. The -Xmx is set to
2048M.

Ad. layers: It is 50k (was 14k) of old maps, so I might have mistaken term
"layer" for something else, the term "image" might suit it better?
Anyway the Geoserver tells me, that I have 34 Workspaces, 49,721 Stores and
49,660 Layers. If I understand the system correctly, than yes, I need 50k
of layers. I am using geoserver to view those maps in openLayers and via
wms.

Thank you

Jaroslav



On Mon, Oct 26, 2015 at 1:26 PM Simone Giannecchini <
[email protected]> wrote:

> Dear Jaroslav,
> please, find my comments inline below....
>
> Regards,
> Simone Giannecchini
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39  333 8128928
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> On Mon, Oct 26, 2015 at 8:34 AM, Jaroslav Urik <[email protected]>
> wrote:
>
>> Hi,
>> I have been experiencing some very long GeoServer startup times - more
>> than 2 hours.
>>
>> I looked into the logs and found out that geoserver is loading each
>> layer, but at a pace of ~3/sec, which seems very slow, since I have ~14000
>> of these and will have more..
>>
>
>
> This is quite strange.
> Can you give us more info about the GeoServer version as well as the
> output of gdalinfo on a single file?
>
>
>>
>> The rasters are stored on external server accessed via NFS. They are in
>> JPEG2000 format, Geoserver is using Kakadu 6.4 library, has access to
>> 1024MB of RAM (-XX:MaxPermSize=1024m), and the CPU load during startup is
>> ~20%.
>>
>
> One importanto observation, the flag -XX:MaxPermSize has nothing to do
> with the Heap for GeoServer.
> 128M is more than enough for this flag, you might want to make sure to use
> the -Xmx properly.
>
>
>>
>> So, is there any way to speed this up? Maybe to skip some checking of
>> these layers?
>>
>
> Do you really need 14k layers or they are a mosaic, which means 1 layer?
>
>
>
>
>>
>> Thank you
>>
>> Jaroslav Urik
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to