| Hello. We are using embedded GeoWebCache with shared through NFS GEOWEBCACHE_CACHE_DIR. Sometimes GeoServer caught OutOfMemoryError. There is heap dump https://drive.google.com/file/d/16f3eT2uouY_QR7yosfbwBym89aoBECga/view?usp=sharing . Investigating it shows up ~1Gb char[] with lot of symbols \u0000 trying to write into metadata.properties. Also we found metadata.properties with same symbols inside (example - https://drive.google.com/file/d/1PDLYLdHC74jgDn0gkBlu6yRKs8H1S_nZ/view?usp=sharing) Environment is - GeoServer 2.14.4 on openjdk version "1.8.0_191", RHEL 7. NFS mount options (without IPs):
JAVA_OPTS is
Now we moved GEOWEBCACHE_CACHE_DIR in separate per-instance folders. At least for 24 hours OOM not occures. We can't figure out is this problem of GeoServer itself, GeoWebCache, Java NIO over NFS or something else, but something is definitely abnormal. |