Did you try to start you java with  -verbose:gc. Afterward look into  
the error log file, each time the garbage collector starts you will  
see an entry.

I assume at 100% cpu usage  your garbage collector will consume the cpu.
Can you verify ?

Quoting Luís de Sousa <[email protected]>:

> Dear all,
>
> I'm still struggling with this issue, after some time up working fine
> after restart, Geoserver simply takes up the CPU at 100% incessantly.
> Since I was getting a few exceptions in the log related to file locks,
> I removed all stores reading shapefiles from the hard drive and
> created new layers reading the data from a PostGIS data base. The
> problem persists, Geoserver simply eats the CPU out of the blue. The
> log does't report anything strange when the stores are loaded at
> startup.
>
> I tried jstack like Andrea suggested but it only returns a bunch of
> exceptions, though I have jdk 1.6.0_18. I don't know what else to try,
> what can I do to prevent Geoserver from taking up the CPU?
>
> Thank you,
>
> Luís
>
> 2011/5/16 Luís de Sousa <[email protected]>:
>> Dear all,
>>
>> I'm struggling with one of those situations where Geoserver hangs up,
>> occupying 100% of CPU and not answering requests. In the log files I'm
>> getting loads of time out exceptions, but nothing special, apart the
>> exception reproduced below. This locked file exception is coming when
>> I shutdown Geoserver.
>>
>> Can this exception be causing Geoserver to hang up? If not, is there a
>> way to avoid Geoserver permanently occupying the CPU at 100%, like
>> tweaking some threshold?
>>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to