[Geoserver-devel] [JIRA] (GEOS-9272) OutOfMemoryError while using shared by NFS GeoWebCache (lot of \u0000 symbols)

Владимир Сухaрев created an issue

GeoServer / BugGEOS-9272

OutOfMemoryError while using shared by NFS GeoWebCache (lot of \u0000 symbols)

Issue Type:

BugBug

Assignee:

Unassigned

Created:

29/Jun/19 2:22 PM

Priority:

MediumMedium

Reporter:

Владимир Сухaрев

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):

type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,local_lock=none)

JAVA_OPTS is

-Xms4g -Xmx4g -XX:+UseParNewGC -server -XX:NewRatio=2 -XX:+AggressiveOpts -XX:SoftRefLRUPolicyMSPerMB=36000 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000

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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100105-sha1:327840d)

Atlassian logo