Geoserver Version :  2.1

We have tried -Xms1024M -Xmx1024M -XX:PermSize=256M but the behavior is the
same.
Although -Xmx1024M is set,  the memory size is increased more than 1,8G (we
use "ps -e -orss=,args= | sort -b -k1,1n | pr-TW$COLUMNS"  to know how much
memory  every process uses ) . The remainig memory is cached by S.O but we
have clear the cache to allow JVM to use this memory.If we don't clear the
cache, messages like this appear:

"Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack
guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: Attempt to protect stack guard
pages failed.
mmap failed for CEN and END part of zip file"

"Errores : java.io.IOException: No memory left for cache!  at
javax.imageio.stream.MemoryCache.pad(MemoryCache.java:171)"


We have found others errors like :  "java.lang.OutOfMemoryError: GC overhead
limit exceeded" . We have used -XX:-UseGCOverheadLimit to avoid GC working
too much


We have been  testing 256x256 tiles ( stress test during 18 hours , 150
concurrent users, 2.314.321 resquests  ).Total Size memory =1.3G without
OOM.Now,we are working with 850x1064 images and a lot of OOM appear.


Thanks in advance

2011/10/14 DGIS Devels <[email protected]>

> Hi,
>
> We are having lots of problems with the display of SRS reprojected image
> mosaics. Server runs out of memory after near 4000 requests,  trying to
> consume even the swap memory.
>
> *Tomcat's log* file :
> ..
> ..
> mmap failed for CEN and END part of zip file
> Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has
> been disabled.
> Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache
> size using -XX:ReservedCodeCacheSize=
> Java HotSpot(TM) 64-Bit Server VM warning: Attempt to allocate stack guard
> pages failed.
>
> Java HotSpot(TM) 64-Bit Server VM warning: Attempt to allocate stack guard
> pages failed.
> Java HotSpot(TM) 64-Bit Server VM warning: Attempt to allocate stack guard
> pages failed.
> Java HotSpot(TM) 64-Bit Server VM warning: Attempt to allocate stack guard
> pages failed.
> Java HotSpot(TM) 64-Bit Server VM warning: Attempt to allocate stack guard
> pages failed.
> ....
> ...
> ....
>
>
> After this, the JVM crash ...
>
> *Server Data*:
> - Red Hat Enterprise Linux Server release 5.5 (Tikanga) 64 bits
> - tomcat 6.0.20
> - jdk 1.6_27
> - Total Memory: 3,8 GB
> - JVM Geoserver Memory: 2GB ( -Xms2048M -Xmx2048M -XX:PermSize=512M )
>
>
> Any idea? Thanks in advance.
>
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to