Hi Niklas,

Jody talks about this here

https://sourceforge.net/p/geoserver/mailman/message/37328870/

Now that I think about it I did have a windows situation when GeoServer 
consumed resources, become unresponsive and never came back, possibly following 
a silly SQL query. Installing the Control Flow Module fixed this, at least so 
that the service would reliably stay running after dropping long queries.

Running fine here on Windows Server 2019, AdoptOpenJDK: 11.0.6 (OpenJDK 64-Bit 
Server VM) and Tomcat 8.5. With 2 CPUs and 12 GB RAM.

When I do things in the Web UI the CPU spikes briefly but goes back down. I 
also have your noted steady 2.5 GB RAM usage by Tomcat. I assumed this was fine.

Server Status screenshot in case it helps (note early morning here and not much 
usage presently):

[cid:image005.png@01D7F574.CA3680E0]

Good luck!

________________________________
If you are not the intended recipient of this email, please notify us 
immediately and be aware that any disclosure, copying, distribution or use of 
the contents of this information is prohibited.
From: Niklas Elelid <nik...@swepilot.se>
Sent: Monday, 20 December 2021 5:37 AM
To: geoserver-users <geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] High CPU & memory on Windows

Hi list members!

I started with Geoserver on a Windows 2016 server some time ago. Since I
had problems with high CPU & memory usage I tried a Linux installation
which seemed much better. For various reasons I now went back to Windows
on a more capable server (4 CPU / 8 GB RAM) which I thought would be
able to run Geoserver better than the first installation.

But unfortunately the same issue on Windows again. On startup the
service goes up to approx 70%, idles around 1-2 % CPU but still hogs
about 600MB of RAM. Logging into the web admin brings the CPU up to 50%.
The main issue is that a layer request makes it spike at around 90% and
2.5GB RAM and then it just stays there without me making any more
requests. Now it's game over until after the service is restarted which
by the way is not possible. I have to kill the process and start the
service.

The layer in question is loading an ImageMosaic layer with images on
disk and the time/elevation data in PostgreSQL. A windbarb SLD is
applied to the layer.

Any ideas on where to start troubleshooting this?

Thanks in advance!

Niklas



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/<http://www.ianturton.com/talks/foss4g.html#>
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html<http://geoserver.org/comm/userlist-guidelines.html>

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer<https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer>


Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://lists.sourceforge.net/lists/listinfo/geoserver-users>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to