Re: [Geoserver-users] Quick tip: geoserver startup in 13s instead of 6min

2017-01-27 Thread Chris Snider
I found this page has a good explanation, but you have to scroll past the initial image. It almost put me off the page, but I found the information good: https://calomel.org/entropy_random_number_generators.html Some additional sources I used:

Re: [Geoserver-users] Quick tip: geoserver startup in 13s instead of 6min

2017-01-27 Thread Ben Caradoc-Davies
Jody, tl;dr: the pool used to create the random numbers has the entropy. Linux maintains a pool of entropy from nondeterministic sources such as device timings, interrupts, mouse and keyboard activity, and so on. The entropy pool is then used to seed a pseudo-random number generator. The

Re: [Geoserver-users] Quick tip: geoserver startup in 13s instead of 6min

2017-01-27 Thread Jody Garnett
What is random number entropy? -- Jody Garnett On 27 January 2017 at 05:15, Daniel Araujo Miranda wrote: > Hello everyone, > > TLDR: Change the line "securerandom.source=file:/dev/random" in > "/etc/java-8-openjdk/security/java.security" to point to /dev/urandom >

Re: [Geoserver-users] Raster seed producing black and white tiles

2017-01-27 Thread Ian Turton
what happens if you rebuild the overviews gdaladdo -clean file.tif gdaladdo file.tif 2 4 8 16 32 64 Ian On 27 January 2017 at 15:21, Chris Buckmaster < chris.buckmas...@runnymede.gov.uk> wrote: > Hi Ian > > > > Thanks for the reply, sorry I should have specified these are aerial > rasters

Re: [Geoserver-users] Quick tip: geoserver startup in 13s instead of 6min

2017-01-27 Thread Chris Snider
Hi, I had a similar issue on an old CentOS 5.x box. The tomcat instance running our GeoServer was taking a long time to start. I found this page that has a Linux service that can be installed to generate entropy.

Re: [Geoserver-users] Raster seed producing black and white tiles

2017-01-27 Thread Chris Buckmaster
Hi Ian Thanks for the reply, sorry I should have specified these are aerial rasters and not part of any OS product. The same issue seems to apply in QGIS when bringing in the layer as a WMTS (first two levels displayed as black and white, then the rest are displayed correctly as colour).

Re: [Geoserver-users] Raster seed producing black and white tiles

2017-01-27 Thread Ian Turton
Some of the OS raster data sets have broken overviews when shipped so it's worth checking the tiles out in QGis (or other GIS) and maybe rebuilding the overviews before adding them to GeoServer. Ian On 27 January 2017 at 14:08, Chris Buckmaster < chris.buckmas...@runnymede.gov.uk> wrote: > Hi >

[Geoserver-users] Raster seed producing black and white tiles

2017-01-27 Thread Chris Buckmaster
Hi I have an ImageMosaic layer of around 100 GeoTIFF files that I have seeded in Geoserver using a British National Grid gridset which contains 8 zoom levels. Each GeoTIFF is a colour raster but for some reason on the two most zoomed out levels, it has seeded them as black and white, with the

[Geoserver-users] Quick tip: geoserver startup in 13s instead of 6min

2017-01-27 Thread Daniel Araujo Miranda
Hello everyone, TLDR: Change the line "securerandom.source=file:/dev/random" in "/etc/java-8-openjdk/security/java.security" to point to /dev/urandom instead to start a clean geoserver install in 13 seconds instead of 6 minutes. Be mindful of security implications. I have been